@dynamic-labs/stellar 5.3.2 → 5.4.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,38 @@
1
1
 
2
+ ### [5.4.1](https://github.com/dynamic-labs/dynamic-auth/compare/v5.4.0...v5.4.1) (2026-08-26)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **webview-controller:** resolve which keychain key a session belongs to ([#12246](https://github.com/dynamic-labs/dynamic-auth/issues/12246)) ([3d110db](https://github.com/dynamic-labs/dynamic-auth/commit/3d110db831c6e9d82d07d86841f5c7733924b17e))
8
+ * **bitcoin:** forward the password through the BTC importPrivateKey override ([#12278](https://github.com/dynamic-labs/dynamic-auth/issues/12278)) ([21e1df3](https://github.com/dynamic-labs/dynamic-auth/commit/21e1df3e33e96e2efdb15ffa0fd29a441056202e))
9
+ * **react-native-extension:** recover 4.x expo-secure-store sessions on keychain miss ([#12254](https://github.com/dynamic-labs/dynamic-auth/issues/12254)) ([217e991](https://github.com/dynamic-labs/dynamic-auth/commit/217e991838f3073c12e2d2fab7a2e12830faad9e)), closes [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12092](https://github.com/dynamic-labs/dynamic-auth/issues/12092) [#12242](https://github.com/dynamic-labs/dynamic-auth/issues/12242) [#12242](https://github.com/dynamic-labs/dynamic-auth/issues/12242)
10
+ * **transaction-card:** use walletConnector prop for network/fee instead of primaryWallet ([#12063](https://github.com/dynamic-labs/dynamic-auth/issues/12063)) ([81314d2](https://github.com/dynamic-labs/dynamic-auth/commit/81314d25fba4b20ab89631bc2d9ceeb9e2b6b2ac))
11
+ * **waas-svm:** instrument sponsorship retry attempts ([#12281](https://github.com/dynamic-labs/dynamic-auth/issues/12281)) ([7273a4b](https://github.com/dynamic-labs/dynamic-auth/commit/7273a4bc456cad512c0e9fbcd2abd66532a2f7df))
12
+ * **webview-controller:** recover 4.x secure-storage sessions and surface init failures ([#12242](https://github.com/dynamic-labs/dynamic-auth/issues/12242)) ([b51605c](https://github.com/dynamic-labs/dynamic-auth/commit/b51605cc9bdbb5d695173192c502a58d899bbbdd)), closes [#12094](https://github.com/dynamic-labs/dynamic-auth/issues/12094) [#12095](https://github.com/dynamic-labs/dynamic-auth/issues/12095) [#12098](https://github.com/dynamic-labs/dynamic-auth/issues/12098) [dynamic-labs/flutter-sdk#256](https://github.com/dynamic-labs/flutter-sdk/issues/256)
13
+
14
+ ## [5.4.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.3.2...v5.4.0) (2026-08-25)
15
+
16
+
17
+ ### Features
18
+
19
+ * **aleo:** wire up signMessage on the WaaS Aleo connector ([#12235](https://github.com/dynamic-labs/dynamic-auth/issues/12235)) ([e56cbf5](https://github.com/dynamic-labs/dynamic-auth/commit/e56cbf5546bdcc21ce916dece43ae36dcea9b808))
20
+ * **waas:** thread isRawScalarImport through importPrivateKey for ed25519 chains ([#12220](https://github.com/dynamic-labs/dynamic-auth/issues/12220)) ([ced9efa](https://github.com/dynamic-labs/dynamic-auth/commit/ced9efac5fa5a4a1280383419f56fe22733722cd))
21
+ * **webview:** add policies message contract and controller ([#12248](https://github.com/dynamic-labs/dynamic-auth/issues/12248)) ([8557c1e](https://github.com/dynamic-labs/dynamic-auth/commit/8557c1ed3861e12f1f06b2bb610184813b577daa))
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * **bitcoin:** pass the wallet's address type when signing ([#12265](https://github.com/dynamic-labs/dynamic-auth/issues/12265)) ([b8a8eab](https://github.com/dynamic-labs/dynamic-auth/commit/b8a8eab7e4cc294cc307fb10ea6814e76111a274))
27
+ * remediate high-severity tar vulnerability and prune a dead override ([#12268](https://github.com/dynamic-labs/dynamic-auth/issues/12268)) ([6b1b343](https://github.com/dynamic-labs/dynamic-auth/commit/6b1b343e7947e8da30012446677e342ae9bfe14a))
28
+ * **waas-svm:** fix retry-classification and environmentId gaps in [#12240](https://github.com/dynamic-labs/dynamic-auth/issues/12240) ([#12247](https://github.com/dynamic-labs/dynamic-auth/issues/12247)) ([e79cecc](https://github.com/dynamic-labs/dynamic-auth/commit/e79ceccd424c48c3a7f45fdd6ea288c269ac0171))
29
+ * **wallet-connect:** reopen WalletConnect IndexedDB when the browser closes the connection ([#12262](https://github.com/dynamic-labs/dynamic-auth/issues/12262)) ([1a20dde](https://github.com/dynamic-labs/dynamic-auth/commit/1a20ddeaeec590ae3390c9e47ef3c14738379b83))
30
+
31
+
32
+ ### Performance Improvements
33
+
34
+ * **ethereum-gasless-core:** parallel 7702 auth signing and long-poll sponsored-tx status ([#12225](https://github.com/dynamic-labs/dynamic-auth/issues/12225)) ([53ca916](https://github.com/dynamic-labs/dynamic-auth/commit/53ca91668f8dd839c52d55a0e5d7bb5257f7f415))
35
+
2
36
  ### [5.3.2](https://github.com/dynamic-labs/dynamic-auth/compare/v5.3.1...v5.3.2) (2026-08-19)
3
37
 
4
38
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "5.3.2";
6
+ var version = "5.4.1";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "5.3.2";
2
+ var version = "5.4.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.3.2",
3
+ "version": "5.4.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.27.1",
21
+ "@dynamic-labs-sdk/client": "1.29.0",
22
22
  "@dynamic-labs/sdk-api-core": "0.12.0",
23
23
  "@stellar/stellar-sdk": "14.4.3",
24
- "@dynamic-labs/wallet-connector-core": "5.3.2",
25
- "@dynamic-labs/assert-package-version": "5.3.2",
24
+ "@dynamic-labs/wallet-connector-core": "5.4.1",
25
+ "@dynamic-labs/assert-package-version": "5.4.1",
26
26
  "@lobstrco/signer-extension-api": "2.0.0",
27
27
  "@stellar/freighter-api": "6.0.1",
28
- "@dynamic-labs/logger": "5.3.2",
29
- "@dynamic-labs/types": "5.3.2",
30
- "@dynamic-labs/utils": "5.3.2",
31
- "@dynamic-labs/waas": "5.3.2",
32
- "@dynamic-labs/wallet-book": "5.3.2",
28
+ "@dynamic-labs/logger": "5.4.1",
29
+ "@dynamic-labs/types": "5.4.1",
30
+ "@dynamic-labs/utils": "5.4.1",
31
+ "@dynamic-labs/waas": "5.4.1",
32
+ "@dynamic-labs/wallet-book": "5.4.1",
33
33
  "eventemitter3": "5.0.1"
34
34
  },
35
35
  "peerDependencies": {}
@@ -31,7 +31,13 @@ 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;
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
+ */
35
41
  authMode: "cookie" | "header";
36
42
  logger: Logger;
37
43
  __exportHandler: import("@dynamic-labs/waas").WaasExportHandler;
@@ -44,7 +50,10 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
44
50
  } | undefined) => Promise<string | undefined>): void;
45
51
  setGetElevatedAccessTokenFunction(getElevatedAccessToken: (params: {
46
52
  scope: TokenScope;
47
- }) => Promise<string | undefined>): void;
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
+ */
48
57
  setGetWalletPasswordFunction(getWalletPassword: import("@dynamic-labs/wallet-connector-core").GetWalletPasswordFn): void;
49
58
  getPasswordIfNeeded({ accountAddress, }: {
50
59
  accountAddress: string;
@@ -70,12 +79,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
70
79
  getWaasWalletClient(traceContext?: import("dist/packages/waas/utils/instrumentation").TraceContext | undefined, { forceRebuild }?: {
71
80
  forceRebuild?: boolean | undefined;
72
81
  } | undefined): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
73
- createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, businessAccountId, }?: {
74
- thresholdSignatureScheme?: string | undefined;
75
- password?: string | undefined;
76
- bitcoinConfig?: import("@dynamic-labs-wallet/browser-wallet-client").BitcoinConfig | undefined;
77
- businessAccountId?: string | undefined;
78
- } | undefined): Promise<{
82
+ createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, businessAccountId, }?: import("@dynamic-labs/wallet-connector-core").CreateWalletAccountParams | undefined): Promise<{
79
83
  chainName: string;
80
84
  accountAddress: string;
81
85
  publicKeyHex: string;
@@ -95,14 +99,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
95
99
  }): Promise<{
96
100
  shareSetId: string;
97
101
  }>;
98
- importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, }: {
99
- privateKey: string;
100
- thresholdSignatureScheme?: string | undefined;
101
- publicAddressCheck?: string | undefined;
102
- addressType?: string | undefined;
103
- legacyWalletId?: string | undefined;
104
- password?: string | undefined;
105
- }): Promise<void>;
102
+ importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, isRawScalarImport, }: import("@dynamic-labs/wallet-connector-core").ImportPrivateKeyParams): Promise<void>;
106
103
  migrateFromFireblocks({ deviceId, jwt, walletPassword, ncwStorage, expectedAddresses, coinTypes, password, }: {
107
104
  deviceId: string;
108
105
  jwt: string;
@@ -120,10 +117,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
120
117
  getExportHandler(): {
121
118
  clear: () => void;
122
119
  };
123
- exportClientKeyshares({ accountAddress, password, }: {
124
- accountAddress: string;
125
- password?: string | undefined;
126
- }): Promise<void>;
120
+ exportClientKeyshares({ accountAddress, password, }: import("@dynamic-labs/wallet-connector-core").ExportClientKeysharesParams): Promise<void>;
127
121
  runBackupLifecycle({ provider, accountAddress, password, performBackup, }: {
128
122
  provider: string;
129
123
  accountAddress: string;
@@ -139,11 +133,7 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
139
133
  };
140
134
  }) => Promise<void>;
141
135
  }): Promise<void>;
142
- backupKeySharesToGoogleDrive({ accountAddress, password, googleDriveAccessToken, }: {
143
- accountAddress: string;
144
- password?: string | undefined;
145
- googleDriveAccessToken?: string | undefined;
146
- }): Promise<void>;
136
+ backupKeySharesToGoogleDrive({ accountAddress, password, googleDriveAccessToken, }: import("@dynamic-labs/wallet-connector-core").BackupKeySharesToGoogleDriveParams): Promise<void>;
147
137
  exportClientKeysharesFromGoogleDrive({ accountAddress, password, }: {
148
138
  accountAddress: string;
149
139
  password?: string | undefined;
@@ -157,24 +147,13 @@ declare const DynamicWaasStellarConnector_base: (abstract new (...args: any[]) =
157
147
  }): Promise<void>;
158
148
  hideICloudSignIn(): Promise<void>;
159
149
  isICloudAuthenticated(): Promise<boolean>;
160
- refreshWalletAccountShares({ accountAddress, password, }: {
161
- accountAddress: string;
162
- password?: string | undefined;
163
- }): Promise<void>;
164
- reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: {
165
- accountAddress: string;
166
- thresholdSignatureScheme: string;
167
- password?: string | undefined;
168
- }): Promise<void>;
150
+ refreshWalletAccountShares({ accountAddress, password, }: import("@dynamic-labs/wallet-connector-core").RefreshWalletAccountSharesParams): Promise<void>;
151
+ reshareWalletAccountShares({ accountAddress, thresholdSignatureScheme, password, }: import("@dynamic-labs/wallet-connector-core").ReshareWalletAccountSharesParams): Promise<void>;
169
152
  revokeDelegation({ accountAddress, password, }: {
170
153
  accountAddress: string;
171
154
  password?: string | undefined;
172
155
  }): Promise<void>;
173
- updatePassword({ accountAddress, existingPassword, newPassword, }: {
174
- accountAddress: string;
175
- existingPassword?: string | undefined;
176
- newPassword: string;
177
- }): Promise<void>;
156
+ updatePassword({ accountAddress, existingPassword, newPassword, }: import("@dynamic-labs/wallet-connector-core").UpdatePasswordParams): Promise<void>;
178
157
  setPassword({ accountAddress, newPassword, }: {
179
158
  accountAddress: string;
180
159
  newPassword: string;