diff --git a/package-lock.json b/package-lock.json index cb63e30..0987c6b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "2.0.0", "license": "MIT", "dependencies": { - "@psf/bch-js": "6.7.1", + "@psf/bch-js": "6.7.3", "axios": "0.27.2", "bcryptjs": "2.4.3", "glob": "7.1.6", @@ -1445,9 +1445,9 @@ "license": "BSD-3-Clause" }, "node_modules/@psf/bch-js": { - "version": "6.7.1", - "resolved": "http://94.130.170.209:4873/@psf%2fbch-js/-/bch-js-6.7.1.tgz", - "integrity": "sha512-B7qGxgXQ3CtIWyGpBOUIMylBe7Y3fAZl10kDgbYIiNeHw/W5q7nhczl5it1FtqigcwekOnETMMhjZdabZ/A+pw==", + "version": "6.7.3", + "resolved": "http://94.130.170.209:4873/@psf%2fbch-js/-/bch-js-6.7.3.tgz", + "integrity": "sha512-z6oJvPAXxSObPhqUAxCkCuPL2bp3Bs1oyhBZpQ5SR6cbJzcOMhuI4bHho2srH5agSCU+bbjehBMRGvo18eGW0A==", "license": "MIT", "dependencies": { "@chris.troutner/bip32-utils": "1.0.5", @@ -20970,9 +20970,9 @@ "version": "1.1.0" }, "@psf/bch-js": { - "version": "6.7.1", - "resolved": "http://94.130.170.209:4873/@psf%2fbch-js/-/bch-js-6.7.1.tgz", - "integrity": "sha512-B7qGxgXQ3CtIWyGpBOUIMylBe7Y3fAZl10kDgbYIiNeHw/W5q7nhczl5it1FtqigcwekOnETMMhjZdabZ/A+pw==", + "version": "6.7.3", + "resolved": "http://94.130.170.209:4873/@psf%2fbch-js/-/bch-js-6.7.3.tgz", + "integrity": "sha512-z6oJvPAXxSObPhqUAxCkCuPL2bp3Bs1oyhBZpQ5SR6cbJzcOMhuI4bHho2srH5agSCU+bbjehBMRGvo18eGW0A==", "requires": { "@chris.troutner/bip32-utils": "1.0.5", "@psf/bip21": "2.0.1", diff --git a/package.json b/package.json index 75cba0c..e651985 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ }, "repository": "Permissionless-Software-Foundation/ipfs-bch-wallet-service", "dependencies": { - "@psf/bch-js": "6.7.1", + "@psf/bch-js": "6.7.3", "axios": "0.27.2", "bcryptjs": "2.4.3", "glob": "7.1.6", diff --git a/test/integration/controllers/json-rpc/bch.integration.js b/test/integration/controllers/json-rpc/bch.integration.js index ed7b4e1..915d52e 100644 --- a/test/integration/controllers/json-rpc/bch.integration.js +++ b/test/integration/controllers/json-rpc/bch.integration.js @@ -27,7 +27,7 @@ describe('#BCH', () => { payload: { params: { utxo: { - txid: 'b94e1ff82eb5781f98296f0af2488ff06202f12ee92b0175963b8dba688d1b40', + txid: 'a2059b1321e96a90a386894a68fa5829756118895b3cdb9a0393d94fd2ceed93', vout: 0 } } @@ -45,7 +45,7 @@ describe('#BCH', () => { payload: { params: { utxo: { - tx_hash: 'b94e1ff82eb5781f98296f0af2488ff06202f12ee92b0175963b8dba688d1b40', + tx_hash: 'a2059b1321e96a90a386894a68fa5829756118895b3cdb9a0393d94fd2ceed93', tx_pos: 0 } } @@ -100,13 +100,13 @@ describe('#BCH', () => { const rpcData = { payload: { params: { - tokenId: 'c85042ab08a2099f27de880a30f9a42874202751d834c42717a20801a00aab0d' + tokenId: '5f31905f335fa932879c5aabfd1c14ac748f6696148bd300f845ea5016ad573e' } } } const result = await uut.getTokenData(rpcData) - // console.log('result: ', result) + console.log('result: ', result) // assert.equal(result.isValid, true) assert.property(result.tokenData, 'immutableData')