@dynamic-labs/bitcoin 4.91.6 → 4.92.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,31 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.92.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.92.0...v4.92.1) (2026-07-09)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **ethereum:** fire in-app-browser redirect on sign for injected EVM wallets that use in-app-browser experience ([#11888](https://github.com/dynamic-labs/dynamic-auth/issues/11888)) ([5116d91](https://github.com/dynamic-labs/dynamic-auth/commit/5116d91ab2c71000a490d72c5d278549d4d8ae9a))
|
|
8
|
+
* **sdk-react-core:** show clear message for Phantom redirect signing failures (v4 backport) ([#11886](https://github.com/dynamic-labs/dynamic-auth/issues/11886)) ([60ac897](https://github.com/dynamic-labs/dynamic-auth/commit/60ac897ba81f7758ccd7a05f97b619785e1f50a7))
|
|
9
|
+
* **social:** use redirect strategy for step-up OAuth on mobile [V4 backport] ([#11881](https://github.com/dynamic-labs/dynamic-auth/issues/11881)) ([42a202e](https://github.com/dynamic-labs/dynamic-auth/commit/42a202e6255de8db73df02eff37c0b10b24fef1a))
|
|
10
|
+
* **solana:** fire in-app-browser redirect on sign and wallet switch ([#11871](https://github.com/dynamic-labs/dynamic-auth/issues/11871)) ([4e2d6b7](https://github.com/dynamic-labs/dynamic-auth/commit/4e2d6b7ac8fdef5bf7c62b8a726ecaef1c6210ec))
|
|
11
|
+
* **solana:** resolve Phantom/Backpack provider collision and Backpack >=0.10.x connect hangs ([#11856](https://github.com/dynamic-labs/dynamic-auth/issues/11856)) ([#11882](https://github.com/dynamic-labs/dynamic-auth/issues/11882)) ([5784aff](https://github.com/dynamic-labs/dynamic-auth/commit/5784aff9641bbc85445fb466f3ab1d6a14331e73))
|
|
12
|
+
|
|
13
|
+
## [4.92.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.6...v4.92.0) (2026-07-08)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **captcha:** add Cloudflare Turnstile provider support alongside hCaptcha (v4) ([#11798](https://github.com/dynamic-labs/dynamic-auth/issues/11798)) ([114c770](https://github.com/dynamic-labs/dynamic-auth/commit/114c7702e900d8dedeebe7be867de35d11a93f31))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* **ethereum-aa:** resolve kernel client config per wallet (v4) ([#11870](https://github.com/dynamic-labs/dynamic-auth/issues/11870)) ([1b66d79](https://github.com/dynamic-labs/dynamic-auth/commit/1b66d79b4a32b4b6de433b7536bc46e6719224c6))
|
|
24
|
+
* **iframe-setup:** block dangerous URL schemes and verify sender in OPEN_URL ([#11819](https://github.com/dynamic-labs/dynamic-auth/issues/11819)) ([329b27e](https://github.com/dynamic-labs/dynamic-auth/commit/329b27e9fac825916ab227ec8cf93dc343898923))
|
|
25
|
+
* improve social OAuth error messages ([#11837](https://github.com/dynamic-labs/dynamic-auth/issues/11837)) ([8e57c06](https://github.com/dynamic-labs/dynamic-auth/commit/8e57c067c5a89111a32a12fb82e190cf6c46ad67))
|
|
26
|
+
* **react-native-extension:** reject path traversal in downloadFile fileName ([#11816](https://github.com/dynamic-labs/dynamic-auth/issues/11816)) ([9367a56](https://github.com/dynamic-labs/dynamic-auth/commit/9367a56b6daa853d7f7e7f5534261bc68825b239))
|
|
27
|
+
* **sdk-react-core:** display exactly the bytes signed in personal_sign preview ([#11818](https://github.com/dynamic-labs/dynamic-auth/issues/11818)) ([30b9382](https://github.com/dynamic-labs/dynamic-auth/commit/30b93829122f00060cb484aef09a03294c03f651))
|
|
28
|
+
|
|
2
29
|
### [4.91.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.5...v4.91.6) (2026-07-03)
|
|
3
30
|
|
|
4
31
|
|
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.
|
|
3
|
+
"version": "4.92.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",
|
|
@@ -22,20 +22,20 @@
|
|
|
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",
|
|
25
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
25
|
+
"@dynamic-labs/sdk-api-core": "0.0.1067",
|
|
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.
|
|
33
|
-
"@dynamic-labs/logger": "4.
|
|
34
|
-
"@dynamic-labs/types": "4.
|
|
35
|
-
"@dynamic-labs/utils": "4.
|
|
36
|
-
"@dynamic-labs/waas": "4.
|
|
37
|
-
"@dynamic-labs/wallet-book": "4.
|
|
38
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
32
|
+
"@dynamic-labs/assert-package-version": "4.92.1",
|
|
33
|
+
"@dynamic-labs/logger": "4.92.1",
|
|
34
|
+
"@dynamic-labs/types": "4.92.1",
|
|
35
|
+
"@dynamic-labs/utils": "4.92.1",
|
|
36
|
+
"@dynamic-labs/waas": "4.92.1",
|
|
37
|
+
"@dynamic-labs/wallet-book": "4.92.1",
|
|
38
|
+
"@dynamic-labs/wallet-connector-core": "4.92.1",
|
|
39
39
|
"eventemitter3": "5.0.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {}
|
|
@@ -22,6 +22,10 @@ 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
|
+
/**
|
|
26
|
+
* Bitcoin connector for Dynamic WaaS (Wallet as a Service)
|
|
27
|
+
* Extends BitcoinWalletConnector with WaaS functionality for Bitcoin transactions
|
|
28
|
+
*/
|
|
25
29
|
environmentId?: string | undefined;
|
|
26
30
|
baseApiUrl?: string | undefined;
|
|
27
31
|
relayUrl?: string | undefined;
|
|
@@ -66,21 +70,41 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
|
|
|
66
70
|
getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined, { forceRebuild }?: {
|
|
67
71
|
forceRebuild?: boolean | undefined;
|
|
68
72
|
} | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
|
|
69
|
-
createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, }?: {
|
|
73
|
+
createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, businessAccountId, }?: {
|
|
70
74
|
thresholdSignatureScheme?: string | undefined;
|
|
71
75
|
password?: string | undefined;
|
|
72
76
|
bitcoinConfig?: BitcoinConfig | undefined;
|
|
77
|
+
businessAccountId?: string | undefined;
|
|
73
78
|
} | undefined): Promise<{
|
|
74
79
|
chainName: string;
|
|
75
80
|
accountAddress: string;
|
|
76
81
|
publicKeyHex: string;
|
|
77
82
|
rawPublicKey: string | Uint8Array | undefined;
|
|
78
83
|
}>;
|
|
84
|
+
addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, }: {
|
|
85
|
+
accountAddress: string;
|
|
86
|
+
walletId?: string | undefined;
|
|
87
|
+
businessAccountId: string;
|
|
88
|
+
targetSignerIdentity: {
|
|
89
|
+
userId?: string | undefined;
|
|
90
|
+
identifier?: string | undefined;
|
|
91
|
+
identifierType?: string | undefined;
|
|
92
|
+
};
|
|
93
|
+
signerType?: "endUser" | "server" | undefined;
|
|
94
|
+
password?: string | undefined;
|
|
95
|
+
}): Promise<{
|
|
96
|
+
shareSetId: string;
|
|
97
|
+
}>;
|
|
79
98
|
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, }: {
|
|
80
99
|
privateKey: string;
|
|
81
100
|
thresholdSignatureScheme?: string | undefined;
|
|
82
101
|
publicAddressCheck?: string | undefined;
|
|
83
102
|
addressType?: string | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* Gets the current Bitcoin network
|
|
105
|
+
* Always returns Dynamic's networkId (1 for mainnet)
|
|
106
|
+
* @returns The Dynamic networkId (1) for Bitcoin mainnet
|
|
107
|
+
*/
|
|
84
108
|
legacyWalletId?: string | undefined;
|
|
85
109
|
password?: string | undefined;
|
|
86
110
|
}): Promise<void>;
|
|
@@ -92,7 +116,7 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
|
|
|
92
116
|
expectedAddresses: Record<string, string>;
|
|
93
117
|
coinTypes?: Record<string, number> | undefined;
|
|
94
118
|
password?: string | undefined;
|
|
95
|
-
}): Promise<
|
|
119
|
+
}): Promise<Record<string, unknown>>;
|
|
96
120
|
exportPrivateKey({ accountAddress, displayContainer, password, }?: {
|
|
97
121
|
accountAddress?: string | undefined;
|
|
98
122
|
displayContainer?: HTMLIFrameElement | undefined;
|
|
@@ -108,7 +132,11 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
|
|
|
108
132
|
backupKeySharesToGoogleDrive({ accountAddress, password, googleDriveAccessToken, }: {
|
|
109
133
|
accountAddress: string;
|
|
110
134
|
password?: string | undefined;
|
|
111
|
-
googleDriveAccessToken?: string | undefined;
|
|
135
|
+
googleDriveAccessToken?: string | undefined; /**
|
|
136
|
+
* Gets block explorer URLs for the current network
|
|
137
|
+
* Returns mempool.space for Bitcoin transactions
|
|
138
|
+
* @returns Array containing mempool.space URL
|
|
139
|
+
*/
|
|
112
140
|
}): Promise<void>;
|
|
113
141
|
exportClientKeysharesFromGoogleDrive({ accountAddress, password, }: {
|
|
114
142
|
accountAddress: string;
|
|
@@ -122,11 +150,7 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
|
|
|
122
150
|
displayContainer: HTMLElement;
|
|
123
151
|
}): Promise<void>;
|
|
124
152
|
hideICloudSignIn(): Promise<void>;
|
|
125
|
-
isICloudAuthenticated(): Promise<boolean>;
|
|
126
|
-
* Gets block explorer URLs for the current network
|
|
127
|
-
* Returns mempool.space for Bitcoin transactions
|
|
128
|
-
* @returns Array containing mempool.space URL
|
|
129
|
-
*/
|
|
153
|
+
isICloudAuthenticated(): Promise<boolean>;
|
|
130
154
|
refreshWalletAccountShares({ accountAddress, password, }: {
|
|
131
155
|
accountAddress: string;
|
|
132
156
|
password?: string | undefined;
|
|
@@ -149,8 +173,9 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
|
|
|
149
173
|
accountAddress: string;
|
|
150
174
|
newPassword: string;
|
|
151
175
|
}): Promise<void>;
|
|
152
|
-
signRawMessage({ accountAddress, message, password, }: {
|
|
176
|
+
signRawMessage({ accountAddress, context, message, password, }: {
|
|
153
177
|
accountAddress: string;
|
|
178
|
+
context?: SignMessageContext | undefined;
|
|
154
179
|
message: string;
|
|
155
180
|
password?: string | undefined;
|
|
156
181
|
}): Promise<string>;
|