@dynamic-labs/bitcoin 5.9.0 → 5.9.2

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,19 @@
1
1
 
2
+ ### [5.9.2](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.1...v5.9.2) (2026-09-28)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **waas:** pass elevatedAccessToken and thread signed intents through addSigner ([#12432](https://github.com/dynamic-labs/dynamic-auth/issues/12432)) ([b754f33](https://github.com/dynamic-labs/dynamic-auth/commit/b754f33b72ac93b9960deb5e133dcdbccb06d638))
8
+
9
+ ### [5.9.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.0...v5.9.1) (2026-09-18)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **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))
15
+ * **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)
16
+
2
17
  ## [5.9.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.8.1...v5.9.0) (2026-09-16)
3
18
 
4
19
 
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.2";
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.2";
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.2",
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.18",
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.2",
33
+ "@dynamic-labs/logger": "5.9.2",
34
+ "@dynamic-labs/types": "5.9.2",
35
+ "@dynamic-labs/utils": "5.9.2",
36
+ "@dynamic-labs/waas": "5.9.2",
37
+ "@dynamic-labs/wallet-book": "5.9.2",
38
+ "@dynamic-labs/wallet-connector-core": "5.9.2",
39
39
  "eventemitter3": "5.0.1"
40
40
  },
41
41
  "peerDependencies": {}
@@ -73,7 +73,7 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
73
73
  publicKeyHex: string;
74
74
  rawPublicKey: string | Uint8Array | undefined;
75
75
  }>;
76
- addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, targetSignerPassword, }: {
76
+ addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, targetSignerPassword, intent, intentSignature, }: {
77
77
  accountAddress: string;
78
78
  walletId?: string | undefined;
79
79
  businessAccountId: string;
@@ -85,7 +85,9 @@ 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
+ intent?: import("@dynamic-labs-wallet/core").BusinessAccountIntent | undefined;
89
+ intentSignature?: string | undefined;
90
+ }): Promise<import("@dynamic-labs-wallet/core").BusinessAccountActionRequired | {
89
91
  shareSetId: string;
90
92
  }>;
91
93
  importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, isRawScalarImport, }: ImportPrivateKeyParams): Promise<void>;
@@ -145,28 +147,7 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
145
147
  updatePassword({ accountAddress, existingPassword, newPassword, }: import("@dynamic-labs/wallet-connector-core").UpdatePasswordParams): Promise<void>;
146
148
  setPassword({ accountAddress, newPassword, }: {
147
149
  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
- */
150
+ newPassword: string;
170
151
  }): Promise<void>;
171
152
  signRawMessage({ accountAddress, context, message, password, }: {
172
153
  accountAddress: string;