Skip to content

Commit af6b42f

Browse files
OttoAllmendingerllm-git
andcommitted
feat(abstract-utxo): bump wasm-utxo to 1.32.0
Update wasm-utxo version to 1.32.0 across multiple modules and fix transaction extraction call to use toBytes() method. Issue: BTC-2866 Co-authored-by: llm-git <llm-git@ttll.de>
1 parent 82e8bf9 commit af6b42f

8 files changed

Lines changed: 11 additions & 11 deletions

File tree

modules/abstract-utxo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"@bitgo/utxo-core": "^1.32.0",
6969
"@bitgo/utxo-lib": "^11.20.0",
7070
"@bitgo/utxo-ord": "^1.25.0",
71-
"@bitgo/wasm-utxo": "^1.29.0",
71+
"@bitgo/wasm-utxo": "^1.32.0",
7272
"@types/lodash": "^4.14.121",
7373
"@types/superagent": "4.1.15",
7474
"bignumber.js": "^9.0.2",

modules/abstract-utxo/src/recovery/backupKeyRecovery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ export async function backupKeyRecovery(
417417
if (psbt instanceof utxolib.bitgo.UtxoPsbt) {
418418
txInfo.transactionHex = psbt.extractTransaction().toBuffer().toString('hex');
419419
} else if (psbt instanceof fixedScriptWallet.BitGoPsbt) {
420-
txInfo.transactionHex = Buffer.from(psbt.extractTransaction()).toString('hex');
420+
txInfo.transactionHex = Buffer.from(psbt.extractTransaction().toBytes()).toString('hex');
421421
} else {
422422
throw new Error('expected a UtxoPsbt or BitGoPsbt object');
423423
}

modules/abstract-utxo/src/transaction/fixedScript/signTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export async function signTransaction<
112112
);
113113
if (isLastSignature) {
114114
signedPsbt.finalizeAllInputs();
115-
return Buffer.from(signedPsbt.extractTransaction());
115+
return Buffer.from(signedPsbt.extractTransaction().toBytes());
116116
}
117117
return signedPsbt;
118118
}

modules/utxo-bin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@bitgo/unspents": "^0.51.0",
3232
"@bitgo/utxo-core": "^1.32.0",
3333
"@bitgo/utxo-lib": "^11.20.0",
34-
"@bitgo/wasm-utxo": "^1.29.0",
34+
"@bitgo/wasm-utxo": "^1.32.0",
3535
"@noble/curves": "1.8.1",
3636
"archy": "^1.0.0",
3737
"bech32": "^2.0.0",

modules/utxo-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"@bitgo/secp256k1": "^1.10.0",
8282
"@bitgo/unspents": "^0.51.0",
8383
"@bitgo/utxo-lib": "^11.20.0",
84-
"@bitgo/wasm-utxo": "^1.29.0",
84+
"@bitgo/wasm-utxo": "^1.32.0",
8585
"bip174": "npm:@bitgo-forks/bip174@3.1.0-master.4",
8686
"fast-sha256": "^1.3.0"
8787
},

modules/utxo-ord/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"directory": "modules/utxo-ord"
4646
},
4747
"dependencies": {
48-
"@bitgo/wasm-utxo": "^1.29.0"
48+
"@bitgo/wasm-utxo": "^1.32.0"
4949
},
5050
"devDependencies": {
5151
"@bitgo/utxo-lib": "^11.20.0"

modules/utxo-staking/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"@bitgo/babylonlabs-io-btc-staking-ts": "^3.4.0",
6464
"@bitgo/utxo-core": "^1.32.0",
6565
"@bitgo/utxo-lib": "^11.20.0",
66-
"@bitgo/wasm-utxo": "^1.29.0",
66+
"@bitgo/wasm-utxo": "^1.32.0",
6767
"bip174": "npm:@bitgo-forks/bip174@3.1.0-master.4",
6868
"bip322-js": "^2.0.0",
6969
"bitcoinjs-lib": "^6.1.7",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -996,10 +996,10 @@
996996
monocle-ts "^2.3.13"
997997
newtype-ts "^0.3.5"
998998

999-
"@bitgo/wasm-utxo@^1.29.0":
1000-
version "1.29.0"
1001-
resolved "https://registry.npmjs.org/@bitgo/wasm-utxo/-/wasm-utxo-1.29.0.tgz#75be3668bd972a3ff9aae07aed84916bfceb870d"
1002-
integrity sha512-eWYM7/me8bg+oqw6lEVMdmR1eUVuGzOoyKgSm1QAZUe41qR8IjMyyWjtWI1s5XExfAOXnZuSss/8QJEPOjXhzg==
999+
"@bitgo/wasm-utxo@^1.32.0":
1000+
version "1.32.0"
1001+
resolved "https://registry.npmjs.org/@bitgo/wasm-utxo/-/wasm-utxo-1.32.0.tgz#fc7e7803eb584ba8ad16aeb0a2805d6905d287d3"
1002+
integrity sha512-fqUGh8XOrzbPcTxK3lhS9UjqKxx3UaN6L+eS3vocBeWHbQvl6jm9xPPQ+TDkeiUuZdxaj0+7ca4Algt9vyiXHg==
10031003

10041004
"@brandonblack/musig@^0.0.1-alpha.0":
10051005
version "0.0.1-alpha.1"

0 commit comments

Comments
 (0)