@dynamic-labs/bitcoin 5.9.0 → 5.9.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,12 @@
1
1
 
2
+ ### [5.9.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.0...v5.9.1) (2026-09-18)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **sdk-react-core:** sanitize interpolated values in theme stylesheet builder ([#12416](https://github.com/dynamic-labs/dynamic-auth/issues/12416)) ([f256c08](https://github.com/dynamic-labs/dynamic-auth/commit/f256c08209b7818292a7d4d76793c592bd0ca2a0))
8
+ * **webview-controller:** route MetaMask connector storage through native secure storage ([#12304](https://github.com/dynamic-labs/dynamic-auth/issues/12304)) ([627a483](https://github.com/dynamic-labs/dynamic-auth/commit/627a4839a8071d2b2eed1ef6536cd3ecfc833000)), closes [dynamic-labs-oss/public-wallet-connectors#189](https://github.com/dynamic-labs-oss/public-wallet-connectors/issues/189)
9
+
2
10
  ## [5.9.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.8.1...v5.9.0) (2026-09-16)
3
11
 
4
12
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "5.9.0";
6
+ var version = "5.9.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "5.9.0";
2
+ var version = "5.9.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": "5.9.0",
3
+ "version": "5.9.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.0.118",
21
+ "@dynamic-labs-wallet/browser-wallet-client": "1.1.10",
22
22
  "@dynamic-labs-wallet/forward-mpc-client": "1.0.2",
23
23
  "@bitcoinerlab/secp256k1": "1.1.1",
24
24
  "@btckit/types": "0.0.19",
25
- "@dynamic-labs/sdk-api-core": "0.32.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": "5.9.0",
33
- "@dynamic-labs/logger": "5.9.0",
34
- "@dynamic-labs/types": "5.9.0",
35
- "@dynamic-labs/utils": "5.9.0",
36
- "@dynamic-labs/waas": "5.9.0",
37
- "@dynamic-labs/wallet-book": "5.9.0",
38
- "@dynamic-labs/wallet-connector-core": "5.9.0",
32
+ "@dynamic-labs/assert-package-version": "5.9.1",
33
+ "@dynamic-labs/logger": "5.9.1",
34
+ "@dynamic-labs/types": "5.9.1",
35
+ "@dynamic-labs/utils": "5.9.1",
36
+ "@dynamic-labs/waas": "5.9.1",
37
+ "@dynamic-labs/wallet-book": "5.9.1",
38
+ "@dynamic-labs/wallet-connector-core": "5.9.1",
39
39
  "eventemitter3": "5.0.1"
40
40
  },
41
41
  "peerDependencies": {}
@@ -85,7 +85,7 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
85
85
  signerType?: "endUser" | "server" | undefined;
86
86
  password?: string | undefined;
87
87
  targetSignerPassword?: string | undefined;
88
- }): Promise<{
88
+ }): Promise<import("@dynamic-labs-wallet/core").BusinessAccountActionRequired | {
89
89
  shareSetId: string;
90
90
  }>;
91
91
  importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, isRawScalarImport, }: ImportPrivateKeyParams): Promise<void>;
@@ -140,33 +140,34 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
140
140
  reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: import("@dynamic-labs/wallet-connector-core").ReshareWalletAccountSharesParams): Promise<void>;
141
141
  revokeDelegation({ accountAddress, password, }: {
142
142
  accountAddress: string;
143
+ /** @see findCredentialForAddress */
143
144
  password?: string | undefined;
144
145
  }): Promise<void>;
145
- updatePassword({ accountAddress, existingPassword, newPassword, }: import("@dynamic-labs/wallet-connector-core").UpdatePasswordParams): Promise<void>;
146
+ updatePassword({ accountAddress, existingPassword, newPassword, }: import("@dynamic-labs/wallet-connector-core").UpdatePasswordParams): Promise<void>; /**
147
+ * True when `accountAddress` belongs to the same wallet as the currently
148
+ * active address — including when the active address is a *different*
149
+ * network-tagged encoding of that same wallet (e.g. the testnet address
150
+ * set by switchNetwork, compared against the wallet's primary mainnet
151
+ * address).
152
+ *
153
+ * Used by getWalletClientByAddress to avoid clobbering an explicit
154
+ * switchNetwork: callers like ensureActiveAccount re-assert the wallet's
155
+ * primary address before every send/sign, and setting activeAccountAddress
156
+ * back to that primary address would silently undo the network switch —
157
+ * UTXO/PSBT/broadcast calls would then run against the wrong (likely
158
+ * unfunded) encoding while getNetwork still reports the switched network.
159
+ *
160
+ * Compares the two resolved credential *objects* by reference rather than
161
+ * by id: both lookups run against the same verifiedCredentials array in
162
+ * the same synchronous call, so `.find()` returns the identical element
163
+ * for both addresses whenever they belong to the same wallet. Comparing
164
+ * `.id` instead would be wrong whenever accountAddress doesn't resolve to
165
+ * any known credential yet (e.g. a brand-new wallet not yet synced) —
166
+ * `undefined === undefined` would falsely read as "same wallet".
167
+ */
146
168
  setPassword({ accountAddress, newPassword, }: {
147
169
  accountAddress: string;
148
- newPassword: string; /**
149
- * True when `accountAddress` belongs to the same wallet as the currently
150
- * active address — including when the active address is a *different*
151
- * network-tagged encoding of that same wallet (e.g. the testnet address
152
- * set by switchNetwork, compared against the wallet's primary mainnet
153
- * address).
154
- *
155
- * Used by getWalletClientByAddress to avoid clobbering an explicit
156
- * switchNetwork: callers like ensureActiveAccount re-assert the wallet's
157
- * primary address before every send/sign, and setting activeAccountAddress
158
- * back to that primary address would silently undo the network switch —
159
- * UTXO/PSBT/broadcast calls would then run against the wrong (likely
160
- * unfunded) encoding while getNetwork still reports the switched network.
161
- *
162
- * Compares the two resolved credential *objects* by reference rather than
163
- * by id: both lookups run against the same verifiedCredentials array in
164
- * the same synchronous call, so `.find()` returns the identical element
165
- * for both addresses whenever they belong to the same wallet. Comparing
166
- * `.id` instead would be wrong whenever accountAddress doesn't resolve to
167
- * any known credential yet (e.g. a brand-new wallet not yet synced) —
168
- * `undefined === undefined` would falsely read as "same wallet".
169
- */
170
+ newPassword: string;
170
171
  }): Promise<void>;
171
172
  signRawMessage({ accountAddress, context, message, password, }: {
172
173
  accountAddress: string;