@dynamic-labs/waas-evm 4.61.5 → 4.61.7

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,21 @@
1
1
 
2
+ ### [4.61.7](https://github.com/dynamic-labs/dynamic-auth/compare/v4.61.6...v4.61.7) (2026-02-20)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * coinbase deeplink url ([#10468](https://github.com/dynamic-labs/dynamic-auth/issues/10468)) ([5bd249f](https://github.com/dynamic-labs/dynamic-auth/commit/5bd249ff3788a9718aee802840a73b408675a02b))
8
+ * **react-native:** ensure sign transaction with viem ([#10463](https://github.com/dynamic-labs/dynamic-auth/issues/10463)) ([1048694](https://github.com/dynamic-labs/dynamic-auth/commit/1048694f2a468780ce7398c5ed82a38e6d3e0d76))
9
+ * **react-native:** upgrade react-native-passkey to v3.3.2 ([#10453](https://github.com/dynamic-labs/dynamic-auth/issues/10453)) ([db68ec8](https://github.com/dynamic-labs/dynamic-auth/commit/db68ec819fe8d3e326ed7ed36b1701b0cb3caded))
10
+ * **solana:** token 2022 send balance ([#10470](https://github.com/dynamic-labs/dynamic-auth/issues/10470)) ([2c5ee3e](https://github.com/dynamic-labs/dynamic-auth/commit/2c5ee3e007d1e0feb02b632deb6d23f8f6ba55f7))
11
+
12
+ ### [4.61.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.61.5...v4.61.6) (2026-02-19)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * support legacy 4337 + 7702 wallet coexistence ([#10459](https://github.com/dynamic-labs/dynamic-auth/issues/10459)) ([a1e1577](https://github.com/dynamic-labs/dynamic-auth/commit/a1e1577c037059c177c6d5b010746a45610c223b))
18
+
2
19
  ### [4.61.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.61.4...v4.61.5) (2026-02-19)
3
20
 
4
21
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.61.5";
6
+ var version = "4.61.7";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.61.5";
2
+ var version = "4.61.7";
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.61.5",
3
+ "version": "4.61.7",
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.864",
22
22
  "viem": "^2.28.4",
23
- "@dynamic-labs/assert-package-version": "4.61.5",
24
- "@dynamic-labs/ethereum-core": "4.61.5",
25
- "@dynamic-labs/logger": "4.61.5",
26
- "@dynamic-labs/types": "4.61.5",
27
- "@dynamic-labs/utils": "4.61.5",
28
- "@dynamic-labs/waas": "4.61.5",
29
- "@dynamic-labs/wallet-connector-core": "4.61.5"
23
+ "@dynamic-labs/assert-package-version": "4.61.7",
24
+ "@dynamic-labs/ethereum-core": "4.61.7",
25
+ "@dynamic-labs/logger": "4.61.7",
26
+ "@dynamic-labs/types": "4.61.7",
27
+ "@dynamic-labs/utils": "4.61.7",
28
+ "@dynamic-labs/waas": "4.61.7",
29
+ "@dynamic-labs/wallet-connector-core": "4.61.7"
30
30
  },
31
31
  "peerDependencies": {}
32
32
  }
@@ -169,7 +169,7 @@ class DynamicWaasEVMConnector extends waas.withDynamicWaas(ethereumCore.Ethereum
169
169
  return (_a = this.getActiveAccount()) === null || _a === void 0 ? void 0 : _a.address;
170
170
  });
171
171
  }
172
- getViemAccount(_a) {
172
+ getViemAccountCustomSource(_a) {
173
173
  return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, }) {
174
174
  var _b;
175
175
  const client = yield this.getWaasWalletClient();
@@ -177,7 +177,7 @@ class DynamicWaasEVMConnector extends waas.withDynamicWaas(ethereumCore.Ethereum
177
177
  if (!signedSessionId) {
178
178
  throw new utils.DynamicError('Signed session ID is required');
179
179
  }
180
- return accounts.toAccount({
180
+ return {
181
181
  address: accountAddress,
182
182
  signAuthorization: (parameters) => _tslib.__awaiter(this, void 0, void 0, function* () {
183
183
  const traceId = this.generateTraceId();
@@ -314,7 +314,15 @@ class DynamicWaasEVMConnector extends waas.withDynamicWaas(ethereumCore.Ethereum
314
314
  });
315
315
  return signature;
316
316
  }),
317
+ };
318
+ });
319
+ }
320
+ getViemAccount(_a) {
321
+ return _tslib.__awaiter(this, arguments, void 0, function* ({ accountAddress, }) {
322
+ const accountSource = yield this.getViemAccountCustomSource({
323
+ accountAddress,
317
324
  });
325
+ return accounts.toAccount(accountSource);
318
326
  });
319
327
  }
320
328
  getWalletClient(chainId) {
@@ -1,4 +1,4 @@
1
- import { Account, Hex, Transport, Chain as ViemChain, WalletClient } from 'viem';
1
+ import { Account, CustomSource, 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
4
  import { Logger } from '@dynamic-labs/logger';
@@ -11,6 +11,9 @@ interface JwtVerifiedCredentialWithSmartWalletRef extends JwtVerifiedCredential
11
11
  smartWalletRefAddress?: string;
12
12
  }
13
13
  type SignAuthorizationParametersWithoutPrivateKey = Omit<SignAuthorizationParameters, 'privateKey'>;
14
+ type DynamicCustomSource = CustomSource & {
15
+ signAuthorization: (parameters: SignAuthorizationParametersWithoutPrivateKey) => Promise<SignAuthorizationReturnType>;
16
+ };
14
17
  declare const DynamicWaasEVMConnector_base: (abstract new (...args: any[]) => {
15
18
  [x: string]: any;
16
19
  name: string;
@@ -174,6 +177,9 @@ export declare class DynamicWaasEVMConnector extends DynamicWaasEVMConnector_bas
174
177
  private getRpcUrl;
175
178
  validateActiveWallet(expectedAddress: string): Promise<void>;
176
179
  getActiveAccountAddress(): Promise<string | undefined>;
180
+ getViemAccountCustomSource({ accountAddress, }: {
181
+ accountAddress: string;
182
+ }): Promise<DynamicCustomSource>;
177
183
  getViemAccount({ accountAddress, }: {
178
184
  accountAddress: string;
179
185
  }): Promise<LocalAccount>;
@@ -165,7 +165,7 @@ class DynamicWaasEVMConnector extends withDynamicWaas(EthereumWalletConnector) {
165
165
  return (_a = this.getActiveAccount()) === null || _a === void 0 ? void 0 : _a.address;
166
166
  });
167
167
  }
168
- getViemAccount(_a) {
168
+ getViemAccountCustomSource(_a) {
169
169
  return __awaiter(this, arguments, void 0, function* ({ accountAddress, }) {
170
170
  var _b;
171
171
  const client = yield this.getWaasWalletClient();
@@ -173,7 +173,7 @@ class DynamicWaasEVMConnector extends withDynamicWaas(EthereumWalletConnector) {
173
173
  if (!signedSessionId) {
174
174
  throw new DynamicError('Signed session ID is required');
175
175
  }
176
- return toAccount({
176
+ return {
177
177
  address: accountAddress,
178
178
  signAuthorization: (parameters) => __awaiter(this, void 0, void 0, function* () {
179
179
  const traceId = this.generateTraceId();
@@ -310,7 +310,15 @@ class DynamicWaasEVMConnector extends withDynamicWaas(EthereumWalletConnector) {
310
310
  });
311
311
  return signature;
312
312
  }),
313
+ };
314
+ });
315
+ }
316
+ getViemAccount(_a) {
317
+ return __awaiter(this, arguments, void 0, function* ({ accountAddress, }) {
318
+ const accountSource = yield this.getViemAccountCustomSource({
319
+ accountAddress,
313
320
  });
321
+ return toAccount(accountSource);
314
322
  });
315
323
  }
316
324
  getWalletClient(chainId) {