@dynamic-labs/stellar 5.9.0 → 5.9.2

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,19 @@
1
1
 
2
+ ### [5.9.2](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.1...v5.9.2) (2026-09-28)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **waas:** pass elevatedAccessToken and thread signed intents through addSigner ([#12432](https://github.com/dynamic-labs/dynamic-auth/issues/12432)) ([b754f33](https://github.com/dynamic-labs/dynamic-auth/commit/b754f33b72ac93b9960deb5e133dcdbccb06d638))
8
+
9
+ ### [5.9.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.0...v5.9.1) (2026-09-18)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **sdk-react-core:** sanitize interpolated values in theme stylesheet builder ([#12416](https://github.com/dynamic-labs/dynamic-auth/issues/12416)) ([f256c08](https://github.com/dynamic-labs/dynamic-auth/commit/f256c08209b7818292a7d4d76793c592bd0ca2a0))
15
+ * **webview-controller:** route MetaMask connector storage through native secure storage ([#12304](https://github.com/dynamic-labs/dynamic-auth/issues/12304)) ([627a483](https://github.com/dynamic-labs/dynamic-auth/commit/627a4839a8071d2b2eed1ef6536cd3ecfc833000)), closes [dynamic-labs-oss/public-wallet-connectors#189](https://github.com/dynamic-labs-oss/public-wallet-connectors/issues/189)
16
+
2
17
  ## [5.9.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.8.1...v5.9.0) (2026-09-16)
3
18
 
4
19
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "5.9.0";
6
+ var version = "5.9.2";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "5.9.0";
2
+ var version = "5.9.2";
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.9.0",
3
+ "version": "5.9.2",
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.31.2",
22
- "@dynamic-labs/sdk-api-core": "0.32.0",
21
+ "@dynamic-labs-sdk/client": "1.33.3",
22
+ "@dynamic-labs/sdk-api-core": "0.40.0",
23
23
  "@stellar/stellar-sdk": "14.4.3",
24
- "@dynamic-labs/wallet-connector-core": "5.9.0",
25
- "@dynamic-labs/assert-package-version": "5.9.0",
24
+ "@dynamic-labs/wallet-connector-core": "5.9.2",
25
+ "@dynamic-labs/assert-package-version": "5.9.2",
26
26
  "@lobstrco/signer-extension-api": "2.0.0",
27
27
  "@stellar/freighter-api": "6.0.1",
28
- "@dynamic-labs/logger": "5.9.0",
29
- "@dynamic-labs/types": "5.9.0",
30
- "@dynamic-labs/utils": "5.9.0",
31
- "@dynamic-labs/waas": "5.9.0",
32
- "@dynamic-labs/wallet-book": "5.9.0",
28
+ "@dynamic-labs/logger": "5.9.2",
29
+ "@dynamic-labs/types": "5.9.2",
30
+ "@dynamic-labs/utils": "5.9.2",
31
+ "@dynamic-labs/waas": "5.9.2",
32
+ "@dynamic-labs/wallet-book": "5.9.2",
33
33
  "eventemitter3": "5.0.1"
34
34
  },
35
35
  "peerDependencies": {}
@@ -31,13 +31,7 @@ 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: ((reason?: string | undefined) => void) | undefined;
34
- chainName: string; /**
35
- * Signs a message with additional context information
36
- * @param message - The message to sign (string or object with raw property)
37
- * @param context - Additional context for the message signing
38
- * @returns The signed message as a string
39
- * @throws {Error} Method not implemented for Stellar
40
- */
34
+ chainName: string;
41
35
  authMode: "cookie" | "header";
42
36
  logger: Logger;
43
37
  __exportHandler: import("@dynamic-labs/waas").WaasExportHandler;
@@ -50,10 +44,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
50
44
  } | undefined) => Promise<string | undefined>): void;
51
45
  setGetElevatedAccessTokenFunction(getElevatedAccessToken: (params: {
52
46
  scope: TokenScope;
53
- }) => Promise<string | undefined>): void; /**
54
- * Override setVerifiedCredentials to filter and set Stellar WaaS credentials
55
- * Filters for credentials with walletName === 'dynamicwaas' and chain === 'stellar'
56
- */
47
+ }) => Promise<string | undefined>): void;
57
48
  setGetWalletPasswordFunction(getWalletPassword: import("@dynamic-labs/wallet-connector-core").GetWalletPasswordFn): void;
