@dynamic-labs/bitcoin 4.91.1 → 4.91.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,28 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.91.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.1...v4.91.2) (2026-06-26)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### ⚠ BREAKING CHANGES
|
|
6
|
+
|
|
7
|
+
* **waas:** require expectedAddresses on migrateFromFireblocks (#11730)
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **midnight:** support shielded/unshielded transfers and dust states in the embedded Send flow ([#11731](https://github.com/dynamic-labs/dynamic-auth/issues/11731)) ([663d171](https://github.com/dynamic-labs/dynamic-auth/commit/663d171a9628c634586831ee35c234e9331e3f80))
|
|
12
|
+
* **react-native-extension:** instrument all embedded webview failure paths ([#11737](https://github.com/dynamic-labs/dynamic-auth/issues/11737)) ([172998b](https://github.com/dynamic-labs/dynamic-auth/commit/172998b56e9bee04fbb8da71e83ce8885bc378ff))
|
|
13
|
+
* **waas:** migrateFromFireblocks connector method + demo panel (browser-wallet-client 1.0.46) ([#11702](https://github.com/dynamic-labs/dynamic-auth/issues/11702)) ([6bfc844](https://github.com/dynamic-labs/dynamic-auth/commit/6bfc8443fbaedabe1e7bee0ed78742cbbe5d0084))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* add coverage for scenario with passkey re-login and smart account ([#11726](https://github.com/dynamic-labs/dynamic-auth/issues/11726)) ([5364a72](https://github.com/dynamic-labs/dynamic-auth/commit/5364a72a750d835b9b2da602a91e8b5d7d305db7))
|
|
19
|
+
* remediate high-severity dependency vulnerabilities ([#11721](https://github.com/dynamic-labs/dynamic-auth/issues/11721)) ([cdb9306](https://github.com/dynamic-labs/dynamic-auth/commit/cdb93061365a20b8f73a1f8bea8352332e282c1e))
|
|
20
|
+
* replace node-fetch v2 with native fetch to fix Node 22 stream failure ([#11732](https://github.com/dynamic-labs/dynamic-auth/issues/11732)) ([b98f801](https://github.com/dynamic-labs/dynamic-auth/commit/b98f801e307b52dbd7e4b241a9a4a2d34d89118e))
|
|
21
|
+
* **zerodev-extension:** derive kernel 7702 vs 4337 per-wallet, not from global dashboard flag ([#11735](https://github.com/dynamic-labs/dynamic-auth/issues/11735)) ([72cf6a7](https://github.com/dynamic-labs/dynamic-auth/commit/72cf6a70a4857a4ea469faa555c485dbad8d0217))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
* **waas:** require expectedAddresses on migrateFromFireblocks ([#11730](https://github.com/dynamic-labs/dynamic-auth/issues/11730)) ([c94824e](https://github.com/dynamic-labs/dynamic-auth/commit/c94824ebe11e0433a6ffbd2a5a9dd4283aeed31e))
|
|
25
|
+
|
|
2
26
|
### [4.91.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.0...v4.91.1) (2026-06-24)
|
|
3
27
|
|
|
4
28
|
|
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": "4.91.
|
|
3
|
+
"version": "4.91.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.0.
|
|
21
|
+
"@dynamic-labs-wallet/browser-wallet-client": "1.0.48",
|
|
22
22
|
"@dynamic-labs-wallet/forward-mpc-client": "0.12.0",
|
|
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": "4.91.
|
|
33
|
-
"@dynamic-labs/logger": "4.91.
|
|
34
|
-
"@dynamic-labs/types": "4.91.
|
|
35
|
-
"@dynamic-labs/utils": "4.91.
|
|
36
|
-
"@dynamic-labs/waas": "4.91.
|
|
37
|
-
"@dynamic-labs/wallet-book": "4.91.
|
|
38
|
-
"@dynamic-labs/wallet-connector-core": "4.91.
|
|
32
|
+
"@dynamic-labs/assert-package-version": "4.91.2",
|
|
33
|
+
"@dynamic-labs/logger": "4.91.2",
|
|
34
|
+
"@dynamic-labs/types": "4.91.2",
|
|
35
|
+
"@dynamic-labs/utils": "4.91.2",
|
|
36
|
+
"@dynamic-labs/waas": "4.91.2",
|
|
37
|
+
"@dynamic-labs/wallet-book": "4.91.2",
|
|
38
|
+
"@dynamic-labs/wallet-connector-core": "4.91.2",
|
|
39
39
|
"eventemitter3": "5.0.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {}
|
|
@@ -80,16 +80,22 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
|
|
|
80
80
|
legacyWalletId?: string | undefined;
|
|
81
81
|
password?: string | undefined;
|
|
82
82
|
}): Promise<void>;
|
|
83
|
+
migrateFromFireblocks({ deviceId, jwt, walletPassword, ncwStorage, expectedAddresses, coinTypes, password, }: {
|
|
84
|
+
deviceId: string;
|
|
85
|
+
jwt: string;
|
|
86
|
+
walletPassword: string;
|
|
87
|
+
ncwStorage: Record<string, string>;
|
|
88
|
+
expectedAddresses: Record<string, string>;
|
|
89
|
+
coinTypes?: Record<string, number> | undefined;
|
|
90
|
+
password?: string | undefined;
|
|
91
|
+
}): Promise<import("@dynamic-labs-wallet/browser-wallet-client").MigrateFromFireblocksResponse>;
|
|
83
92
|
exportPrivateKey({ accountAddress, displayContainer, password, }?: {
|
|
84
93
|
accountAddress?: string | undefined;
|
|
85
94
|
displayContainer?: HTMLIFrameElement | undefined;
|
|
86
95
|
password?: string | undefined;
|
|
87
96
|
} | undefined): Promise<void>;
|
|
88
97
|
getExportHandler(): {
|
|
89
|
-
clear: () => void;
|
|
90
|
-
* Gets all connected account addresses
|
|
91
|
-
* @returns Array of connected account addresses (currently returns single active address)
|
|
92
|
-
*/
|
|
98
|
+
clear: () => void;
|
|
93
99
|
};
|
|
94
100
|
exportClientKeyshares({ accountAddress, password, }: {
|
|
95
101
|
accountAddress: string;
|
|
@@ -114,7 +120,11 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
|
|
|
114
120
|
hideICloudSignIn(): Promise<void>;
|
|
115
121
|
isICloudAuthenticated(): Promise<boolean>;
|
|
116
122
|
refreshWalletAccountShares({ accountAddress, password, }: {
|
|
117
|
-
accountAddress: string;
|
|
123
|
+
accountAddress: string; /**
|
|
124
|
+
* Gets block explorer URLs for the current network
|
|
125
|
+
* Returns mempool.space for Bitcoin transactions
|
|
126
|
+
* @returns Array containing mempool.space URL
|
|
127
|
+
*/
|
|
118
128
|
password?: string | undefined;
|
|
119
129
|
}): Promise<void>;
|
|
120
130
|
reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: {
|
|
@@ -134,11 +144,7 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
|
|
|
134
144
|
setPassword({ accountAddress, newPassword, }: {
|
|
135
145
|
accountAddress: string;
|
|
136
146
|
newPassword: string;
|
|
137
|
-
}): Promise<void>;
|
|
138
|
-
* Signs a message using the wallet UI utils for user interaction
|
|
139
|
-
* @param message - The message to sign
|
|
140
|
-
* @returns The signed message as a string
|
|
141
|
-
*/
|
|
147
|
+
}): Promise<void>;
|
|
142
148
|
signRawMessage({ accountAddress, message, password, }: {
|
|
143
149
|
accountAddress: string;
|
|
144
150
|
message: string;
|
|
@@ -165,12 +171,6 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
|
|
|
165
171
|
errorType?: undefined;
|
|
166
172
|
};
|
|
167
173
|
instrument(message: string, context: import("@dynamic-labs/logger").InstrumentOptions & import("dist/packages/waas/utils/instrumentation").InstrumentContext & Record<string, any>): void;
|
|
168
|
-
/**
|
|
169
|
-
* Sends a raw Bitcoin transaction to the mempool
|
|
170
|
-
* @param rawTransaction - The raw transaction in hex format
|
|
171
|
-
* @returns The transaction ID
|
|
172
|
-
* @throws {DynamicError} If no transaction is specified or sending fails
|
|
173
|
-
*/
|
|
174
174
|
instrumentAsync<T_1>({ operation, resource, fn, context, }: {
|
|
175
175
|
operation: string;
|
|
176
176
|
resource: string;
|