@dynamic-labs/waas-svm 4.100.0 → 4.100.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
+ ### [4.100.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.100.1...v4.100.2) (2026-09-17)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **webview-controller:** route MetaMask connector storage through native secure storage [V4 backport] ([#12418](https://github.com/dynamic-labs/dynamic-auth/issues/12418)) ([0a9047c](https://github.com/dynamic-labs/dynamic-auth/commit/0a9047c72f184fca3fd27116d0a9eaa0a5bc69e6)), closes [#12304](https://github.com/dynamic-labs/dynamic-auth/issues/12304)
8
+
9
+ ### [4.100.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.100.0...v4.100.1) (2026-09-16)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **ethereum-core:** prefer dashboard-saved RPC urls when mapping viem chains ([#12407](https://github.com/dynamic-labs/dynamic-auth/issues/12407)) ([e794605](https://github.com/dynamic-labs/dynamic-auth/commit/e79460541f5d99caee64e9f4699baa1bf1b36544))
15
+ * **wallet-connect:** fix Rabby WalletConnect connection on Mobile [V4 backport] ([#12387](https://github.com/dynamic-labs/dynamic-auth/issues/12387)) ([a2f137f](https://github.com/dynamic-labs/dynamic-auth/commit/a2f137f5dc203f7fbfc4399b9999751c22851654))
16
+
2
17
  ## [4.100.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.99.0...v4.100.0) (2026-09-10)
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 = "4.100.0";
6
+ var version = "4.100.2";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.100.0";
2
+ var version = "4.100.2";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/waas-svm",
3
- "version": "4.100.0",
3
+ "version": "4.100.2",
4
4
  "description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -18,19 +18,19 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs/sdk-api-core": "0.12.0",
22
- "@dynamic-labs/embedded-wallet-solana": "4.100.0",
21
+ "@dynamic-labs/sdk-api-core": "0.40.0",
22
+ "@dynamic-labs/embedded-wallet-solana": "4.100.2",
23
23
  "@solana/web3.js": "1.98.1",
24
24
  "eventemitter3": "5.0.1",
25
25
  "bs58": "5.0.0",
26
- "@dynamic-labs/assert-package-version": "4.100.0",
27
- "@dynamic-labs/logger": "4.100.0",
28
- "@dynamic-labs/rpc-providers": "4.100.0",
29
- "@dynamic-labs/solana-core": "4.100.0",
30
- "@dynamic-labs/types": "4.100.0",
31
- "@dynamic-labs/utils": "4.100.0",
32
- "@dynamic-labs/waas": "4.100.0",
33
- "@dynamic-labs/wallet-connector-core": "4.100.0"
26
+ "@dynamic-labs/assert-package-version": "4.100.2",
27
+ "@dynamic-labs/logger": "4.100.2",
28
+ "@dynamic-labs/rpc-providers": "4.100.2",
29
+ "@dynamic-labs/solana-core": "4.100.2",
30
+ "@dynamic-labs/types": "4.100.2",
31
+ "@dynamic-labs/utils": "4.100.2",
32
+ "@dynamic-labs/waas": "4.100.2",
33
+ "@dynamic-labs/wallet-connector-core": "4.100.2"
34
34
  },
35
35
  "peerDependencies": {}
36
36
  }
@@ -34,20 +34,17 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
34
34
  logger: Logger;
35
35
  __exportHandler: import("@dynamic-labs/waas").WaasExportHandler;
36
36
  validateActiveWallet(expectedAddress: string): Promise<void>;
37
- setGetAuthTokenFunction(getAuthToken: () => string): void;
37
+ setGetAuthTokenFunction(getAuthToken: () => string): void; /**
38
+ * Set a getter that resolves the current SVM gas sponsorship state.
39
+ * Using a getter avoids stale values from initialization race conditions.
40
+ */
38
41
  setOnUnauthorizedFunction(onUnauthorized: () => void | Promise<void>): void;
39
42
  setWaasAuthMode(authMode: "cookie" | "header"): void;
40
43
  setGetMfaTokenFunction(getMfaToken: (props?: {
41
44
  mfaAction?: MFAAction | undefined;
42
45
  } | undefined) => Promise<string | undefined>): void;
43
46
  setGetElevatedAccessTokenFunction(getElevatedAccessToken: (params: {
44
- scope: TokenScope; /**
45
- * Determines whether a sponsorship failure is worth retrying.
46
- * Only a classified HTTP rejection can be proven permanent; everything
47
- * else (network errors, missing auth token, malformed response) defaults
48
- * to retryable. Classified rejections only retry on rate limits and
49
- * server errors.
50
- */
47
+ scope: TokenScope;
51
48
  }) => Promise<string | undefined>): void;
52
49
  setGetWalletPasswordFunction(getWalletPassword: import("@dynamic-labs/wallet-connector-core").GetWalletPasswordFn): void;
53
50
  getPasswordIfNeeded({ accountAddress, }: {
@@ -77,7 +74,7 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
77
74
  createWalletAccount({ thresholdSignatureScheme, password, bitcoinConfig, businessAccountId, }?: {
78
75
  thresholdSignatureScheme?: string | undefined;
79
76
  password?: string | undefined;
80
- bitcoinConfig?: import("@dynamic-labs-wallet/browser-wallet-client").BitcoinConfig | undefined;
77
+ bitcoinConfig?: import("@dynamic-labs-wallet/core").BitcoinConfig | undefined;
81
78
  businessAccountId?: string | undefined;
82
79
  } | undefined): Promise<{
83
80
  chainName: string;
@@ -96,7 +93,7 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
96
93
  };
97
94
  signerType?: "endUser" | "server" | undefined;
98
95
  password?: string | undefined;
99
- }): Promise<{
96
+ }): Promise<import("@dynamic-labs-wallet/core").BusinessAccountActionRequired | {
100
97
  shareSetId: string;
101
98
  }>;
102
99
  importPrivateKey({ privateKey, thresholdSignatureScheme, publicAddressCheck, addressType, legacyWalletId, password, }: {
@@ -105,7 +102,9 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
105
102
  publicAddressCheck?: string | undefined;
106
103
  addressType?: string | undefined;
107
104
  legacyWalletId?: string | undefined;
108
- password?: string | undefined;
105
+ password?: string | undefined; /**
106
+ * Override setEnvironmentId to ensure it's set on the global logger
107
+ */
109
108
  }): Promise<void>;
110
109
  migrateFromFireblocks({ deviceId, jwt, walletPassword, ncwStorage, expectedAddresses, coinTypes, password, }: {
111
110
  deviceId: string;
@@ -177,10 +176,10 @@ declare const DynamicWaasSVMConnector_base: (abstract new (...args: any[]) => {
177
176
  unlockWallet({ accountAddress, password, }: {
178
177
  accountAddress: string;
179
178
  password?: string | undefined;
180
- }): Promise<import("@dynamic-labs-wallet/browser-wallet-client").GetWalletResponse>;
179
+ }): Promise<import("@dynamic-labs-wallet/core").GetWalletResponse>;
181
180
  getWalletRecoveryState({ accountAddress, }: {
182
181
  accountAddress: string;
183
- }): Promise<import("@dynamic-labs-wallet/browser-wallet-client").WalletRecoveryState>;
182
+ }): Promise<import("@dynamic-labs-wallet/core").WalletRecoveryState>;
184
183
  endSession(reason?: import("@dynamic-labs-sdk/client").LogoutReason | undefined): Promise<void>;
185
184
  getActiveAccountAddress(): Promise<string | undefined>;
186
185
  getConnectedAccounts(): Promise<string[]>;