@dynamic-labs-wallet/btc 1.1.85 → 1.1.87

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 CHANGED
@@ -93,7 +93,7 @@ class DynamicBtcWalletClient extends browser.DynamicWalletClient {
93
93
  this.logger.error(browser.ERROR_CREATE_WALLET_ACCOUNT, error);
94
94
  onError == null ? void 0 : onError(error);
95
95
  },
96
- onCeremonyComplete: (accountAddress, walletId, shareSetId)=>{
96
+ onCeremonyComplete: ({ accountAddress, walletId, shareSetId })=>{
97
97
  const chainConfig = browser.getMPCChainConfig(this.chainName, buildBitcoinConfig);
98
98
  this.initializeWalletMapEntry({
99
99
  accountAddress,
@@ -469,7 +469,7 @@ class DynamicBtcWalletClient extends browser.DynamicWalletClient {
469
469
  addressType: addressTypeEnum,
470
470
  network
471
471
  },
472
- onCeremonyComplete: (accountAddress, walletId, shareSetId)=>{
472
+ onCeremonyComplete: ({ accountAddress, walletId, shareSetId })=>{
473
473
  ceremonyAccountAddress = accountAddress;
474
474
  // For imported BTC wallets, use empty derivation path
475
475
  // The server returns "[]" for imported wallets (raw key, not derived)
package/index.esm.js CHANGED
@@ -72,7 +72,7 @@ class DynamicBtcWalletClient extends DynamicWalletClient {
72
72
  this.logger.error(ERROR_CREATE_WALLET_ACCOUNT, error);
73
73
  onError == null ? void 0 : onError(error);
74
74
  },
75
- onCeremonyComplete: (accountAddress, walletId, shareSetId)=>{
75
+ onCeremonyComplete: ({ accountAddress, walletId, shareSetId })=>{
76
76
  const chainConfig = getMPCChainConfig(this.chainName, buildBitcoinConfig);
77
77
  this.initializeWalletMapEntry({
78
78
  accountAddress,
@@ -448,7 +448,7 @@ class DynamicBtcWalletClient extends DynamicWalletClient {
448
448
  addressType: addressTypeEnum,
449
449
  network
450
450
  },
451
- onCeremonyComplete: (accountAddress, walletId, shareSetId)=>{
451
+ onCeremonyComplete: ({ accountAddress, walletId, shareSetId })=>{
452
452
  ceremonyAccountAddress = accountAddress;
453
453
  // For imported BTC wallets, use empty derivation path
454
454
  // The server returns "[]" for imported wallets (raw key, not derived)
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/btc",
3
- "version": "1.1.85",
3
+ "version": "1.1.87",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "dependencies": {
8
- "@dynamic-labs/sdk-api-core": "0.192.0",
9
- "@dynamic-labs-wallet/browser": "1.1.85",
10
- "@dynamic-labs-wallet/btc-utils": "1.1.85",
8
+ "@dynamic-labs/sdk-api-core": "0.193.0",
9
+ "@dynamic-labs-wallet/browser": "1.1.87",
10
+ "@dynamic-labs-wallet/btc-utils": "1.1.87",
11
11
  "@bitcoinerlab/secp256k1": "^1.2.0",
12
12
  "bitcoinjs-lib": "^7.0.2"
13
13
  },