@dynamic-labs-wallet/btc 1.1.77 → 1.1.79
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/index.cjs +2 -2
- package/index.esm.js +2 -2
- package/package.json +3 -3
package/index.cjs
CHANGED
|
@@ -681,7 +681,7 @@ class DynamicBtcWalletClient extends browser.DynamicWalletClient {
|
|
|
681
681
|
context: _extends({}, context, {
|
|
682
682
|
btcTransaction: {
|
|
683
683
|
psbt: transaction,
|
|
684
|
-
chainId: network === browser.BitcoinNetwork.
|
|
684
|
+
chainId: network === browser.BitcoinNetwork.TESTNET ? '2' : '1'
|
|
685
685
|
}
|
|
686
686
|
}),
|
|
687
687
|
bitcoinConfig: completeBitcoinConfig,
|
|
@@ -722,7 +722,7 @@ class DynamicBtcWalletClient extends browser.DynamicWalletClient {
|
|
|
722
722
|
context: _extends({}, context, {
|
|
723
723
|
btcTransaction: {
|
|
724
724
|
psbt: transaction,
|
|
725
|
-
chainId: network === browser.BitcoinNetwork.
|
|
725
|
+
chainId: network === browser.BitcoinNetwork.TESTNET ? '2' : '1'
|
|
726
726
|
}
|
|
727
727
|
}),
|
|
728
728
|
bitcoinConfig: completeBitcoinConfig,
|
package/index.esm.js
CHANGED
|
@@ -660,7 +660,7 @@ class DynamicBtcWalletClient extends DynamicWalletClient {
|
|
|
660
660
|
context: _extends({}, context, {
|
|
661
661
|
btcTransaction: {
|
|
662
662
|
psbt: transaction,
|
|
663
|
-
chainId: network === BitcoinNetwork.
|
|
663
|
+
chainId: network === BitcoinNetwork.TESTNET ? '2' : '1'
|
|
664
664
|
}
|
|
665
665
|
}),
|
|
666
666
|
bitcoinConfig: completeBitcoinConfig,
|
|
@@ -701,7 +701,7 @@ class DynamicBtcWalletClient extends DynamicWalletClient {
|
|
|
701
701
|
context: _extends({}, context, {
|
|
702
702
|
btcTransaction: {
|
|
703
703
|
psbt: transaction,
|
|
704
|
-
chainId: network === BitcoinNetwork.
|
|
704
|
+
chainId: network === BitcoinNetwork.TESTNET ? '2' : '1'
|
|
705
705
|
}
|
|
706
706
|
}),
|
|
707
707
|
bitcoinConfig: completeBitcoinConfig,
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs-wallet/btc",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.79",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@dynamic-labs/sdk-api-core": "0.167.0",
|
|
9
|
-
"@dynamic-labs-wallet/browser": "1.1.
|
|
10
|
-
"@dynamic-labs-wallet/btc-utils": "1.1.
|
|
9
|
+
"@dynamic-labs-wallet/browser": "1.1.79",
|
|
10
|
+
"@dynamic-labs-wallet/btc-utils": "1.1.79",
|
|
11
11
|
"@bitcoinerlab/secp256k1": "^1.2.0",
|
|
12
12
|
"bitcoinjs-lib": "^7.0.2"
|
|
13
13
|
},
|