@dynamic-labs/waas-evm 4.46.1 → 4.46.3

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,18 @@
1
1
 
2
+ ### [4.46.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.46.2...v4.46.3) (2025-11-20)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * ensure that phantomredirect does not render if the previous request is the same ([#9920](https://github.com/dynamic-labs/dynamic-auth/issues/9920)) ([2bb9665](https://github.com/dynamic-labs/dynamic-auth/commit/2bb96654821518bee6378c65d1353a33aea1363b))
8
+
9
+ ### [4.46.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.46.1...v4.46.2) (2025-11-20)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * patch vulnerability with package @hpke/core ([#9923](https://github.com/dynamic-labs/dynamic-auth/issues/9923)) ([24133c6](https://github.com/dynamic-labs/dynamic-auth/commit/24133c6155fa36cd65cd2befabbdd9cbaa239b61))
15
+
2
16
  ### [4.46.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.46.0...v4.46.1) (2025-11-20)
3
17
 
4
18
  ## [4.46.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.45.3...v4.46.0) (2025-11-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.46.1";
6
+ var version = "4.46.3";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.46.1";
2
+ var version = "4.46.3";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/waas-evm",
3
- "version": "4.46.1",
3
+ "version": "4.46.3",
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",
@@ -20,13 +20,13 @@
20
20
  "dependencies": {
21
21
  "@dynamic-labs/sdk-api-core": "0.0.821",
22
22
  "viem": "^2.28.4",
23
- "@dynamic-labs/assert-package-version": "4.46.1",
24
- "@dynamic-labs/ethereum-core": "4.46.1",
25
- "@dynamic-labs/logger": "4.46.1",
26
- "@dynamic-labs/types": "4.46.1",
27
- "@dynamic-labs/utils": "4.46.1",
28
- "@dynamic-labs/waas": "4.46.1",
29
- "@dynamic-labs/wallet-connector-core": "4.46.1"
23
+ "@dynamic-labs/assert-package-version": "4.46.3",
24
+ "@dynamic-labs/ethereum-core": "4.46.3",
25
+ "@dynamic-labs/logger": "4.46.3",
26
+ "@dynamic-labs/types": "4.46.3",
27
+ "@dynamic-labs/utils": "4.46.3",
28
+ "@dynamic-labs/waas": "4.46.3",
29
+ "@dynamic-labs/wallet-connector-core": "4.46.3"
30
30
  },
31
31
  "peerDependencies": {}
32
32
  }
@@ -19,6 +19,7 @@ class DynamicWaasEVMConnector extends waas.withDynamicWaas(ethereumCore.Ethereum
19
19
  constructor(props) {
20
20
  super(props);
21
21
  this.name = 'Dynamic Waas';
22
+ this.logger = logger;
22
23
  this.overrideKey = 'dynamicwaas';
23
24
  this.isEmbeddedWallet = true;
24
25
  this._selectedChainId = this.getLastUsedChainId();
@@ -1,6 +1,7 @@
1
1
  import { Account, Hex, Transport, Chain as ViemChain, WalletClient } from 'viem';
2
2
  import { LocalAccount, SignAuthorizationParameters, SignAuthorizationReturnType } from 'viem/accounts';
3
3
  import { EthereumWalletConnector, EthereumWalletConnectorOpts, SwitchNetworkOps } from '@dynamic-labs/ethereum-core';
4
+ import { Logger } from '@dynamic-labs/logger';
4
5
  import { JwtVerifiedCredential, MFAAction, SignMessageContext } from '@dynamic-labs/sdk-api-core';
5
6
  import { IUITransaction } from '@dynamic-labs/types';
6
7
  import { WaasExportHandler } from '@dynamic-labs/waas';
@@ -26,6 +27,7 @@ declare const DynamicWaasEVMConnector_base: (abstract new (...args: any[]) => {
26
27
  dynamicWaasClient: import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient | undefined;
27
28
  chainName: string;
28
29
  authMode: "cookie" | "header";
30
+ logger: Logger;
29
31
  __exportHandler: WaasExportHandler;
30
32
  validateActiveWallet(expectedAddress: string): Promise<void>;
31
33
  setGetAuthTokenFunction(getAuthToken: () => string): void;
@@ -39,6 +41,13 @@ declare const DynamicWaasEVMConnector_base: (abstract new (...args: any[]) => {
39
41
  setGetSignedSessionIdFunction(getSignedSessionId: () => Promise<string>): void;
40
42
  delegateKeyShares({ accountAddress, password, }: {
41
43
  accountAddress: string;
44
+ /**
45
+ * Relationship between verifiedCredential and verifiedCredentials:
46
+ * - verifiedCredential: The first/primary credential from the array (used for active account)
47
+ * - verifiedCredentials: The full array of all credentials
48
+ * When setVerifiedCredentials is called, it processes the input array and sets both properties
49
+ * The first credential (verifiedCredential) is specifically filtered to be a "dynamicwaas"
50
+ */
42
51
  password?: string | undefined;
43
52
  }): Promise<void>;
44
53
  createDynamicWaasClient(): Promise<import("@dynamic-labs-wallet/browser-wallet-client").DynamicWalletClient>;
@@ -98,9 +107,18 @@ declare const DynamicWaasEVMConnector_base: (abstract new (...args: any[]) => {
98
107
  }): Promise<string>;
99
108
  endSession(): Promise<void>;
100
109
  getActiveAccountAddress(): Promise<string | undefined>;
110
+ generateTraceId(): string;
111
+ instrument(message: string, context: import("@dynamic-labs/logger").InstrumentOptions & import("dist/packages/waas/utils/instrumentation").InstrumentContext & Record<string, any>): void;
112
+ instrumentAsync<T_1>({ operation, resource, fn, context, }: {
113
+ operation: string;
114
+ resource: string;
115
+ fn: (timing: import("dist/packages/waas/utils/instrumentation").InstrumentationTimer) => Promise<T_1>;
116
+ context?: Record<string, any> | undefined;
117
+ }): Promise<T_1>;
101
118
  }) & typeof EthereumWalletConnector;
102
119
  export declare class DynamicWaasEVMConnector extends DynamicWaasEVMConnector_base implements IDynamicWaasConnector {
103
120
  name: string;
121
+ logger: Logger;
104
122
  overrideKey: string;
105
123
  isEmbeddedWallet: boolean;
106
124
  /**
@@ -15,6 +15,7 @@ class DynamicWaasEVMConnector extends withDynamicWaas(EthereumWalletConnector) {
15
15
  constructor(props) {
16
16
  super(props);
17
17
  this.name = 'Dynamic Waas';
18
+ this.logger = logger;
18
19
  this.overrideKey = 'dynamicwaas';
19
20
  this.isEmbeddedWallet = true;
20
21
  this._selectedChainId = this.getLastUsedChainId();