@psf/bch-js 6.5.4 → 6.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@psf/bch-js",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.6",
|
|
4
4
|
"description": "A JavaScript library for working with Bitcoin Cash, eCash, and SLP Tokens",
|
|
5
5
|
"author": "Chris Troutner <chris.troutner@gmail.com>",
|
|
6
6
|
"contributors": [
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@chris.troutner/bip32-utils": "1.0.5",
|
|
41
41
|
"@psf/bip21": "2.0.1",
|
|
42
42
|
"@psf/bitcoincash-ops": "2.0.0",
|
|
43
|
-
"@psf/bitcoincashjs-lib": "4.0.
|
|
43
|
+
"@psf/bitcoincashjs-lib": "4.0.3",
|
|
44
44
|
"@psf/coininfo": "4.0.0",
|
|
45
45
|
"axios": "0.26.1",
|
|
46
46
|
"bc-bip68": "1.0.5",
|
|
@@ -126,7 +126,7 @@ describe('#UTXO', () => {
|
|
|
126
126
|
describe('#isValid', () => {
|
|
127
127
|
it('should return true for valid UTXO with fullnode properties', async () => {
|
|
128
128
|
const utxo = {
|
|
129
|
-
txid: '
|
|
129
|
+
txid: '260d4fb4006a330660c805327c840d569d7547b7e3e9659fb423b3a041c2e254',
|
|
130
130
|
vout: 0
|
|
131
131
|
}
|
|
132
132
|
|
|
@@ -138,7 +138,7 @@ describe('#UTXO', () => {
|
|
|
138
138
|
|
|
139
139
|
it('should return true for valid UTXO with fulcrum properties', async () => {
|
|
140
140
|
const utxo = {
|
|
141
|
-
tx_hash: '
|
|
141
|
+
tx_hash: '260d4fb4006a330660c805327c840d569d7547b7e3e9659fb423b3a041c2e254',
|
|
142
142
|
tx_pos: 0
|
|
143
143
|
}
|
|
144
144
|
|
|
@@ -173,7 +173,7 @@ describe('#UTXO', () => {
|
|
|
173
173
|
})
|
|
174
174
|
|
|
175
175
|
it('should process output of Utxo.get()', async () => {
|
|
176
|
-
const utxo = await bchjs.Utxo.get('bitcoincash:
|
|
176
|
+
const utxo = await bchjs.Utxo.get('bitcoincash:qqgahqa5zkknmhmvsc98jndpwn3r77gqgc02x03jce')
|
|
177
177
|
// console.log(`utxo: ${JSON.stringify(utxo, null, 2)}`)
|
|
178
178
|
|
|
179
179
|
const result = await bchjs.Utxo.isValid(utxo.bchUtxos[0])
|