@dynamic-labs/bitcoin 4.91.5 → 4.92.0

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,27 @@
1
1
 
2
+ ## [4.92.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.6...v4.92.0) (2026-07-08)
3
+
4
+
5
+ ### Features
6
+
7
+ * **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))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **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))
13
+ * **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))
14
+ * 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))
15
+ * **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))
16
+ * **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))
17
+
18
+ ### [4.91.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.5...v4.91.6) (2026-07-03)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * **react-native:** ensure webview loads on cold start ([#11787](https://github.com/dynamic-labs/dynamic-auth/issues/11787)) ([8f3dc8e](https://github.com/dynamic-labs/dynamic-auth/commit/8f3dc8e2a7de06f012ea6e922d4e76aee1c84c1a))
24
+
2
25
  ### [4.91.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.4...v4.91.5) (2026-07-02)
3
26
 
4
27
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.91.5";
6
+ var version = "4.92.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.91.5";
2
+ var version = "4.92.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/bitcoin",
3
- "version": "4.91.5",
3
+ "version": "4.92.0",
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.1046",
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.91.5",
33
- "@dynamic-labs/logger": "4.91.5",
34
- "@dynamic-labs/types": "4.91.5",
35
- "@dynamic-labs/utils": "4.91.5",
36
- "@dynamic-labs/waas": "4.91.5",
37
- "@dynamic-labs/wallet-book": "4.91.5",
38
- "@dynamic-labs/wallet-connector-core": "4.91.5",
32
+ "@dynamic-labs/assert-package-version": "4.92.0",
33
+ "@dynamic-labs/logger": "4.92.0",
34
+ "@dynamic-labs/types": "4.92.0",
35
+ "@dynamic-labs/utils": "4.92.0",
36
+ "@dynamic-labs/waas": "4.92.0",
37
+ "@dynamic-labs/wallet-book": "4.92.0",
38
+ "@dynamic-labs/wallet-connector-core": "4.92.0",
39
39
  "eventemitter3": "5.0.1"
40
40
  },
41
41
  "peerDependencies": {}
@@ -66,16 +66,31 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
66
66
  getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined, { forceRebuild }?: {
67
67
  forceRebuild?: boolean | undefined;
68
68
  } | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
69
- createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, }?: {
69
+ createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, businessAccountId, }?: {
70
70
  thresholdSignatureScheme?: string | undefined;
71
71
  password?: string | undefined;
72
72
  bitcoinConfig?: BitcoinConfig | undefined;
73
+ businessAccountId?: string | undefined;
73
74
  } | undefined): Promise<{
74
75
  chainName: string;
75
76
  accountAddress: string;
76
77
  publicKeyHex: string;
77
78
  rawPublicKey: string | Uint8Array | undefined;
78
79
  }>;
80
+ addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, }: {
81
+ accountAddress: string;
82
+ walletId?: string | undefined;
83
+ businessAccountId: string;
84
+ targetSignerIdentity: {
85
+ userId?: string | undefined;
86
+ identifier?: string | undefined;
87
+ identifierType?: string | undefined;
88
+ };
89
+ signerType?: "endUser" | "server" | undefined;
90
+ password?: string | undefined;
91
+ }): Promise<{
92
+ shareSetId: string;
93
+ }>;
79
94
  importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, }: {
80
95
  privateKey: string;
81
96
  thresholdSignatureScheme?: string | undefined;
@@ -92,7 +107,7 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
92
107
  expectedAddresses: Record<string, string>;
93
108
  coinTypes?: Record<string, number> | undefined;
94
109
  password?: string | undefined;
95
- }): Promise<import("@dynamic-labs-wallet/browser-wallet-client").MigrateFromFireblocksResponse>;
110
+ }): Promise<Record<string, unknown>>;
96
111
  exportPrivateKey({ accountAddress, displayContainer, password, }?: {
97
112
  accountAddress?: string | undefined;
98
113
  displayContainer?: HTMLIFrameElement | undefined;
@@ -122,11 +137,7 @@ declare const DynamicWaasBitcoinConnector_base: (abstract new (...args: any[]) =
122
137
  displayContainer: HTMLElement;
123
138
  }): Promise<void>;
124
139
  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
- */
140
+ isICloudAuthenticated(): Promise<boolean>;
130
141
  refreshWalletAccountShares({ accountAddress, password, }: {
131
142
  accountAddress: string;
132
143
  password?: string | undefined;