58
49
  getPasswordIfNeeded({ accountAddress, }: {
59
50
  accountAddress: string;
@@ -61,11 +52,17 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
61
52
  getPassword({ accountAddress, }: {
62
53
  accountAddress: string;
63
54
  }): Promise<string | undefined>;
64
- setEnvironmentId(environmentId: string): void;
55
+ setEnvironmentId(environmentId: string): void; /**
56
+ * Sets the active account address for this connector
57
+ * @param accountAddress - The Stellar account address to set as active
58
+ */
65
59
  setBaseApiUrl(baseApiUrl: string): void;
66
60
  setBaseClientKeysharesRelayApiUrl(baseClientKeysharesRelayApiUrl?: string | undefined): void;
67
61
  setRelayUrl(relayUrl: string): void;
68
- setGetSignedSessionIdFunction(getSignedSessionId: () => Promise<string>): void;
62
+ setGetSignedSessionIdFunction(getSignedSessionId: () => Promise<string>): void; /**
63
+ * Called when the user selects this wallet in the modal.
64
+ * Sets the active account so getAddress/getNetwork work correctly during network validation.
65
+ */
69
66
  setGetSessionPublicKeyFunction(getSessionPublicKey: () => Promise<string | undefined>): void;
70
67
  delegateKeyShares({ accountAddress, password, initialSignerRules, }: {
71
68
  accountAddress: string;
@@ -86,7 +83,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
86
83
  publicKeyHex: string;
87
84
  rawPublicKey: string | Uint8Array | undefined;
88
85
  }>;
89
- addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, targetSignerPassword, }: {
86
+ addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, targetSignerPassword, intent, intentSignature, }: {
90
87
  accountAddress: string;
91
88
  walletId?: string | undefined;
92
89
  businessAccountId: string;
@@ -98,7 +95,9 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
98
95
  signerType?: "endUser" | "server" | undefined;
99
96
  password?: string | undefined;
100
97
  targetSignerPassword?: string | undefined;
101
- }): Promise<{
98
+ intent?: import("@dynamic-labs-wallet/core").BusinessAccountIntent | undefined;
99
+ intentSignature?: string | undefined;
100
+ }): Promise<import("@dynamic-labs-wallet/core").BusinessAccountActionRequired | {
102
101
  shareSetId: string;
103
102
  }>;
104
103
  importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, isRawScalarImport, }: import("@dynamic-labs/wallet-connector-core").ImportPrivateKeyParams): Promise<void>;
@@ -118,7 +117,13 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
118
117
  } | undefined): Promise<void>;
119
118
  getExportHandler(): {
120
119
  clear: () => void;
121
- };
120
+ }; /**
121
+ * Internal method to sign a message with MFA token
122
+ * @param message - The message to sign
123
+ * @returns The signed message as a string
124
+ * @throws {DynamicError} If active account address is not set
125
+ * @throws {DynamicError} If signed session ID is not available
126
+ */
122
127
  exportClientKeyshares({ accountAddress, password, }: import("@dynamic-labs/wallet-connector-core").ExportClientKeysharesParams): Promise<void>;
123
128
  runBackupLifecycle({ provider, accountAddress, password, performBackup, }: {
124
129
  provider: string;
@@ -145,7 +150,11 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
145
150
  password?: string | undefined;
146
151
  }): Promise<void>;
147
152
  displayICloudSignIn({ displayContainer, }: {
148
- displayContainer: HTMLElement;
153
+ displayContainer: HTMLElement; /**
154
+ * Signs a Stellar transaction XDR.
155
+ * @param transactionXdr - The XDR-encoded transaction envelope to sign
156
+ * @returns The signed transaction XDR
157
+ */
149
158
  }): Promise<void>;
150
159
  hideICloudSignIn(): Promise<void>;
151
160
  isICloudAuthenticated(): Promise<boolean>;
@@ -169,10 +178,10 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
169
178
  unlockWallet({ accountAddress, password, }: {
170
179
  accountAddress: string;
171
180
  password?: string | undefined;
172
- }): Promise<import("@dynamic-labs-wallet/browser-wallet-client").GetWalletResponse>;
181
+ }): Promise<import("@dynamic-labs-wallet/core").GetWalletResponse>;
173
182
  getWalletRecoveryState({ accountAddress, }: {
174
183
  accountAddress: string;
175
- }): Promise<import("@dynamic-labs-wallet/browser-wallet-client").WalletRecoveryState>;
184
+ }): Promise<import("@dynamic-labs-wallet/core").WalletRecoveryState>;
176
185
  createOfflineRecoveryShares({ accountAddress, password, cloudProviderAccessToken, mfaToken, }: {
177
186
  accountAddress: string;
178
187
  password?: string | undefined;