mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-01-11 15:29:49 -05:00
update to monero-javascript v0.8.0
This commit is contained in:
parent
fc58ad9318
commit
ad8ac4091b
14
package-lock.json
generated
14
package-lock.json
generated
@ -28,7 +28,7 @@
|
|||||||
"eslint-plugin-import": "^2.27.5",
|
"eslint-plugin-import": "^2.27.5",
|
||||||
"eslint-plugin-jsx-a11y": "^6.7.1",
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
||||||
"jest": "^26.6.0",
|
"jest": "^26.6.0",
|
||||||
"monero-javascript": "^0.7.10",
|
"monero-javascript": "^0.8.0",
|
||||||
"typedoc": "^0.23.26",
|
"typedoc": "^0.23.26",
|
||||||
"typedoc-plugin-missing-exports": "^1.0.0",
|
"typedoc-plugin-missing-exports": "^1.0.0",
|
||||||
"typedoc-plugin-rename-defaults": "^0.6.4",
|
"typedoc-plugin-rename-defaults": "^0.6.4",
|
||||||
@ -11711,9 +11711,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/monero-javascript": {
|
"node_modules/monero-javascript": {
|
||||||
"version": "0.7.10",
|
"version": "0.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/monero-javascript/-/monero-javascript-0.7.10.tgz",
|
"resolved": "https://registry.npmjs.org/monero-javascript/-/monero-javascript-0.8.0.tgz",
|
||||||
"integrity": "sha512-A8BjurV/+wfe+bmqF+Tv4+Kir0D6qTSwhbGjMRxPq3a6a/7lmBud6ocFtvGdGmqVw5wWSX7bcZmccUrBhbdDGQ==",
|
"integrity": "sha512-szn5M09eELER8OH+ZyyeDUwd/3pap0tah5n2pc3HsH0Ry1Jbbm3l8WM2gk4bpMjATejfC1mrPNY1LM3T1rDugQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ajv": "^6.12.6",
|
"ajv": "^6.12.6",
|
||||||
@ -23877,9 +23877,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"monero-javascript": {
|
"monero-javascript": {
|
||||||
"version": "0.7.10",
|
"version": "0.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/monero-javascript/-/monero-javascript-0.7.10.tgz",
|
"resolved": "https://registry.npmjs.org/monero-javascript/-/monero-javascript-0.8.0.tgz",
|
||||||
"integrity": "sha512-A8BjurV/+wfe+bmqF+Tv4+Kir0D6qTSwhbGjMRxPq3a6a/7lmBud6ocFtvGdGmqVw5wWSX7bcZmccUrBhbdDGQ==",
|
"integrity": "sha512-szn5M09eELER8OH+ZyyeDUwd/3pap0tah5n2pc3HsH0Ry1Jbbm3l8WM2gk4bpMjATejfC1mrPNY1LM3T1rDugQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"ajv": "^6.12.6",
|
"ajv": "^6.12.6",
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
"eslint-plugin-import": "^2.27.5",
|
"eslint-plugin-import": "^2.27.5",
|
||||||
"eslint-plugin-jsx-a11y": "^6.7.1",
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
||||||
"jest": "^26.6.0",
|
"jest": "^26.6.0",
|
||||||
"monero-javascript": "^0.7.10",
|
"monero-javascript": "^0.8.0",
|
||||||
"typedoc": "^0.23.26",
|
"typedoc": "^0.23.26",
|
||||||
"typedoc-plugin-missing-exports": "^1.0.0",
|
"typedoc-plugin-missing-exports": "^1.0.0",
|
||||||
"typedoc-plugin-rename-defaults": "^0.6.4",
|
"typedoc-plugin-rename-defaults": "^0.6.4",
|
||||||
|
@ -76,7 +76,7 @@ const TestConfig = {
|
|||||||
walletPassword: "abc123",
|
walletPassword: "abc123",
|
||||||
defaultPath: "funding_wallet-" + getBaseCurrencyNetwork(),
|
defaultPath: "funding_wallet-" + getBaseCurrencyNetwork(),
|
||||||
minimumFunding: BigInt("5000000000000"),
|
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",
|
primaryAddress: "9xSyMy1r9h3BVjMrF3CTqQCQy36yCfkpn7uVfMyTUbez3hhumqBUqGUNNALjcd7f1HJBRdeH82bCC3veFHW7z3xm28gug4d",
|
||||||
restoreHeight: 150
|
restoreHeight: 150
|
||||||
},
|
},
|
||||||
@ -315,7 +315,7 @@ beforeAll(async () => {
|
|||||||
HavenoUtils.log(0, "Funding wallet unlocked balance: " + await fundingWallet.getUnlockedBalance());
|
HavenoUtils.log(0, "Funding wallet unlocked balance: " + await fundingWallet.getUnlockedBalance());
|
||||||
const subaddress = await fundingWallet.createSubaddress(0);
|
const subaddress = await fundingWallet.createSubaddress(0);
|
||||||
HavenoUtils.log(0, "Funding wallet height: " + await fundingWallet.getHeight());
|
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 primary address: " + await fundingWallet.getPrimaryAddress());
|
||||||
HavenoUtils.log(0, "Funding wallet new subaddress: " + subaddress.getAddress());
|
HavenoUtils.log(0, "Funding wallet new subaddress: " + subaddress.getAddress());
|
||||||
|
|
||||||
@ -2911,7 +2911,7 @@ async function initFundingWallet() {
|
|||||||
await fundingWallet.createWallet({
|
await fundingWallet.createWallet({
|
||||||
path: TestConfig.fundingWallet.defaultPath,
|
path: TestConfig.fundingWallet.defaultPath,
|
||||||
password: TestConfig.fundingWallet.walletPassword,
|
password: TestConfig.fundingWallet.walletPassword,
|
||||||
mnemonic: TestConfig.fundingWallet.mnemonic,
|
seed: TestConfig.fundingWallet.seed,
|
||||||
restoreHeight: TestConfig.fundingWallet.restoreHeight
|
restoreHeight: TestConfig.fundingWallet.restoreHeight
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user