chore: 📝 Update documentation for async constructor

main
Keith Irwin 2024-04-22 11:40:55 -06:00
parent afc930e3a4
commit a51260a455
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
2 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

@ -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": {