@dynamic-labs/bitcoin 4.99.0 → 4.100.1

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/CHANGELOG.md CHANGED
@@ -1,4 +1,24 @@
1
1
 
2
+ ### [4.100.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.100.0...v4.100.1) (2026-09-16)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **ethereum-core:** prefer dashboard-saved RPC urls when mapping viem chains ([#12407](https://github.com/dynamic-labs/dynamic-auth/issues/12407)) ([e794605](https://github.com/dynamic-labs/dynamic-auth/commit/e79460541f5d99caee64e9f4699baa1bf1b36544))
8
+ * **wallet-connect:** fix Rabby WalletConnect connection on Mobile [V4 backport] ([#12387](https://github.com/dynamic-labs/dynamic-auth/issues/12387)) ([a2f137f](https://github.com/dynamic-labs/dynamic-auth/commit/a2f137f5dc203f7fbfc4399b9999751c22851654))
9
+
10
+ ## [4.100.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.99.0...v4.100.0) (2026-09-10)
11
+
12
+
13
+ ### Features
14
+
15
+ * **solana-extension:** expose createAssociatedTokenAccount ([#12377](https://github.com/dynamic-labs/dynamic-auth/issues/12377)) ([c127857](https://github.com/dynamic-labs/dynamic-auth/commit/c127857097069ef2fcf337b78971e678f0552277))
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * show transaction amount when simulation returns no transfers (v4 backport) ([#12356](https://github.com/dynamic-labs/dynamic-auth/issues/12356)) ([36feb2d](https://github.com/dynamic-labs/dynamic-auth/commit/36feb2d24de3f78560112bdf86a258d0596c4470))
21
+
2
22
  ## [4.99.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.98.0...v4.99.0) (2026-09-10)
3
23
 
4
24
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.99.0";
6
+ var version = "4.100.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.99.0";
2
+ var version = "4.100.1";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/bitcoin",
3
- "version": "4.99.0",
3
+ "version": "4.100.1",
4
4
  "description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -18,24 +18,24 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs-wallet/browser-wallet-client": "1.1.8",
21
+ "@dynamic-labs-wallet/browser-wallet-client": "1.1.10",
22
22
  "@dynamic-labs-wallet/forward-mpc-client": "2.0.2",
23
23
  "@bitcoinerlab/secp256k1": "1.1.1",
24
24
  "@btckit/types": "0.0.19",
25
- "@dynamic-labs/sdk-api-core": "0.12.0",
25
+ "@dynamic-labs/sdk-api-core": "0.40.0",
26
26
  "@wallet-standard/app": "1.0.1",
27
27
  "@wallet-standard/base": "1.0.1",
28
28
  "bitcoinjs-lib": "6.1.5",
29
29
  "ecpair": "2.1.0",
30
30
  "sats-connect": "4.2.1",
31
31
  "jsontokens": "4.0.1",
32
- "@dynamic-labs/assert-package-version": "4.99.0",
33
- "@dynamic-labs/logger": "4.99.0",
34
- "@dynamic-labs/types": "4.99.0",
35
- "@dynamic-labs/utils": "4.99.0",
36
- "@dynamic-labs/waas": "4.99.0",
37
- "@dynamic-labs/wallet-book": "4.99.0",
38
- "@dynamic-labs/wallet-connector-core": "4.99.0",
32
+ "@dynamic-labs/assert-package-version": "4.100.1",
33
+ "@dynamic-labs/logger": "4.100.1",
34
+ "@dynamic-labs/types": "4.100.1",
35
+ "@dynamic-labs/utils": "4.100.1",
36
+ "@dynamic-labs/waas": "4.100.1",
37
+ "@dynamic-labs/wallet-book": "4.100.1",
38
+ "@dynamic-labs/wallet-connector-core": "4.100.1",
39
39
  "eventemitter3": "5.0.1"
40
40
  },
41
41
  "peerDependencies": {}
@@ -22,7 +22,6 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
22
22
  scope: TokenScope;
23
23
  }) => Promise<string | undefined>) | undefined;
24
24
  onUnauthorized?: (() => void | Promise<void>) | undefined;
25
- /** Dynamic network ids for the Bitcoin networks (mirrors the networks catalog). */
26
25
  environmentId?: string | undefined;
27
26
  baseApiUrl?: string | undefined;
28
27
  relayUrl?: string | undefined;
@@ -90,7 +89,7 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
90
89
  };
91
90
  signerType?: "endUser" | "server" | undefined;
92
91
  password?: string | undefined;
93
- }): Promise<{
92
+ }): Promise<import("@dynamic-labs-wallet/core").BusinessAccountActionRequired | {
94
93
  shareSetId: string;
95
94
  }>;
96
95
  importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, }: {
@@ -106,10 +105,7 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
106
105
  jwt: string;
107
106
  walletPassword: string;
108
107
  ncwStorage: Record<string, string>;
109
- expectedAddresses: Record<string, string>; /**
110
- * Testnet when the testnet network (id 2) is selected — drives the widget's
111
- * native-denominated balance display (testnet coins have no fiat price).
112
- */
108
+ expectedAddresses: Record<string, string>;
113
109
  coinTypes?: Record<string, number> | undefined;
114
110
  password?: string | undefined;
115
111
  }): Promise<Record<string, unknown>>;
@@ -150,6 +146,18 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
150
146
  reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: {
151
147
  accountAddress: string;
152
148
  thresholdSignatureScheme: string;
149
+ /**
150
+ * Wallet identity: keyshares/wallet records are keyed by the wallet's
151
+ * primary (mainnet) address. On testnet the active address is the same
152
+ * wallet's per-network encoding — WaaS lookups (password, signing) must use
153
+ * the primary address (the same key signs both encodings).
154
+ *
155
+ * Resolved from the credential that owns the active address, so a user with
156
+ * several Bitcoin wallets gets the identity of the wallet being spent from.
157
+ * Never falls back to another wallet's address: a substituted key produces a
158
+ * signature that looks valid locally and is rejected by the network, so the
159
+ * failure has to surface here instead.
160
+ */
153
161
  password?: string | undefined;
154
162
  }): Promise<void>;
155
163
  revokeDelegation({ accountAddress, password, }: {
@@ -206,7 +214,11 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
206
214
  cap: string;
207
215
  };
208
216
  address: string;
209
- dustSynced: boolean;
217
+ dustSynced: boolean; /**
218
+ * Switches between Bitcoin mainnet (1) and testnet (2). Same key — the
219
+ * active address swaps to the network's encoding; mempool/PSBT/broadcast
220
+ * follow the address, signing follows getBitcoinNetworkEnum().
221
+ */
210
222
  }>;
211
223
  }) & typeof BitcoinWalletConnector;
212
224
  /**