chore: 📝 Update documentation for async constructor
parent
afc930e3a4
commit
a51260a455
|
@ -7,7 +7,7 @@ import Wallet from 'monero-wallet-rpc-js'
|
|||
|
||||
// Load wallet
|
||||
let loadedWallet; try {
|
||||
loadedWallet = new Wallet({
|
||||
loadedWallet = await new Wallet({
|
||||
url: 'http://localhost:18082',
|
||||
filename: 'mywallet',
|
||||
password: 'secretpassword',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "monero-wallet-rpc-js",
|
||||
"type": "commonjs",
|
||||
"version": "1.2.10",
|
||||
"version": "1.2.11",
|
||||
"description": "Javascript wrapper for monero-wallet-rpc calls",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue