@dynamic-labs/ethereum-aa 4.80.0 → 4.81.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,20 @@
1
1
 
2
+ ## [4.81.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.80.0...v4.81.0) (2026-05-07)
3
+
4
+
5
+ ### Features
6
+
7
+ * **react-native:** add waitForAuthSuccess() to auth module ([#11137](https://github.com/dynamic-labs/dynamic-auth/issues/11137)) ([089a566](https://github.com/dynamic-labs/dynamic-auth/commit/089a5663283639e7e425eead291b135010c8b398))
8
+ * **waas:** hook Aleo into DynamicWaasMixin ([#11102](https://github.com/dynamic-labs/dynamic-auth/issues/11102)) ([ff42df9](https://github.com/dynamic-labs/dynamic-auth/commit/ff42df99d8993e22894caee3c0570cd9c332a3d1))
9
+ * **widget:** shielded/unshielded tabs + Shield Manually CTA on ActiveWalletBalance for Aleo ([#11103](https://github.com/dynamic-labs/dynamic-auth/issues/11103)) ([e278836](https://github.com/dynamic-labs/dynamic-auth/commit/e278836bfcb19c13828c10483ebb87d165f5d00d))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **ethereum-aa:** return hex chain ids from EIP-5792 getCapabilities ([#11146](https://github.com/dynamic-labs/dynamic-auth/issues/11146)) ([b32dc8f](https://github.com/dynamic-labs/dynamic-auth/commit/b32dc8f6fdee3722073921787c4f77908ab4f740))
15
+ * remediate high-severity dependency vulnerabilities ([#11151](https://github.com/dynamic-labs/dynamic-auth/issues/11151)) ([1d84ef1](https://github.com/dynamic-labs/dynamic-auth/commit/1d84ef12e10544be0b2a80dbbbd63f615b03adc3))
16
+ * **wagmi-connector:** emit change unconditionally on MM accountsChanged DYNT-549 ([#11131](https://github.com/dynamic-labs/dynamic-auth/issues/11131)) ([348ee6f](https://github.com/dynamic-labs/dynamic-auth/commit/348ee6ff9a22cb55ef0cb84c4b8f8d2e843bd10e)), closes [#11043](https://github.com/dynamic-labs/dynamic-auth/issues/11043)
17
+
2
18
  ## [4.80.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.79.2...v4.80.0) (2026-05-05)
3
19
 
4
20
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.80.0";
6
+ var version = "4.81.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.80.0";
2
+ var version = "4.81.0";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/ethereum-aa",
3
- "version": "4.80.0",
3
+ "version": "4.81.0",
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",
@@ -22,14 +22,14 @@
22
22
  "@zerodev/ecdsa-validator": "5.4.9",
23
23
  "@zerodev/multi-chain-ecdsa-validator": "5.4.5",
24
24
  "@zerodev/sdk": "5.5.7",
25
- "@dynamic-labs/assert-package-version": "4.80.0",
26
- "@dynamic-labs/ethereum-aa-core": "4.80.0",
27
- "@dynamic-labs/ethereum-core": "4.80.0",
28
- "@dynamic-labs/logger": "4.80.0",
29
- "@dynamic-labs/types": "4.80.0",
30
- "@dynamic-labs/utils": "4.80.0",
31
- "@dynamic-labs/wallet-book": "4.80.0",
32
- "@dynamic-labs/wallet-connector-core": "4.80.0"
25
+ "@dynamic-labs/assert-package-version": "4.81.0",
26
+ "@dynamic-labs/ethereum-aa-core": "4.81.0",
27
+ "@dynamic-labs/ethereum-core": "4.81.0",
28
+ "@dynamic-labs/logger": "4.81.0",
29
+ "@dynamic-labs/types": "4.81.0",
30
+ "@dynamic-labs/utils": "4.81.0",
31
+ "@dynamic-labs/wallet-book": "4.81.0",
32
+ "@dynamic-labs/wallet-connector-core": "4.81.0"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "viem": "^2.45.3"
@@ -461,9 +461,14 @@ class ZeroDevConnector extends ethereumAaCore.AccountAbstractionBaseConnector {
461
461
  }
462
462
  getCapabilities() {
463
463
  return _tslib.__awaiter(this, void 0, void 0, function* () {
464
+ // EIP-5792 requires hex-encoded chain ids as keys (e.g. "0x1"). Returning
465
+ // decimal numeric keys causes consumers like wagmi/viem and dapps such as
466
+ // the LI.FI widget to look up the active chain by hex id, miss it, and
467
+ // fall back to EIP-2612 permits — which then fail on smart accounts with
468
+ // "Invalid yParityOrV value" because permits demand ECDSA signatures.
464
469
  const capabilities = {};
465
470
  this.evmNetworks.forEach((network) => {
466
- capabilities[utils.parseChainId(network.chainId)] = {
471
+ capabilities[viem.toHex(utils.parseChainId(network.chainId))] = {
467
472
  atomic: {
468
473
  status: 'ready',
469
474
  },
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import { __awaiter, __rest } from '../_virtual/_tslib.js';
3
3
  import { KERNEL_V3_3, getEntryPoint as getEntryPoint$1 } from '@zerodev/sdk/constants';
4
- import { custom, createWalletClient, toHex, formatEther } from 'viem';
4
+ import { toHex, custom, createWalletClient, formatEther } from 'viem';
5
5
  import { getUserOperationHash } from 'viem/account-abstraction';
6
6
  import { toAccount } from 'viem/accounts';
7
7
  import { AccountAbstractionBaseConnector } from '@dynamic-labs/ethereum-aa-core';
@@ -457,9 +457,14 @@ class ZeroDevConnector extends AccountAbstractionBaseConnector {
457
457
  }
458
458
  getCapabilities() {
459
459
  return __awaiter(this, void 0, void 0, function* () {
460
+ // EIP-5792 requires hex-encoded chain ids as keys (e.g. "0x1"). Returning
461
+ // decimal numeric keys causes consumers like wagmi/viem and dapps such as
462
+ // the LI.FI widget to look up the active chain by hex id, miss it, and
463
+ // fall back to EIP-2612 permits — which then fail on smart accounts with
464
+ // "Invalid yParityOrV value" because permits demand ECDSA signatures.
460
465
  const capabilities = {};
461
466
  this.evmNetworks.forEach((network) => {
462
- capabilities[parseChainId(network.chainId)] = {
467
+ capabilities[toHex(parseChainId(network.chainId))] = {
463
468
  atomic: {
464
469
  status: 'ready',
465
470
  },