update to monero-javascript 0.5.6 for TaskLooper util & jest worker fix

This commit is contained in:
woodser 2021-09-20 17:45:21 -04:00
parent a268b26784
commit 43edb4d3fa
3 changed files with 8 additions and 11 deletions

14
package-lock.json generated
View File

@ -24,7 +24,7 @@
"web-vitals": "^1.1.1"
},
"devDependencies": {
"monero-javascript": "^0.5.5"
"monero-javascript": "^0.5.6"
}
},
"node_modules/@babel/code-frame": {
@ -13186,9 +13186,9 @@
}
},
"node_modules/monero-javascript": {
"version": "0.5.5",
"resolved": "https://registry.npmjs.org/monero-javascript/-/monero-javascript-0.5.5.tgz",
"integrity": "sha512-Fpm0kNxEwvQkHh46l4DEOQk/225og2ujQadeIFqQ1pk9DguIwL2wvLs2xiAgbA3lN+9hEWBdjl1N+UktEIE3Ag==",
"version": "0.5.6",
"resolved": "https://registry.npmjs.org/monero-javascript/-/monero-javascript-0.5.6.tgz",
"integrity": "sha512-Hv4C8U+2yt72ZorKRH8JAirV/yM52V153QcYhb0aQsS+UF9fNfE5o/D4BIHYL4lHkxBtyaOCTiJfW58R2c+SHA==",
"dev": true,
"dependencies": {
"ajv": "^6.12.6",
@ -31762,9 +31762,9 @@
}
},
"monero-javascript": {
"version": "0.5.5",
"resolved": "https://registry.npmjs.org/monero-javascript/-/monero-javascript-0.5.5.tgz",
"integrity": "sha512-Fpm0kNxEwvQkHh46l4DEOQk/225og2ujQadeIFqQ1pk9DguIwL2wvLs2xiAgbA3lN+9hEWBdjl1N+UktEIE3Ag==",
"version": "0.5.6",
"resolved": "https://registry.npmjs.org/monero-javascript/-/monero-javascript-0.5.6.tgz",
"integrity": "sha512-Hv4C8U+2yt72ZorKRH8JAirV/yM52V153QcYhb0aQsS+UF9fNfE5o/D4BIHYL4lHkxBtyaOCTiJfW58R2c+SHA==",
"dev": true,
"requires": {
"ajv": "^6.12.6",

View File

@ -43,6 +43,6 @@
]
},
"devDependencies": {
"monero-javascript": "^0.5.5"
"monero-javascript": "^0.5.6"
}
}

View File

@ -45,9 +45,6 @@ const MAX_TIME_PEER_NOTICE = 3000;
beforeAll(async () => {
// TODO (woodser): remove this when update to monero-javascript-v0.5.6 which correctly detects node environment
await monerojs.LibraryUtils.setWorkerDistPath("./node_modules/monero-javascript/src/main/js/common/MoneroWebWorker.js");
// initialize clients of wallet and daemon rpc
aliceWallet = await monerojs.connectToWalletRpc(aliceWalletUrl, aliceWalletUsername, aliceWalletPassword);
fundingWallet = await monerojs.connectToWalletRpc(fundingWalletUrl, fundingWalletUsername, fundingWalletPassword);