@dynamic-labs/stellar 5.0.0-rc.0 → 5.0.0-rc.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,5 +1,76 @@
1
1
 
2
- ## [5.0.0-rc.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.6...v5.0.0-rc.0) (2026-07-05)
2
+ ## [5.0.0-rc.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.0.0-rc.0...v5.0.0-rc.1) (2026-07-17)
3
+
4
+
5
+ ### ⚠ BREAKING CHANGES
6
+
7
+ * move legacy embedded wallet to waas upgrade flow to new legacy-embedded-wallet-migration package (#11841)
8
+ * drop default injection of legacy embedded wallet connectors (#11833)
9
+ * remove legacy embedded wallet support (#11979)
10
+ * throw when legacy embedded wallet is detected without migration provider (#11855)
11
+ * remove deprecated eclipse package (#11831)
12
+ * remove deprecated functions and props (#11832)
13
+
14
+
15
+ ### [4.92.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.92.3...v4.92.4) (2026-07-16)
16
+
17
+
18
+ ### Features
19
+
20
+ * **bitcoin:** per-network address switching and dust-limit send validation [v4] ([#11970](https://github.com/dynamic-labs/dynamic-auth/issues/11970)) ([76a4a9a](https://github.com/dynamic-labs/dynamic-auth/commit/76a4a9a5025d78798ebd1beffe6c0af59d2d029a)), closes [#11896](https://github.com/dynamic-labs/dynamic-auth/issues/11896) [#11800](https://github.com/dynamic-labs/dynamic-auth/issues/11800)
21
+ * **midnight:** per-network addresses in deposit and wallet info views [v4] ([#11949](https://github.com/dynamic-labs/dynamic-auth/issues/11949)) ([978446a](https://github.com/dynamic-labs/dynamic-auth/commit/978446aca8546eb038ba9ed3be0503d10594ee15))
22
+ * **midnight:** resolve wallet address per selected network [v4] ([#11948](https://github.com/dynamic-labs/dynamic-auth/issues/11948)) ([d6f858c](https://github.com/dynamic-labs/dynamic-auth/commit/d6f858c5e35defda7ed73cf97b3fdbe5ed9d131d))
23
+ * set useMetamaskSdk to true by default ([#11926](https://github.com/dynamic-labs/dynamic-auth/issues/11926)) ([75b5a4a](https://github.com/dynamic-labs/dynamic-auth/commit/75b5a4a0fe8b1a375afce145c0b8bdc3ce761117))
24
+
25
+
26
+ ### Bug Fixes
27
+
28
+ * **midnight:** align per-network code with the final main iteration [v4] ([#11971](https://github.com/dynamic-labs/dynamic-auth/issues/11971)) ([3ef3ba8](https://github.com/dynamic-labs/dynamic-auth/commit/3ef3ba8c090dfd9e4286b4e51bf350ea5e6feac7))
29
+ * settle social sign-in when captcha is backed out or oauth popup never responds (v4) ([#11956](https://github.com/dynamic-labs/dynamic-auth/issues/11956)) ([ad49477](https://github.com/dynamic-labs/dynamic-auth/commit/ad49477f2acf61a154bb79cbe26b24f803cdb0e2))
30
+ * validate that private key is not empty before upgrading to WaaS ([#11952](https://github.com/dynamic-labs/dynamic-auth/issues/11952)) ([21dfb83](https://github.com/dynamic-labs/dynamic-auth/commit/21dfb83cb29e42b335bc94a0cdd2062cf14a262a))
31
+
32
+ ### [4.92.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.92.2...v4.92.3) (2026-07-10)
33
+
34
+
35
+ ### Bug Fixes
36
+
37
+ * **sdk-react-core:** fix deterministic 'Wallet not found' crash in embedded wallet export (v4) ([#11906](https://github.com/dynamic-labs/dynamic-auth/issues/11906)) ([913ef23](https://github.com/dynamic-labs/dynamic-auth/commit/913ef236b26245488e1cd5db7e874601b65ff0a2)), closes [#11905](https://github.com/dynamic-labs/dynamic-auth/issues/11905) [#11729](https://github.com/dynamic-labs/dynamic-auth/issues/11729)
38
+
39
+ ### [4.92.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.92.1...v4.92.2) (2026-07-09)
40
+
41
+
42
+ ### Bug Fixes
43
+
44
+ * engage captcha during step-up OTP re-auth ([#11879](https://github.com/dynamic-labs/dynamic-auth/issues/11879)) ([585460a](https://github.com/dynamic-labs/dynamic-auth/commit/585460a8976803a8ed0aad16a4a00047bd6c115a))
45
+ * **waas:** gate v1 wallet upgrade on recovery for email-only wallets ([#11897](https://github.com/dynamic-labs/dynamic-auth/issues/11897)) ([5a6f0c6](https://github.com/dynamic-labs/dynamic-auth/commit/5a6f0c6bf3120e59cf502004d09fae56f193e977))
46
+
47
+ ### [4.92.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.92.0...v4.92.1) (2026-07-09)
48
+
49
+
50
+ ### Bug Fixes
51
+
52
+ * **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))
53
+ * **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))
54
+ * **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))
55
+ * **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))
56
+ * **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))
57
+
58
+ ## [4.92.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.6...v4.92.0) (2026-07-08)
59
+
60
+
61
+ ### Features
62
+
63
+ * **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))
64
+
65
+
66
+ ### Bug Fixes
67
+
68
+ * **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))
69
+ * **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))
70
+ * 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))
71
+ * **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))
72
+ * **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))
73
+
3
74
 
4
75
  ### [4.91.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.91.5...v4.91.6) (2026-07-03)
5
76
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "5.0.0-rc.0";
6
+ var version = "5.0.0-rc.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "5.0.0-rc.0";
2
+ var version = "5.0.0-rc.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": "5.0.0-rc.0",
3
+ "version": "5.0.0-rc.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.1082",
23
23
  "@stellar/stellar-sdk": "14.4.3",
24
- "@dynamic-labs/wallet-connector-core": "5.0.0-rc.0",
25
- "@dynamic-labs/assert-package-version": "5.0.0-rc.0",
24
+ "@dynamic-labs/wallet-connector-core": "5.0.0-rc.1",
25
+ "@dynamic-labs/assert-package-version": "5.0.0-rc.1",
26
26
  "@lobstrco/signer-extension-api": "2.0.0",
27
27
  "@stellar/freighter-api": "6.0.1",
28
- "@dynamic-labs/logger": "5.0.0-rc.0",
29
- "@dynamic-labs/types": "5.0.0-rc.0",
30
- "@dynamic-labs/utils": "5.0.0-rc.0",
31
- "@dynamic-labs/waas": "5.0.0-rc.0",
32
- "@dynamic-labs/wallet-book": "5.0.0-rc.0",
28
+ "@dynamic-labs/logger": "5.0.0-rc.1",
29
+ "@dynamic-labs/types": "5.0.0-rc.1",
30
+ "@dynamic-labs/utils": "5.0.0-rc.1",
31
+ "@dynamic-labs/waas": "5.0.0-rc.1",
32
+ "@dynamic-labs/wallet-book": "5.0.0-rc.1",
33
33
  "eventemitter3": "5.0.1"
34
34
  },
35
35
  "peerDependencies": {}
@@ -30,7 +30,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
30
30
  relayUrl?: string | undefined;
31
31
  baseClientKeysharesRelayApiUrl?: string | undefined;
32
32
  dynamicWaasClient: import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient | undefined;
33
- revokeSignedSession: (() => void) | undefined;
33
+ revokeSignedSession: ((reason?: string | undefined) => void) | undefined;
34
34
  chainName: string;
35
35
  authMode: "cookie" | "header";
36
36
  logger: Logger;
@@ -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<import("@dynamic-labs-wallet/browser-wallet-client").MigrateFromFireblocksResponse>;
113
+ }): Promise<Record<string, unknown>>;
99
114
  exportPrivateKey({ accountAddress, displayContainer, password, }?: {
100
115
  accountAddress?: string | undefined;
101
116
  displayContainer?: HTMLIFrameElement | undefined;
@@ -108,6 +123,21 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
108
123
  accountAddress: string;
109
124
  password?: string | undefined;
110
125
  }): Promise<void>;
126
+ runBackupLifecycle({ provider, accountAddress, password, performBackup, }: {
127
+ provider: string;
128
+ accountAddress: string;
129
+ password?: string | undefined;
130
+ performBackup: (prerequisites: {
131
+ walletClient: import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient;
132
+ resolvedPassword: string | undefined;
133
+ signedSessionId: string;
134
+ sessionPublicKey: string | undefined;
135
+ traceContext: {
136
+ traceId: string;
137
+ startTime: number;
138
+ };
139
+ }) => Promise<void>;
140
+ }): Promise<void>;
111
141
  backupKeySharesToGoogleDrive({ accountAddress, password, googleDriveAccessToken, }: {
112
142
  accountAddress: string;
113
143
  password?: string | undefined;
@@ -148,8 +178,9 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
148
178
  accountAddress: string;
149
179
  newPassword: string;
150
180
  }): Promise<void>;
151
- signRawMessage({ accountAddress, message, password, }: {
181
+ signRawMessage({ accountAddress, context, message, password, }: {
152
182
  accountAddress: string;
183
+ context?: SignMessageContext | undefined;
153
184
  message: string;
154
185
  password?: string | undefined;
155
186
  }): Promise<string>;
@@ -170,11 +201,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
170
201
  errorType: string | undefined;
171
202
  } | {
172
203
  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
- */
204
+ errorMessage?: undefined;
178
205
  errorType?: undefined;
179
206
  };
180
207
  instrument(message: string, context: import("@dynamic-labs/logger").InstrumentOptions & import("dist/packages/waas/utils/instrumentation").InstrumentContext & Record<string, any>): void;