@dynamic-labs/bitcoin 5.9.1 → 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,11 @@
|
|
|
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
|
+
|
|
2
9
|
### [5.9.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.0...v5.9.1) (2026-09-18)
|
|
3
10
|
|
|
4
11
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/bitcoin",
|
|
3
|
-
"version": "5.9.
|
|
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,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs-wallet/browser-wallet-client": "1.1.
|
|
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",
|
|
@@ -29,13 +29,13 @@
|
|
|
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.
|
|
33
|
-
"@dynamic-labs/logger": "5.9.
|
|
34
|
-
"@dynamic-labs/types": "5.9.
|
|
35
|
-
"@dynamic-labs/utils": "5.9.
|
|
36
|
-
"@dynamic-labs/waas": "5.9.
|
|
37
|
-
"@dynamic-labs/wallet-book": "5.9.
|
|
38
|
-
"@dynamic-labs/wallet-connector-core": "5.9.
|
|
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,6 +85,8 @@ 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
|
+
intent?: import("@dynamic-labs-wallet/core").BusinessAccountIntent | undefined;
|
|
89
|
+
intentSignature?: string | undefined;
|
|
88
90
|
}): Promise<import("@dynamic-labs-wallet/core").BusinessAccountActionRequired | {
|
|
89
91
|
shareSetId: string;
|
|
90
92
|
}>;
|
|
@@ -140,31 +142,9 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
|
|
|
140
142
|
reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: import("@dynamic-labs/wallet-connector-core").ReshareWalletAccountSharesParams): Promise<void>;
|
|
141
143
|
revokeDelegation({ accountAddress, password, }: {
|
|
142
144
|
accountAddress: string;
|
|
143
|
-
/** @see findCredentialForAddress */
|
|
144
145
|
password?: string | undefined;
|
|
145
146
|
}): 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
|
-
*/
|
|
147
|
+
updatePassword({ accountAddress, existingPassword, newPassword, }: import("@dynamic-labs/wallet-connector-core").UpdatePasswordParams): Promise<void>;
|
|
168
148
|
setPassword({ accountAddress, newPassword, }: {
|
|
169
149
|
accountAddress: string;
|
|
170
150
|
newPassword: string;
|