@dynamic-labs/waas 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/waas",
3
- "version": "5.9.0",
3
+ "version": "5.9.2",
4
4
  "type": "module",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -16,19 +16,20 @@
16
16
  "./package.json": "./package.json"
17
17
  },
18
18
  "dependencies": {
19
- "@dynamic-labs-sdk/client": "1.31.2",
20
- "@dynamic-labs/assert-package-version": "5.9.0",
21
- "@dynamic-labs/sdk-api-core": "0.32.0",
22
- "@dynamic-labs-wallet/browser-wallet-client": "1.0.118",
19
+ "@dynamic-labs-sdk/client": "1.33.3",
20
+ "@dynamic-labs/assert-package-version": "5.9.2",
21
+ "@dynamic-labs/sdk-api-core": "0.40.0",
22
+ "@dynamic-labs-wallet/browser-wallet-client": "1.1.18",
23
+ "@dynamic-labs-wallet/core": "1.1.18",
23
24
  "@dynamic-labs-wallet/forward-mpc-client": "1.0.2",
24
25
  "zod": "4.0.5",
25
- "@dynamic-labs/ethereum-core": "5.9.0",
26
- "@dynamic-labs/logger": "5.9.0",
27
- "@dynamic-labs/solana-core": "5.9.0",
28
- "@dynamic-labs/sui-core": "5.9.0",
29
- "@dynamic-labs/utils": "5.9.0",
30
- "@dynamic-labs/wallet-book": "5.9.0",
31
- "@dynamic-labs/wallet-connector-core": "5.9.0"
26
+ "@dynamic-labs/ethereum-core": "5.9.2",
27
+ "@dynamic-labs/logger": "5.9.2",
28
+ "@dynamic-labs/solana-core": "5.9.2",
29
+ "@dynamic-labs/sui-core": "5.9.2",
30
+ "@dynamic-labs/utils": "5.9.2",
31
+ "@dynamic-labs/wallet-book": "5.9.2",
32
+ "@dynamic-labs/wallet-connector-core": "5.9.2"
32
33
  },
33
34
  "peerDependencies": {}
34
35
  }
@@ -351,8 +351,8 @@ const withDynamicWaas = (BaseClass) => {
351
351
  }
352
352
  // Add a business account signer via the reshare ceremony.
353
353
  addSignerViaReshare(_a) {
354
- return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, targetSignerPassword, }) {
355
- var _b, _c, _d;
354
+ return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, targetSignerPassword, intent, intentSignature, }) {
355
+ var _b, _c, _d, _e;
356
356
  const walletClient = yield this.getWaasWalletClient();
357
357
  const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
358
358
  if (!signedSessionId) {
@@ -366,10 +366,16 @@ const withDynamicWaas = (BaseClass) => {
366
366
  signerType,
367
367
  walletId,
368
368
  });
369
+ const elevatedAccessToken = yield ((_d = this.getElevatedAccessToken) === null || _d === void 0 ? void 0 : _d.call(this, {
370
+ scope: sdkApiCore.TokenScope.BusinessAccountsigneradd,
371
+ }));
369
372
  const reshareRequest = {
370
373
  accountAddress,
371
- authToken: (_d = this.getAuthToken) === null || _d === void 0 ? void 0 : _d.call(this),
374
+ authToken: (_e = this.getAuthToken) === null || _e === void 0 ? void 0 : _e.call(this),
372
375
  businessAccountId,
376
+ elevatedAccessToken,
377
+ intent,
378
+ intentSignature,
373
379
  password,
374
380
  signedSessionId,
375
381
  signerType: signerType,
@@ -1,4 +1,5 @@
1
1
  import { DynamicWalletClient } from '@dynamic-labs-wallet/browser-wallet-client';
2
+ import type { BusinessAccountActionRequired, BusinessAccountIntent } from '@dynamic-labs-wallet/core';
2
3
  import type { LogoutReason } from '@dynamic-labs-sdk/client';
3
4
  import { InstrumentOptions, Logger } from '@dynamic-labs/logger';
4
5
  import { MFAAction, SignMessageContext, TokenScope, WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
@@ -104,7 +105,7 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
104
105
  publicKeyHex: string;
105
106
  rawPublicKey: string | Uint8Array | undefined;
106
107
  }>;
107
- addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, targetSignerPassword, }: {
108
+ addSignerViaReshare({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, targetSignerPassword, intent, intentSignature, }: {
108
109
  accountAddress: string;
109
110
  walletId?: string;
110
111
  businessAccountId: string;
@@ -116,9 +117,11 @@ export declare const withDynamicWaas: <T extends abstract new (...args: any[]) =
116
117
  signerType?: 'endUser' | 'server';
117
118
  password?: string;
118
119
  targetSignerPassword?: string;
120
+ intent?: BusinessAccountIntent;
121
+ intentSignature?: string;
119
122
  }): Promise<{
120
123
  shareSetId: string;
121
- }>;
124
+ } | BusinessAccountActionRequired>;
122
125
  importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, isRawScalarImport, }: ImportPrivateKeyParams): Promise<void>;
123
126
  migrateFromFireblocks({ deviceId, jwt, walletPassword, ncwStorage, expectedAddresses, coinTypes, password, }: {
124
127
  deviceId: string;
@@ -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, TokenScope } from '@dynamic-labs/sdk-api-core';
4
+ import { TokenScope, MFAAction } from '@dynamic-labs/sdk-api-core';
5
5
  import { DynamicError, UserRejectedRequestError, PlatformService, WaasAuthScopePendingError } from '@dynamic-labs/utils';
6
6
  import { version } from '../package.js';
7
7
  import { DEFAULT_BASE_API_URL, DEFAULT_BASE_MPC_RELAY_API_URL } from '../utils/constants.js';
@@ -347,8 +347,8 @@ const withDynamicWaas = (BaseClass) => {
347
347
  }
348
348
  // Add a business account signer via the reshare ceremony.
349
349
  addSignerViaReshare(_a) {
350
- return __awaiter(this, arguments, void 0, function* ({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, targetSignerPassword, }) {
351
- var _b, _c, _d;
350
+ return __awaiter(this, arguments, void 0, function* ({ accountAddress, walletId, businessAccountId, targetSignerIdentity, signerType, password, targetSignerPassword, intent, intentSignature, }) {
351
+ var _b, _c, _d, _e;
352
352
  const walletClient = yield this.getWaasWalletClient();
353
353
  const signedSessionId = yield ((_b = this.getSignedSessionId) === null || _b === void 0 ? void 0 : _b.call(this));
354
354
  if (!signedSessionId) {
@@ -362,10 +362,16 @@ const withDynamicWaas = (BaseClass) => {
362
362
  signerType,
363
363
  walletId,
364
364
  });
365
+ const elevatedAccessToken = yield ((_d = this.getElevatedAccessToken) === null || _d === void 0 ? void 0 : _d.call(this, {
366
+ scope: TokenScope.BusinessAccountsigneradd,
367
+ }));
365
368
  const reshareRequest = {
366
369
  accountAddress,
367
- authToken: (_d = this.getAuthToken) === null || _d === void 0 ? void 0 : _d.call(this),
370
+ authToken: (_e = this.getAuthToken) === null || _e === void 0 ? void 0 : _e.call(this),
368
371
  businessAccountId,
372
+ elevatedAccessToken,
373
+ intent,
374
+ intentSignature,
369
375
  password,
370
376
  signedSessionId,
371
377
  signerType: signerType,