@dynamic-labs/stellar 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
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.91.6";
6
+ var version = "4.92.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.91.6";
2
+ var version = "4.92.1";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/stellar",
3
- "version": "4.91.6",
3
+ "version": "4.92.1",
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.12.1",
22
- "@dynamic-labs/sdk-api-core": "0.0.1046",
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.91.6",
25
- "@dynamic-labs/assert-package-version": "4.91.6",
24
+ "@dynamic-labs/wallet-connector-core": "4.92.1",
25
+ "@dynamic-labs/assert-package-version": "4.92.1",
26
26
  "@lobstrco/signer-extension-api": "2.0.0",
27
27
  "@stellar/freighter-api": "6.0.1",
28
- "@dynamic-labs/logger": "4.91.6",
29
- "@dynamic-labs/types": "4.91.6",
30
- "@dynamic-labs/utils": "4.91.6",
31
- "@dynamic-labs/waas": "4.91.6",
32
- "@dynamic-labs/wallet-book": "4.91.6",
28
+ "@dynamic-labs/logger": "4.92.1",
29
+ "@dynamic-labs/types": "4.92.1",
30
+ "@dynamic-labs/utils": "4.92.1",
31
+ "@dynamic-labs/waas": "4.92.1",
32
+ "@dynamic-labs/wallet-book": "4.92.1",
33
33
  "eventemitter3": "5.0.1"
34
34
  },
35
35
  "peerDependencies": {}
@@ -31,7 +31,9 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
31
31
  baseClientKeysharesRelayApiUrl?: string | undefined;
32
32
  dynamicWaasClient: import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient | undefined;
33
33
  revokeSignedSession: (() => void) | undefined;
34
- chainName: string;
34
+ chainName: string; /**
35
+ * @param props - Constructor properties including walletUiUtils
36
+ */
35
37
  authMode: "cookie" | "header";
36
38
  logger: Logger;
37
39
  __exportHandler: import("@dynamic-labs/waas").WaasExportHandler;
@@ -69,16 +71,31 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
69
71
  getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined, { forceRebuild }?: {
70
72
  forceRebuild?: boolean | undefined;
71
73
  } | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
72
- createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, }?: {
74
+ createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, businessAccountId, }?: {
73
75
  thresholdSignatureScheme?: string | undefined;
74
76
  password?: string | undefined;
75
77
  bitcoinConfig?: import("@dynamic-labs-wallet/browser-wallet-client").BitcoinConfig | undefined;
78
+ businessAccountId?: string | undefined;
76
79
  } | undefined): Promise<{
77
80
  chainName: string;
78
81
  accountAddress: string;
79
82
  publicKeyHex: string;
80
83
  rawPublicKey: string | Uint8Array | undefined;
81
84
  }>;
85
+ addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, }: {
86
+ accountAddress: string;
87
+ walletId?: string | undefined;
88
+ businessAccountId: string;
89
+ targetSignerIdentity: {
90
+ userId?: string | undefined;
91
+ identifier?: string | undefined;
92
+ identifierType?: string | undefined;
93
+ };
94
+ signerType?: "endUser" | "server" | undefined;
95
+ password?: string | undefined;
96
+ }): Promise<{
97
+ shareSetId: string;
98
+ }>;
82
99
  importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, }: {
83
100
  privateKey: string;
84
101
  thresholdSignatureScheme?: string | undefined;
@@ -95,7 +112,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
95
112
  expectedAddresses: Record<string, string>;
96
113
  coinTypes?: Record<string, number> | undefined;
97
114
  password?: string | undefined;
98
- }): Promise<import("@dynamic-labs-wallet/browser-wallet-client").MigrateFromFireblocksResponse>;
115
+ }): Promise<Record<string, unknown>>;
99
116
  exportPrivateKey({ accountAddress, displayContainer, password, }?: {
100
117
  accountAddress?: string | undefined;
101
118
  displayContainer?: HTMLIFrameElement | undefined;
@@ -148,8 +165,9 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
148
165
  accountAddress: string;
149
166
  newPassword: string;
150
167
  }): Promise<void>;
151
- signRawMessage({ accountAddress, message, password, }: {
168
+ signRawMessage({ accountAddress, context, message, password, }: {
152
169
  accountAddress: string;
170
+ context?: SignMessageContext | undefined;
153
171
  message: string;
154
172
  password?: string | undefined;
155
173
  }): Promise<string>;
@@ -160,6 +178,9 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
160
178
  getWalletRecoveryState({ accountAddress, }: {
161
179
  accountAddress: string;
162
180
  }): Promise<import("@dynamic-labs-wallet/browser-wallet-client").WalletRecoveryState>;
181
+ /**
182
+ * Ends the current session and clears the active account address
183
+ */
163
184
  endSession(reason?: LogoutReason | undefined): Promise<void>;
164
185
  getActiveAccountAddress(): Promise<string | undefined>;
165
186
  getConnectedAccounts(): Promise<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;