update to monero-javascript v0.8.0

This commit is contained in:
woodser 2023-07-25 09:14:04 -04:00
parent fc58ad9318
commit ad8ac4091b
3 changed files with 11 additions and 11 deletions

14
package-lock.json generated
View File

@ -28,7 +28,7 @@
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"jest": "^26.6.0",
"monero-javascript": "^0.7.10",
"monero-javascript": "^0.8.0",
"typedoc": "^0.23.26",
"typedoc-plugin-missing-exports": "^1.0.0",
"typedoc-plugin-rename-defaults": "^0.6.4",
@ -11711,9 +11711,9 @@
}
},
"node_modules/monero-javascript": {
"version": "0.7.10",
"resolved": "https://registry.npmjs.org/monero-javascript/-/monero-javascript-0.7.10.tgz",
"integrity": "sha512-A8BjurV/+wfe+bmqF+Tv4+Kir0D6qTSwhbGjMRxPq3a6a/7lmBud6ocFtvGdGmqVw5wWSX7bcZmccUrBhbdDGQ==",
"version": "0.8.0",
"resolved": "https://registry.npmjs.org/monero-javascript/-/monero-javascript-0.8.0.tgz",
"integrity": "sha512-szn5M09eELER8OH+ZyyeDUwd/3pap0tah5n2pc3HsH0Ry1Jbbm3l8WM2gk4bpMjATejfC1mrPNY1LM3T1rDugQ==",
"dev": true,
"dependencies": {
"ajv": "^6.12.6",
@ -23877,9 +23877,9 @@
}
},
"monero-javascript": {
"version": "0.7.10",
"resolved": "https://registry.npmjs.org/monero-javascript/-/monero-javascript-0.7.10.tgz",
"integrity": "sha512-A8BjurV/+wfe+bmqF+Tv4+Kir0D6qTSwhbGjMRxPq3a6a/7lmBud6ocFtvGdGmqVw5wWSX7bcZmccUrBhbdDGQ==",
"version": "0.8.0",
"resolved": "https://registry.npmjs.org/monero-javascript/-/monero-javascript-0.8.0.tgz",
"integrity": "sha512-szn5M09eELER8OH+ZyyeDUwd/3pap0tah5n2pc3HsH0Ry1Jbbm3l8WM2gk4bpMjATejfC1mrPNY1LM3T1rDugQ==",
"dev": true,
"requires": {
"ajv": "^6.12.6",

View File

@ -47,7 +47,7 @@
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"jest": "^26.6.0",
"monero-javascript": "^0.7.10",
"monero-javascript": "^0.8.0",
"typedoc": "^0.23.26",
"typedoc-plugin-missing-exports": "^1.0.0",
"typedoc-plugin-rename-defaults": "^0.6.4",

View File

@ -76,7 +76,7 @@ const TestConfig = {
walletPassword: "abc123",
defaultPath: "funding_wallet-" + getBaseCurrencyNetwork(),
minimumFunding: BigInt("5000000000000"),
mnemonic: "origin hickory pavements tudor sizes hornet tether segments sack technical elbow unsafe legion nitrogen adapt yearbook idols fuzzy pitched goes tusks elbow erase fossil erase",
seed: "origin hickory pavements tudor sizes hornet tether segments sack technical elbow unsafe legion nitrogen adapt yearbook idols fuzzy pitched goes tusks elbow erase fossil erase",
primaryAddress: "9xSyMy1r9h3BVjMrF3CTqQCQy36yCfkpn7uVfMyTUbez3hhumqBUqGUNNALjcd7f1HJBRdeH82bCC3veFHW7z3xm28gug4d",
restoreHeight: 150
},
@ -315,7 +315,7 @@ beforeAll(async () => {
HavenoUtils.log(0, "Funding wallet unlocked balance: " + await fundingWallet.getUnlockedBalance());
const subaddress = await fundingWallet.createSubaddress(0);
HavenoUtils.log(0, "Funding wallet height: " + await fundingWallet.getHeight());
HavenoUtils.log(0, "Funding wallet mnemonic: " + await fundingWallet.getMnemonic());
HavenoUtils.log(0, "Funding wallet seed: " + await fundingWallet.getSeed());
HavenoUtils.log(0, "Funding wallet primary address: " + await fundingWallet.getPrimaryAddress());
HavenoUtils.log(0, "Funding wallet new subaddress: " + subaddress.getAddress());
@ -2911,7 +2911,7 @@ async function initFundingWallet() {
await fundingWallet.createWallet({
path: TestConfig.fundingWallet.defaultPath,
password: TestConfig.fundingWallet.walletPassword,
mnemonic: TestConfig.fundingWallet.mnemonic,
seed: TestConfig.fundingWallet.seed,
restoreHeight: TestConfig.fundingWallet.restoreHeight
});
} else {