mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-10-01 01:35:42 -04:00
update to monero-javascript 0.5.6 for TaskLooper util & jest worker fix
This commit is contained in:
parent
a268b26784
commit
43edb4d3fa
14
package-lock.json
generated
14
package-lock.json
generated
@ -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",
|
||||
|
@ -43,6 +43,6 @@
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"monero-javascript": "^0.5.5"
|
||||
"monero-javascript": "^0.5.6"
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user