@dynamic-labs/waas 4.63.0 → 4.64.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,29 @@
1
1
 
2
+ ## [4.64.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.63.1...v4.64.0) (2026-02-25)
3
+
4
+
5
+ ### Features
6
+
7
+ * add addTrustline method to the stellar wallet ([#10510](https://github.com/dynamic-labs/dynamic-auth/issues/10510)) ([e8690e8](https://github.com/dynamic-labs/dynamic-auth/commit/e8690e821dfe867355618d970380568487c3dd36))
8
+
9
+ ### [4.63.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.63.0...v4.63.1) (2026-02-24)
10
+
11
+
12
+ ### Features
13
+
14
+ * add elevated access token to WaaS export ([#10481](https://github.com/dynamic-labs/dynamic-auth/issues/10481)) ([9a3c6a6](https://github.com/dynamic-labs/dynamic-auth/commit/9a3c6a6eaa4bd7ced5aeb873fe7872717d0e25d9))
15
+ * add multi-wallet delegation support with React parity ([#10450](https://github.com/dynamic-labs/dynamic-auth/issues/10450)) ([e4d5135](https://github.com/dynamic-labs/dynamic-auth/commit/e4d5135c50595c022dfb02da2d9f05a389c0ee09))
16
+ * add Stellar chain support with balance fetching and network mapping ([#10494](https://github.com/dynamic-labs/dynamic-auth/issues/10494)) ([f12553c](https://github.com/dynamic-labs/dynamic-auth/commit/f12553ce864a56a75f87d1d55c087e1fc9378cc6))
17
+ * add Stellar WaaS transaction signing and broadcast UI ([#10495](https://github.com/dynamic-labs/dynamic-auth/issues/10495)) ([f87a860](https://github.com/dynamic-labs/dynamic-auth/commit/f87a860f59cdf5b0c4f99586c61e60186efc19f2))
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * cancel authFlowClose timeout when navigation occurs during delay ([#10487](https://github.com/dynamic-labs/dynamic-auth/issues/10487)) ([aef92b4](https://github.com/dynamic-labs/dynamic-auth/commit/aef92b4a80827c517819cc63414acdf3e9ad7b05))
23
+ * **e2e:** update gating test to expect user:basic scope ([#10505](https://github.com/dynamic-labs/dynamic-auth/issues/10505)) ([56f449a](https://github.com/dynamic-labs/dynamic-auth/commit/56f449a282f37b33d365d60380c7a68c1cf5eced)), closes [dynamic-labs/redcoast#8339](https://github.com/dynamic-labs/redcoast/issues/8339)
24
+ * use selected network for Horizon server and include WaaS connector in StellarWalletConnectors ([#10493](https://github.com/dynamic-labs/dynamic-auth/issues/10493)) ([f340c09](https://github.com/dynamic-labs/dynamic-auth/commit/f340c094f08afb39829f2d90db2ec665a69ba469))
25
+ * **waas:** normalize SOL to SVM chain name when looking up WaaS connector ([#10506](https://github.com/dynamic-labs/dynamic-auth/issues/10506)) ([102d314](https://github.com/dynamic-labs/dynamic-auth/commit/102d3142d65d0e67338884affc736e5151a8e296))
26
+
2
27
  ## [4.63.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.62.0...v4.63.0) (2026-02-24)
3
28
 
4
29
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.63.0";
6
+ var version = "4.64.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.63.0";
2
+ var version = "4.64.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/waas",
3
- "version": "4.63.0",
3
+ "version": "4.64.0",
4
4
  "type": "module",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -16,16 +16,16 @@
16
16
  "./package.json": "./package.json"
17
17
  },
18
18
  "dependencies": {
19
- "@dynamic-labs/assert-package-version": "4.63.0",
19
+ "@dynamic-labs/assert-package-version": "4.64.0",
20
20
  "@dynamic-labs/sdk-api-core": "0.0.875",
21
- "@dynamic-labs-wallet/browser-wallet-client": "0.0.276",
22
- "@dynamic-labs/ethereum-core": "4.63.0",
23
- "@dynamic-labs/logger": "4.63.0",
24
- "@dynamic-labs/solana-core": "4.63.0",
25
- "@dynamic-labs/sui-core": "4.63.0",
26
- "@dynamic-labs/utils": "4.63.0",
27
- "@dynamic-labs/wallet-book": "4.63.0",
28
- "@dynamic-labs/wallet-connector-core": "4.63.0"
21
+ "@dynamic-labs-wallet/browser-wallet-client": "0.0.282",
22
+ "@dynamic-labs/ethereum-core": "4.64.0",
23
+ "@dynamic-labs/logger": "4.64.0",
24
+ "@dynamic-labs/solana-core": "4.64.0",
25
+ "@dynamic-labs/sui-core": "4.64.0",
26
+ "@dynamic-labs/utils": "4.64.0",
27
+ "@dynamic-labs/wallet-book": "4.64.0",
28
+ "@dynamic-labs/wallet-connector-core": "4.64.0"
29
29
  },
30
30
  "peerDependencies": {}
31
31
  }
@@ -38,6 +38,9 @@ const withDynamicWaas = (BaseClass) => {
38
38
  setGetMfaTokenFunction(getMfaToken) {
39
39
  this.getMfaToken = getMfaToken;
40
40
  }
41
+ setGetElevatedAccessTokenFunction(getElevatedAccessToken) {
42
+ this.getElevatedAccessToken = getElevatedAccessToken;
43
+ }
41
44
  setGetWalletPasswordFunction(getWalletPassword) {
42
45
  this.getWalletPassword = getWalletPassword;
43
46
  }
@@ -220,7 +223,7 @@ const withDynamicWaas = (BaseClass) => {
220
223
  }
221
224
  exportPrivateKey() {
222
225
  return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, displayContainer, password, } = {}) {
223
- var _a, _b, _c;
226
+ var _a, _b, _c, _d;
224
227
  const walletClient = yield this.getWaasWalletClient();
225
228
  const targetAccountAddress = accountAddress || (yield this.getActiveAccountAddress());
226
229
  if (!targetAccountAddress) {
@@ -240,10 +243,14 @@ const withDynamicWaas = (BaseClass) => {
240
243
  const mfaToken = yield ((_b = this.getMfaToken) === null || _b === void 0 ? void 0 : _b.call(this, {
241
244
  mfaAction: sdkApiCore.MFAAction.WalletWaasExport,
242
245
  }));
246
+ const elevatedAccessToken = yield ((_c = this.getElevatedAccessToken) === null || _c === void 0 ? void 0 : _c.call(this, {
247
+ scope: sdkApiCore.TokenScope.Walletexport,
248
+ }));
243
249
  yield walletClient.exportPrivateKey({
244
250
  accountAddress: targetAccountAddress,
245
- authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
251
+ authToken: (_d = this.getAuthToken) === null || _d === void 0 ? void 0 : _d.call(this),
246
252
  displayContainer,
253
+ elevatedAccessToken,
247
254
  mfaToken,
248
255
  password: resolvedPassword,
249
256
  signedSessionId,
@@ -1,6 +1,6 @@
1
1
  import { BitcoinConfig, DynamicWalletClient } from '@dynamic-labs-wallet/browser-wallet-client';
2
2
  import { InstrumentOptions, Logger } from '@dynamic-labs/logger';
3
- import { MFAAction } from '@dynamic-labs/sdk-api-core';
3
+ import { MFAAction, TokenScope } from '@dynamic-labs/sdk-api-core';
4
4
  import { GetWalletPasswordFn } from '@dynamic-labs/wallet-connector-core';
5
5
  import { InstrumentContext, InstrumentationTimer, TraceContext } from '../utils/instrumentation';
6
6
  export declare class WaasExportHandler {
@@ -19,6 +19,9 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
19
19
  }) => Promise<string | undefined>) | undefined;
20
20
  getWalletPassword?: GetWalletPasswordFn | undefined;
21
21
  getAuthToken?: (() => string) | undefined;
22
+ getElevatedAccessToken?: ((props: {
23
+ scope: TokenScope;
24
+ }) => Promise<string | undefined>) | undefined;
22
25
  environmentId?: string | undefined;
23
26
  baseApiUrl?: string | undefined;
24
27
  relayUrl?: string | undefined;
@@ -34,6 +37,9 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
34
37
  setGetMfaTokenFunction(getMfaToken: (props?: {
35
38
  mfaAction?: MFAAction;
36
39
  }) => Promise<string | undefined>): void;
40
+ setGetElevatedAccessTokenFunction(getElevatedAccessToken: (params: {
41
+ scope: TokenScope;
42
+ }) => Promise<string | undefined>): void;
37
43
  setGetWalletPasswordFunction(getWalletPassword: GetWalletPasswordFn): void;
38
44
  /**
39
45
  * Checks if the wallet needs a password for signing operations.
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import { __awaiter } from '../_virtual/_tslib.js';
3
3
  import { DynamicWalletClient } from '@dynamic-labs-wallet/browser-wallet-client';
4
- import { MFAAction } from '@dynamic-labs/sdk-api-core';
4
+ import { MFAAction, TokenScope } from '@dynamic-labs/sdk-api-core';
5
5
  import { DynamicError, PlatformService } from '@dynamic-labs/utils';
6
6
  import { createWaasClientSecureStorage } from '../utils/createWaasClientSecureStorage.js';
7
7
  import { version } from '../package.js';
@@ -34,6 +34,9 @@ const withDynamicWaas = (BaseClass) => {
34
34
  setGetMfaTokenFunction(getMfaToken) {
35
35
  this.getMfaToken = getMfaToken;
36
36
  }
37
+ setGetElevatedAccessTokenFunction(getElevatedAccessToken) {
38
+ this.getElevatedAccessToken = getElevatedAccessToken;
39
+ }
37
40
  setGetWalletPasswordFunction(getWalletPassword) {
38
41
  this.getWalletPassword = getWalletPassword;
39
42
  }
@@ -216,7 +219,7 @@ const withDynamicWaas = (BaseClass) => {
216
219
  }
217
220
  exportPrivateKey() {
218
221
  return __awaiter(this, arguments, void 0, function* ({ accountAddress, displayContainer, password, } = {}) {
219
- var _a, _b, _c;
222
+ var _a, _b, _c, _d;
220
223
  const walletClient = yield this.getWaasWalletClient();
221
224
  const targetAccountAddress = accountAddress || (yield this.getActiveAccountAddress());
222
225
  if (!targetAccountAddress) {
@@ -236,10 +239,14 @@ const withDynamicWaas = (BaseClass) => {
236
239
  const mfaToken = yield ((_b = this.getMfaToken) === null || _b === void 0 ? void 0 : _b.call(this, {
237
240
  mfaAction: MFAAction.WalletWaasExport,
238
241
  }));
242
+ const elevatedAccessToken = yield ((_c = this.getElevatedAccessToken) === null || _c === void 0 ? void 0 : _c.call(this, {
243
+ scope: TokenScope.Walletexport,
244
+ }));
239
245
  yield walletClient.exportPrivateKey({
240
246
  accountAddress: targetAccountAddress,
241
- authToken: (_c = this.getAuthToken) === null || _c === void 0 ? void 0 : _c.call(this),
247
+ authToken: (_d = this.getAuthToken) === null || _d === void 0 ? void 0 : _d.call(this),
242
248
  displayContainer,
249
+ elevatedAccessToken,
243
250
  mfaToken,
244
251
  password: resolvedPassword,
245
252
  signedSessionId,
@@ -13,6 +13,11 @@ const createWaasClientSecureStorage = () => ({
13
13
  });
14
14
  return shares ? JSON.parse(shares) : [];
15
15
  }),
16
+ removeClientKeyShare: (accountAddress) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
17
+ utils.StorageService.removeItem(`waas_client_key_share_${accountAddress}`, {
18
+ priority: ['secureStorage'],
19
+ });
20
+ }),
16
21
  setClientKeyShare: (accountAddress, shares) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
17
22
  return utils.StorageService.setItem(`waas_client_key_share_${accountAddress}`, JSON.stringify(shares), {
18
23
  priority: ['secureStorage'],
@@ -1,4 +1,5 @@
1
1
  export declare const createWaasClientSecureStorage: () => {
2
2
  getClientKeyShare: (accountAddress: string) => Promise<any>;
3
+ removeClientKeyShare: (accountAddress: string) => Promise<void>;
3
4
  setClientKeyShare: (accountAddress: string, shares: unknown[]) => Promise<void>;
4
5
  };
@@ -9,6 +9,11 @@ const createWaasClientSecureStorage = () => ({
9
9
  });
10
10
  return shares ? JSON.parse(shares) : [];
11
11
  }),
12
+ removeClientKeyShare: (accountAddress) => __awaiter(void 0, void 0, void 0, function* () {
13
+ StorageService.removeItem(`waas_client_key_share_${accountAddress}`, {
14
+ priority: ['secureStorage'],
15
+ });
16
+ }),
12
17
  setClientKeyShare: (accountAddress, shares) => __awaiter(void 0, void 0, void 0, function* () {
13
18
  return StorageService.setItem(`waas_client_key_share_${accountAddress}`, JSON.stringify(shares), {
14
19
  priority: ['secureStorage'],