@dynamic-labs/stellar 4.89.0 → 4.91.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,40 @@
1
1
 
2
+ ## [4.91.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.90.0...v4.91.0) (2026-06-23)
3
+
4
+
5
+ ### Features
6
+
7
+ * **midnight:** add WaaS layer to @dynamic-labs/midnight ([#11006](https://github.com/dynamic-labs/dynamic-auth/issues/11006)) ([01b9d16](https://github.com/dynamic-labs/dynamic-auth/commit/01b9d16d0ba92a141a9be546ca00cca4029894d5))
8
+ * **sdk-react-core:** widget support for Midnight multi-address display + export hiding ([#11008](https://github.com/dynamic-labs/dynamic-auth/issues/11008)) ([87320b4](https://github.com/dynamic-labs/dynamic-auth/commit/87320b4d6e286b88e17f144641346e16a27e9e71))
9
+ * **waas:** wire session public key through host backup ops for keyshare diagnostics [DYNT-1280] ([#11675](https://github.com/dynamic-labs/dynamic-auth/issues/11675)) ([4f7981c](https://github.com/dynamic-labs/dynamic-auth/commit/4f7981c009930469dec7b3dec93f20f99bbe5498))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **ethereum-aa:** make ZeroDevConnector inert instead of throwing when ZeroDev config is absent ([#11610](https://github.com/dynamic-labs/dynamic-auth/issues/11610)) ([a3aab6a](https://github.com/dynamic-labs/dynamic-auth/commit/a3aab6a97e2e996f96b725f9336704b844f79603))
15
+ * **react-native-extension:** fall back to react-native-webview when embedded native module is unavailable ([#11683](https://github.com/dynamic-labs/dynamic-auth/issues/11683)) ([3f8d92c](https://github.com/dynamic-labs/dynamic-auth/commit/3f8d92ca0c327128b16e3355ab2f4e63d2c8e731))
16
+ * **sdk-react-core:** warn instead of throwing when ZeroDev connector is absent ([#11611](https://github.com/dynamic-labs/dynamic-auth/issues/11611)) ([5836252](https://github.com/dynamic-labs/dynamic-auth/commit/58362524e45205399c0fdc5b92414190d1929e0b))
17
+ * **waas-evm:** sign EOA transactions with the resolved chainId, not the connector default ([#11653](https://github.com/dynamic-labs/dynamic-auth/issues/11653)) ([e634098](https://github.com/dynamic-labs/dynamic-auth/commit/e634098f0f23f4c53f92a580db6f4aacbd6b1f92))
18
+
19
+ ## [4.90.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.89.0...v4.90.0) (2026-06-19)
20
+
21
+
22
+ ### Features
23
+
24
+ * add microsoft to social providers list ([#11631](https://github.com/dynamic-labs/dynamic-auth/issues/11631)) ([761b82d](https://github.com/dynamic-labs/dynamic-auth/commit/761b82dea2e2e86ec1c8b3fc8bab32ed72492132))
25
+ * **sdk-react-core:** preconnect to waas iframe origin at auth-flow start ([#11549](https://github.com/dynamic-labs/dynamic-auth/issues/11549)) ([1bb810c](https://github.com/dynamic-labs/dynamic-auth/commit/1bb810c4eb3d592b43f62c1eaf5450a0e42981c9)), closes [dynamic-labs/dynamic-wallet-sdk#1314](https://github.com/dynamic-labs/dynamic-wallet-sdk/issues/1314)
26
+ * **waas:** opt into SDK eager key-share recovery, drop host RECOVER loop (DYNT-1125) ([#11620](https://github.com/dynamic-labs/dynamic-auth/issues/11620)) ([4bef955](https://github.com/dynamic-labs/dynamic-auth/commit/4bef955b902a7e484ba8bd6323582843bb692a17))
27
+ * **wallet-connector-core:** add isMidnightConnector util + Midnight interface hooks ([#11005](https://github.com/dynamic-labs/dynamic-auth/issues/11005)) ([55117a8](https://github.com/dynamic-labs/dynamic-auth/commit/55117a8cf59640d00b358f68be8df6b29231fab5))
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * **sdk-react-core:** gate smart-wallet init on user:basic scope ([#11624](https://github.com/dynamic-labs/dynamic-auth/issues/11624)) ([9f891a4](https://github.com/dynamic-labs/dynamic-auth/commit/9f891a46a191532acdd4a91b74c4586089ef0e1a)), closes [#11623](https://github.com/dynamic-labs/dynamic-auth/issues/11623) [#11623](https://github.com/dynamic-labs/dynamic-auth/issues/11623) [#11626](https://github.com/dynamic-labs/dynamic-auth/issues/11626)
33
+ * **sdk-react-core:** search wallet list by metadata name in addition to connector name ([#11638](https://github.com/dynamic-labs/dynamic-auth/issues/11638)) ([a647614](https://github.com/dynamic-labs/dynamic-auth/commit/a647614bcba769e09ef59bf1ddb925ce9835842e))
34
+ * **waas:** rebuild WaaS client on session change after step-up reauth ([#11581](https://github.com/dynamic-labs/dynamic-auth/issues/11581)) ([2b7093e](https://github.com/dynamic-labs/dynamic-auth/commit/2b7093e27f57f1dfcdd303361d436d9bf33e28a9))
35
+ * **waas:** refuse to build WaaS client while auth scope is pending (createRooms 401 chokepoint) ([#11623](https://github.com/dynamic-labs/dynamic-auth/issues/11623)) ([08755f0](https://github.com/dynamic-labs/dynamic-auth/commit/08755f0bda2b74c7bcdff3d0ac9c228a5205ad6e)), closes [#11624](https://github.com/dynamic-labs/dynamic-auth/issues/11624)
36
+ * **wallet-connect:** skip address comparison on reconnect when expectedAddress is empty ([#11639](https://github.com/dynamic-labs/dynamic-auth/issues/11639)) ([8d665cf](https://github.com/dynamic-labs/dynamic-auth/commit/8d665cf3bf1fb0e498d71f14cc8a53d91593c23d))
37
+
2
38
  ## [4.89.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.88.6...v4.89.0) (2026-06-16)
3
39
 
4
40
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.89.0";
6
+ var version = "4.91.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.89.0";
2
+ var version = "4.91.0";
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.89.0",
3
+ "version": "4.91.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.8.2",
22
- "@dynamic-labs/sdk-api-core": "0.0.1015",
21
+ "@dynamic-labs-sdk/client": "1.12.1",
22
+ "@dynamic-labs/sdk-api-core": "0.0.1046",
23
23
  "@stellar/stellar-sdk": "14.4.3",
24
- "@dynamic-labs/wallet-connector-core": "4.89.0",
25
- "@dynamic-labs/assert-package-version": "4.89.0",
24
+ "@dynamic-labs/wallet-connector-core": "4.91.0",
25
+ "@dynamic-labs/assert-package-version": "4.91.0",
26
26
  "@lobstrco/signer-extension-api": "2.0.0",
27
27
  "@stellar/freighter-api": "6.0.1",
28
- "@dynamic-labs/logger": "4.89.0",
29
- "@dynamic-labs/types": "4.89.0",
30
- "@dynamic-labs/utils": "4.89.0",
31
- "@dynamic-labs/waas": "4.89.0",
32
- "@dynamic-labs/wallet-book": "4.89.0",
28
+ "@dynamic-labs/logger": "4.91.0",
29
+ "@dynamic-labs/types": "4.91.0",
30
+ "@dynamic-labs/utils": "4.91.0",
31
+ "@dynamic-labs/waas": "4.91.0",
32
+ "@dynamic-labs/wallet-book": "4.91.0",
33
33
  "eventemitter3": "5.0.1"
34
34
  },
35
35
  "peerDependencies": {}
@@ -15,6 +15,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
15
15
  overrideKey: string;
16
16
  isEmbeddedWallet: boolean;
17
17
  getSignedSessionId?: (() => Promise<string>) | undefined;
18
+ getSessionPublicKey?: (() => Promise<string | undefined>) | undefined;
18
19
  getMfaToken?: ((props?: {
19
20
  mfaAction?: MFAAction | undefined;
20
21
  } | undefined) => Promise<string | undefined>) | undefined;
@@ -46,10 +47,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
46
47
  setGetWalletPasswordFunction(getWalletPassword: import("@dynamic-labs/wallet-connector-core").GetWalletPasswordFn): void;
47
48
  getPasswordIfNeeded({ accountAddress, }: {
48
49
  accountAddress: string;
49
- }): Promise<string | undefined>; /**
50
- * Override setVerifiedCredentials to filter and set Stellar WaaS credentials
51
- * Filters for credentials with walletName === 'dynamicwaas' and chain === 'stellar'
52
- */
50
+ }): Promise<string | undefined>;
53
51
  getPassword({ accountAddress, }: {
54
52
  accountAddress: string;
55
53
  }): Promise<string | undefined>;
@@ -58,16 +56,19 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
58
56
  setBaseClientKeysharesRelayApiUrl(baseClientKeysharesRelayApiUrl?: string | undefined): void;
59
57
  setRelayUrl(relayUrl: string): void;
60
58
  setGetSignedSessionIdFunction(getSignedSessionId: () => Promise<string>): void;
59
+ setGetSessionPublicKeyFunction(getSessionPublicKey: () => Promise<string | undefined>): void;
61
60
  delegateKeyShares({ accountAddress, password, }: {
62
61
  accountAddress: string;
63
62
  password?: string | undefined;
64
63
  }): Promise<void>;
65
64
  createDynamicWaasClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
66
- getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
65
+ getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined, { forceRebuild }?: {
66
+ forceRebuild?: boolean | undefined;
67
+ } | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
67
68
  createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, }?: {
68
69
  thresholdSignatureScheme?: string | undefined;
69
70
  password?: string | undefined;
70
- bitcoinConfig?: import("@dynamic-labs-wallet/core").BitcoinConfig | undefined;
71
+ bitcoinConfig?: import("@dynamic-labs-wallet/browser-wallet-client").BitcoinConfig | undefined;
71
72
  } | undefined): Promise<{
72
73
  chainName: string;
73
74
  accountAddress: string;
@@ -85,12 +86,6 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
85
86
  exportPrivateKey({ accountAddress, displayContainer, password, }?: {
86
87
  accountAddress?: string | undefined;
87
88
  displayContainer?: HTMLIFrameElement | undefined;
88
- /**
89
- * Validates that the expected wallet address matches the active wallet
90
- * Updates the active account address if it doesn't match
91
- * @param expectedAddress - The expected wallet address to validate
92
- * @throws {DynamicError} If signed session ID is not available or account is not found
93
- */
94
89
  password?: string | undefined;
95
90
  } | undefined): Promise<void>;
96
91
  getExportHandler(): {
@@ -130,13 +125,11 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
130
125
  revokeDelegation({ accountAddress, password, }: {
131
126
  accountAddress: string;
132
127
  password?: string | undefined;
133
- }): Promise<void>; /**
134
- * Gets the active wallet address
135
- * Falls back to verified credential address if no active account is set
136
- * @returns The wallet address or empty string if not found
137
- */
128
+ }): Promise<void>;
138
129
  updatePassword({ accountAddress, existingPassword, newPassword, }: {
139
- accountAddress: string;
130
+ accountAddress: string; /**
131
+ * Connects to the WaaS wallet client
132
+ */
140
133
  existingPassword?: string | undefined;
141
134
  newPassword: string;
142
135
  }): Promise<void>;
@@ -152,10 +145,10 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
152
145
  unlockWallet({ accountAddress, password, }: {
153
146
  accountAddress: string;
154
147
  password?: string | undefined;
155
- }): Promise<import("@dynamic-labs-wallet/core").GetWalletResponse>;
148
+ }): Promise<import("@dynamic-labs-wallet/browser-wallet-client").GetWalletResponse>;
156
149
  getWalletRecoveryState({ accountAddress, }: {
157
150
  accountAddress: string;
158
- }): Promise<import("@dynamic-labs-wallet/core").WalletRecoveryState>;
151
+ }): Promise<import("@dynamic-labs-wallet/browser-wallet-client").WalletRecoveryState>;
159
152
  endSession(reason?: LogoutReason | undefined): Promise<void>;
160
153
  getActiveAccountAddress(): Promise<string | undefined>;
161
154
  getConnectedAccounts(): Promise<string[]>;
@@ -176,6 +169,16 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
176
169
  fn: (timing: import("dist/packages/waas/utils/instrumentation").InstrumentationTimer) => Promise<T_1>;
177
170
  context?: Record<string, any> | undefined;
178
171
  }): Promise<T_1>;
172
+ getPrivateBalance(): Promise<{
173
+ unshielded: Record<string, string>;
174
+ shielded: Record<string, string>;
175
+ dust: {
176
+ balance: string;
177
+ cap: string;
178
+ };
179
+ address: string;
180
+ dustSynced: boolean;
181
+ }>;
179
182
  }) & typeof StellarWalletConnector;
180
183
  /**
181
184
  * WaaS (Wallet-as-a-Service) connector for Stellar blockchain.