@dynamic-labs/wallet-connector-core 5.10.0 → 5.12.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,22 @@
1
1
 
2
+ ## [5.12.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.11.0...v5.12.0) (2026-10-16)
3
+
4
+
5
+ ### Features
6
+
7
+ * **embedded-wallet-solana:** add getSolanaSponsorAddress ([#12517](https://github.com/dynamic-labs/dynamic-auth/issues/12517)) ([b95c550](https://github.com/dynamic-labs/dynamic-auth/commit/b95c550e3dab783b7ff0b019051a17b22ea44f97))
8
+ * **embedded-wallet:** show chain and wallet in private key export modal ([#12507](https://github.com/dynamic-labs/dynamic-auth/issues/12507)) ([4bfb6d6](https://github.com/dynamic-labs/dynamic-auth/commit/4bfb6d6168aac3f800792fde933e0597f288058f))
9
+ * **sdk-react-core:** send OTP purpose from step-up flows ([#12511](https://github.com/dynamic-labs/dynamic-auth/issues/12511)) ([0d2d8a3](https://github.com/dynamic-labs/dynamic-auth/commit/0d2d8a31058b3e75c71af7a34f459e2a3ddf383b)), closes [#12898](https://github.com/dynamic-labs/dynamic-auth/issues/12898) [#816](https://github.com/dynamic-labs/dynamic-auth/issues/816) [#203](https://github.com/dynamic-labs/dynamic-auth/issues/203) [#12512](https://github.com/dynamic-labs/dynamic-auth/issues/12512)
10
+ * **wallet-connect:** back WalletConnect storage with native secure storage on mobile ([#12515](https://github.com/dynamic-labs/dynamic-auth/issues/12515)) ([7b57903](https://github.com/dynamic-labs/dynamic-auth/commit/7b5790325fce707d73d591483a0130b960ed055c))
11
+
12
+ ## [5.11.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.10.0...v5.11.0) (2026-10-14)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **react-native:** fall back to a TEE-backed key when StrongBox key generation fails on Android ([#12484](https://github.com/dynamic-labs/dynamic-auth/issues/12484)) ([6884ef1](https://github.com/dynamic-labs/dynamic-auth/commit/6884ef1665e4b18d1b8fdb54ee7cd06861b47fc9))
18
+ * support WaaS password overrides in WebView ([#12509](https://github.com/dynamic-labs/dynamic-auth/issues/12509)) ([fc67fcc](https://github.com/dynamic-labs/dynamic-auth/commit/fc67fccb99be7c0cc8df81a2513ccd3a04db9a61))
19
+
2
20
  ## [5.10.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.9.6...v5.10.0) (2026-10-09)
3
21
 
4
22
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "5.10.0";
6
+ var version = "5.12.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "5.10.0";
2
+ var version = "5.12.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-connector-core",
3
- "version": "5.10.0",
3
+ "version": "5.12.0",
4
4
  "description": "Core package for utilities and types for handling multiple wallet/chain support Dynamic SDK",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -18,17 +18,17 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs-sdk/client": "1.37.0",
22
- "@dynamic-labs/sdk-api-core": "0.70.0",
23
- "@dynamic-labs-wallet/browser-wallet-client": "1.1.33",
24
- "@dynamic-labs-wallet/core": "1.1.29",
21
+ "@dynamic-labs-sdk/client": "1.41.0",
22
+ "@dynamic-labs/sdk-api-core": "0.104.0",
23
+ "@dynamic-labs-wallet/browser-wallet-client": "1.1.43",
24
+ "@dynamic-labs-wallet/core": "1.1.43",
25
25
  "@dynamic-labs-wallet/forward-mpc-client": "1.0.2",
26
- "@dynamic-labs/assert-package-version": "5.10.0",
27
- "@dynamic-labs/logger": "5.10.0",
28
- "@dynamic-labs/rpc-providers": "5.10.0",
29
- "@dynamic-labs/types": "5.10.0",
30
- "@dynamic-labs/utils": "5.10.0",
31
- "@dynamic-labs/wallet-book": "5.10.0",
26
+ "@dynamic-labs/assert-package-version": "5.12.0",
27
+ "@dynamic-labs/logger": "5.12.0",
28
+ "@dynamic-labs/rpc-providers": "5.12.0",
29
+ "@dynamic-labs/types": "5.12.0",
30
+ "@dynamic-labs/utils": "5.12.0",
31
+ "@dynamic-labs/wallet-book": "5.12.0",
32
32
  "eventemitter3": "5.0.1"
33
33
  },
34
34
  "peerDependencies": {}
@@ -85,11 +85,12 @@ class Wallet extends types.BaseWallet {
85
85
  * @returns A promise that resolves to the signature of the message as a string,
86
86
  * or undefined if the message cannot be signed.
87
87
  */
88
- signMessage(messageToSign) {
88
+ signMessage(messageToSign, options) {
89
89
  return _tslib.__awaiter(this, void 0, void 0, function* () {
90
90
  yield this.sync();
91
91
  return this._connector.signMessage(messageToSign, {
92
92
  address: this.address,
93
+ approvalQuorum: options === null || options === void 0 ? void 0 : options.approvalQuorum,
93
94
  });
94
95
  });
95
96
  }
@@ -1,3 +1,4 @@
1
+ import type { ApprovalQuorumRequestContext } from '@dynamic-labs-wallet/core';
1
2
  import type { BaseWalletProps } from '@dynamic-labs/types';
2
3
  import { BaseWallet } from '@dynamic-labs/types';
3
4
  import { InternalWalletConnector, NameServiceData, WalletConnector } from '../WalletConnectorBase';
@@ -55,7 +56,9 @@ export declare abstract class Wallet<T extends InternalWalletConnector = Interna
55
56
  * @returns A promise that resolves to the signature of the message as a string,
56
57
  * or undefined if the message cannot be signed.
57
58
  */
58
- signMessage(messageToSign: string): Promise<string | undefined>;
59
+ signMessage(messageToSign: string, options?: {
60
+ approvalQuorum?: ApprovalQuorumRequestContext;
61
+ }): Promise<string | undefined>;
59
62
  /**
60
63
  * Switches the network that the wallet is connected to.
61
64
  * @param networkChainId - The chain id of the network to switch to.
@@ -81,11 +81,12 @@ class Wallet extends BaseWallet {
81
81
  * @returns A promise that resolves to the signature of the message as a string,
82
82
  * or undefined if the message cannot be signed.
83
83
  */
84
- signMessage(messageToSign) {
84
+ signMessage(messageToSign, options) {
85
85
  return __awaiter(this, void 0, void 0, function* () {
86
86
  yield this.sync();
87
87
  return this._connector.signMessage(messageToSign, {
88
88
  address: this.address,
89
+ approvalQuorum: options === null || options === void 0 ? void 0 : options.approvalQuorum,
89
90
  });
90
91
  });
91
92
  }
@@ -1,4 +1,5 @@
1
1
  import EventEmitter from 'eventemitter3';
2
+ import type { ApprovalQuorumRequestContext } from '@dynamic-labs-wallet/core';
2
3
  import type { LogoutReason } from '@dynamic-labs-sdk/client';
3
4
  import { IChainRpcProviders } from '@dynamic-labs/rpc-providers';
4
5
  import type { JwtVerifiedCredential, WalletAdditionalAddress } from '@dynamic-labs/sdk-api-core';
@@ -313,6 +314,7 @@ export declare abstract class WalletConnectorBase<C extends WalletConstructor<an
313
314
  */
314
315
  signMessage(messageToSign: string, options?: {
315
316
  address?: string;
317
+ approvalQuorum?: ApprovalQuorumRequestContext;
316
318
  }): Promise<string | undefined>;
317
319
  /**
318
320
  * Returns the array of block explorer URLs available for the current network
@@ -1,5 +1,5 @@
1
1
  import { BitcoinConfig, GetWalletResponse, WalletRecoveryState } from '@dynamic-labs-wallet/browser-wallet-client';
2
- import type { BusinessAccountActionRequired, BusinessAccountIntent } from '@dynamic-labs-wallet/core';
2
+ import type { ApprovalQuorumRequestContext, BusinessAccountActionRequired, BusinessAccountIntent } from '@dynamic-labs-wallet/core';
3
3
  import { MFAAction, SignMessageContext, TokenScope, WaasPolicyRule } from '@dynamic-labs/sdk-api-core';
4
4
  import { WalletConnectorBase } from '..';
5
5
  interface GetMfaTokenFunction {
@@ -38,6 +38,10 @@ export type UpdatePasswordParams = {
38
38
  accountAddress: string;
39
39
  existingPassword?: string;
40
40
  newPassword: string;
41
+ passwordOverrides?: Array<{
42
+ walletId: string;
43
+ existingPassword: string;
44
+ }>;
41
45
  };
42
46
  export type ReshareWalletAccountSharesParams = {
43
47
  accountAddress: string;
@@ -168,10 +172,14 @@ export interface IDynamicWaasConnector extends WalletConnectorBase {
168
172
  accountAddress: string;
169
173
  newPassword: string;
170
174
  }): Promise<void>;
171
- updatePassword({ accountAddress, existingPassword, newPassword, }: {
175
+ updatePassword({ accountAddress, existingPassword, newPassword, passwordOverrides, }: {
172
176
  accountAddress: string;
173
177
  existingPassword?: string;
174
178
  newPassword: string;
179
+ passwordOverrides?: Array<{
180
+ walletId: string;
181
+ existingPassword: string;
182
+ }>;
175
183
  }): Promise<void>;
176
184
  unlockWallet({ accountAddress, password, }: {
177
185
  accountAddress: string;
@@ -190,8 +198,9 @@ export interface IDynamicWaasConnector extends WalletConnectorBase {
190
198
  cloudProviderAccessToken?: string;
191
199
  mfaToken?: string;
192
200
  }): Promise<void>;
193
- signRawMessage({ accountAddress, context, message, password, }: {
201
+ signRawMessage({ accountAddress, approvalQuorum, context, message, password, }: {
194
202
  accountAddress: string;
203
+ approvalQuorum?: ApprovalQuorumRequestContext;
195
204
  context?: SignMessageContext;
196
205
  message: string;
197
206
  password?: string;
@@ -200,11 +209,12 @@ export interface IDynamicWaasConnector extends WalletConnectorBase {
200
209
  accountAddress: string;
201
210
  password?: string;
202
211
  }): Promise<void>;
203
- signMessageWithContext({ message, context, }: {
212
+ signMessageWithContext({ message, approvalQuorum, context, }: {
204
213
  message: string | {
205
214
  raw: string;
206
215
  };
207
- context: SignMessageContext;
216
+ approvalQuorum?: ApprovalQuorumRequestContext;
217
+ context?: SignMessageContext;
208
218
  }): Promise<string>;
209
219
  /**
210
220
  * @param forceRebuild when true, drop the cached client and rebuild it with