@dynamic-labs/stellar 4.91.6 → 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,20 @@
|
|
|
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
|
+
|
|
2
18
|
### [4.91.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.5...v4.91.6) (2026-07-03)
|
|
3
19
|
|
|
4
20
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/stellar",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.92.0",
|
|
4
4
|
"description": "A React SDK for implementing Stellar wallet web3 authentication and authorization to your website.",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs-sdk/client": "1.
|
|
22
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
21
|
+
"@dynamic-labs-sdk/client": "1.18.0",
|
|
22
|
+
"@dynamic-labs/sdk-api-core": "0.0.1067",
|
|
23
23
|
"@stellar/stellar-sdk": "14.4.3",
|
|
24
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
25
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
24
|
+
"@dynamic-labs/wallet-connector-core": "4.92.0",
|
|
25
|
+
"@dynamic-labs/assert-package-version": "4.92.0",
|
|
26
26
|
"@lobstrco/signer-extension-api": "2.0.0",
|
|
27
27
|
"@stellar/freighter-api": "6.0.1",
|
|
28
|
-
"@dynamic-labs/logger": "4.
|
|
29
|
-
"@dynamic-labs/types": "4.
|
|
30
|
-
"@dynamic-labs/utils": "4.
|
|
31
|
-
"@dynamic-labs/waas": "4.
|
|
32
|
-
"@dynamic-labs/wallet-book": "4.
|
|
28
|
+
"@dynamic-labs/logger": "4.92.0",
|
|
29
|
+
"@dynamic-labs/types": "4.92.0",
|
|
30
|
+
"@dynamic-labs/utils": "4.92.0",
|
|
31
|
+
"@dynamic-labs/waas": "4.92.0",
|
|
32
|
+
"@dynamic-labs/wallet-book": "4.92.0",
|
|
33
33
|
"eventemitter3": "5.0.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {}
|
|
@@ -69,16 +69,31 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
69
69
|
getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined, { forceRebuild }?: {
|
|
70
70
|
forceRebuild?: boolean | undefined;
|
|
71
71
|
} | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
|
|
72
|
-
createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, }?: {
|
|
72
|
+
createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, businessAccountId, }?: {
|
|
73
73
|
thresholdSignatureScheme?: string | undefined;
|
|
74
74
|
password?: string | undefined;
|
|
75
75
|
bitcoinConfig?: import("@dynamic-labs-wallet/browser-wallet-client").BitcoinConfig | undefined;
|
|
76
|
+
businessAccountId?: string | undefined;
|
|
76
77
|
} | undefined): Promise<{
|
|
77
78
|
chainName: string;
|
|
78
79
|
accountAddress: string;
|
|
79
80
|
publicKeyHex: string;
|
|
80
81
|
rawPublicKey: string | Uint8Array | undefined;
|
|
81
82
|
}>;
|
|
83
|
+
addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, }: {
|
|
84
|
+
accountAddress: string;
|
|
85
|
+
walletId?: string | undefined;
|
|
86
|
+
businessAccountId: string;
|
|
87
|
+
targetSignerIdentity: {
|
|
88
|
+
userId?: string | undefined;
|
|
89
|
+
identifier?: string | undefined;
|
|
90
|
+
identifierType?: string | undefined;
|
|
91
|
+
};
|
|
92
|
+
signerType?: "endUser" | "server" | undefined;
|
|
93
|
+
password?: string | undefined;
|
|
94
|
+
}): Promise<{
|
|
95
|
+
shareSetId: string;
|
|
96
|
+
}>;
|
|
82
97
|
importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, }: {
|
|
83
98
|
privateKey: string;
|
|
84
99
|
thresholdSignatureScheme?: string | undefined;
|
|
@@ -95,7 +110,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
95
110
|
expectedAddresses: Record<string, string>;
|
|
96
111
|
coinTypes?: Record<string, number> | undefined;
|
|
97
112
|
password?: string | undefined;
|
|
98
|
-
}): Promise<
|
|
113
|
+
}): Promise<Record<string, unknown>>;
|
|
99
114
|
exportPrivateKey({ accountAddress, displayContainer, password, }?: {
|
|
100
115
|
accountAddress?: string | undefined;
|
|
101
116
|
displayContainer?: HTMLIFrameElement | undefined;
|
|
@@ -128,7 +143,13 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
128
143
|
isICloudAuthenticated(): Promise<boolean>;
|
|
129
144
|
refreshWalletAccountShares({ accountAddress, password, }: {
|
|
130
145
|
accountAddress: string;
|
|
131
|
-
password?: string | undefined;
|
|
146
|
+
password?: string | undefined; /**
|
|
147
|
+
* Internal method to sign a message with MFA token
|
|
148
|
+
* @param message - The message to sign
|
|
149
|
+
* @returns The signed message as a string
|
|
150
|
+
* @throws {DynamicError} If active account address is not set
|
|
151
|
+
* @throws {DynamicError} If signed session ID is not available
|
|
152
|
+
*/
|
|
132
153
|
}): Promise<void>;
|
|
133
154
|
reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: {
|
|
134
155
|
accountAddress: string;
|
|
@@ -170,11 +191,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
|
|
|
170
191
|
errorType: string | undefined;
|
|
171
192
|
} | {
|
|
172
193
|
errorCode: string;
|
|
173
|
-
errorMessage?: undefined;
|
|
174
|
-
* Signs a Stellar transaction XDR.
|
|
175
|
-
* @param transactionXdr - The XDR-encoded transaction envelope to sign
|
|
176
|
-
* @returns The signed transaction XDR
|
|
177
|
-
*/
|
|
194
|
+
errorMessage?: undefined;
|
|
178
195
|
errorType?: undefined;
|
|
179
196
|
};
|
|
180
197
|
instrument(message: string, context: import("@dynamic-labs/logger").InstrumentOptions & import("dist/packages/waas/utils/instrumentation").InstrumentContext & Record<string, any>): void;
|