@dynamic-labs/ethereum-core 4.10.4-preview.0 → 4.10.4

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,10 +1,5 @@
1
1
 
2
- ### [4.10.4-preview.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.10.3...v4.10.4-preview.0) (2025-04-04)
3
-
4
-
5
- ### Features
6
-
7
- * add zk sync aa connector ([9835145](https://github.com/dynamic-labs/dynamic-auth/commit/9835145987a859bf2da894bf49521afce66bf9f1))
2
+ ### [4.10.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.10.3...v4.10.4) (2025-04-04)
8
3
 
9
4
  ### [4.10.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.10.2...v4.10.3) (2025-04-04)
10
5
 
@@ -22,6 +17,7 @@
22
17
  * add walletTabSelected event ([#8430](https://github.com/dynamic-labs/dynamic-auth/issues/8430)) ([01ef815](https://github.com/dynamic-labs/dynamic-auth/commit/01ef815330e6c5433f7c135f561ed86621cc2bd9))
23
18
 
24
19
 
20
+ ### Bug Fixes
25
21
 
26
22
  * disconect wallets on logout ([#8399](https://github.com/dynamic-labs/dynamic-auth/issues/8399)) ([148bc0d](https://github.com/dynamic-labs/dynamic-auth/commit/148bc0dd175048fa8a9a675383e8e6d93c7d16ac))
27
23
  * ensure primary wallet is still a valid credential when calling resfreshUser ([#8439](https://github.com/dynamic-labs/dynamic-auth/issues/8439)) ([2e567e5](https://github.com/dynamic-labs/dynamic-auth/commit/2e567e53ea7738d4a42f3d54bb40a294403a1c36))
@@ -37,6 +33,9 @@
37
33
  * Sui Support for branded wallets
38
34
  * better handling of non-multiasset balance fetching ([#8419](https://github.com/dynamic-labs/dynamic-auth/issues/8419)) ([574d4ea](https://github.com/dynamic-labs/dynamic-auth/commit/574d4eabf85e6f85325dc374b6cd84aa9fdd7ed4))
39
35
 
36
+
37
+ ### Bug Fixes
38
+
40
39
  * do not prompt passkey with 7702 on v2 wallets ([#8391](https://github.com/dynamic-labs/dynamic-auth/issues/8391)) ([bb91396](https://github.com/dynamic-labs/dynamic-auth/commit/bb913965121e97801922f5ca828d11e4a551a3b6))
41
40
  * ensure the global wallet app url is used ([#8404](https://github.com/dynamic-labs/dynamic-auth/issues/8404)) ([23a7d91](https://github.com/dynamic-labs/dynamic-auth/commit/23a7d91b50cc85e67de52306f91163c675e0f007))
42
41
  * **global-wallet-client:** use global wallet env id when storing data to ls ([#8405](https://github.com/dynamic-labs/dynamic-auth/issues/8405)) ([2b3d9ce](https://github.com/dynamic-labs/dynamic-auth/commit/2b3d9ce8dd82dda487759e0621c73bfad2842aef))
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.10.4-preview.0";
6
+ var version = "4.10.4";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.10.4-preview.0";
2
+ var version = "4.10.4";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/ethereum-core",
3
- "version": "4.10.4-preview.0",
3
+ "version": "4.10.4",
4
4
  "description": "Core package for utilities and types for viem",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -18,14 +18,14 @@
18
18
  },
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
- "@dynamic-labs/sdk-api-core": "0.0.656",
22
- "@dynamic-labs/assert-package-version": "4.10.4-preview.0",
23
- "@dynamic-labs/logger": "4.10.4-preview.0",
24
- "@dynamic-labs/rpc-providers": "4.10.4-preview.0",
25
- "@dynamic-labs/types": "4.10.4-preview.0",
26
- "@dynamic-labs/utils": "4.10.4-preview.0",
27
- "@dynamic-labs/wallet-book": "4.10.4-preview.0",
28
- "@dynamic-labs/wallet-connector-core": "4.10.4-preview.0"
21
+ "@dynamic-labs/sdk-api-core": "0.0.650",
22
+ "@dynamic-labs/assert-package-version": "4.10.4",
23
+ "@dynamic-labs/logger": "4.10.4",
24
+ "@dynamic-labs/rpc-providers": "4.10.4",
25
+ "@dynamic-labs/types": "4.10.4",
26
+ "@dynamic-labs/utils": "4.10.4",
27
+ "@dynamic-labs/wallet-book": "4.10.4",
28
+ "@dynamic-labs/wallet-connector-core": "4.10.4"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "viem": "^2.21.55"
@@ -33,7 +33,7 @@ const createAccountWithUiConfirmation = ({ address, account, provider, walletCon
33
33
  }),
34
34
  signTypedData: (...args) => walletUiUtils.signMessage({
35
35
  handler: () => _tslib.__awaiter(void 0, void 0, void 0, function* () { return (yield account()).signTypedData(...args); }),
36
- message: JSON.stringify(args[0], (_, value) => typeof value === 'bigint' ? value.toString() : value),
36
+ message: JSON.stringify(args[0]),
37
37
  walletConnector,
38
38
  }),
39
39
  });
@@ -29,7 +29,7 @@ const createAccountWithUiConfirmation = ({ address, account, provider, walletCon
29
29
  }),
30
30
  signTypedData: (...args) => walletUiUtils.signMessage({
31
31
  handler: () => __awaiter(void 0, void 0, void 0, function* () { return (yield account()).signTypedData(...args); }),
32
- message: JSON.stringify(args[0], (_, value) => typeof value === 'bigint' ? value.toString() : value),
32
+ message: JSON.stringify(args[0]),
33
33
  walletConnector,
34
34
  }),
35
35
  });
@@ -81,7 +81,7 @@ class EthereumWallet extends walletConnectorCore.Wallet {
81
81
  if ('setActiveAccount' in this._connector) {
82
82
  this._connector.setActiveAccount(this.address);
83
83
  }
84
- const walletClient = yield this._connector.getWalletClient(chainId);
84
+ const walletClient = this._connector.getWalletClient(chainId);
85
85
  if (!walletClient) {
86
86
  throw new Error('Unable to retrieve WalletClient');
87
87
  }
@@ -77,7 +77,7 @@ class EthereumWallet extends Wallet {
77
77
  if ('setActiveAccount' in this._connector) {
78
78
  this._connector.setActiveAccount(this.address);
79
79
  }
80
- const walletClient = yield this._connector.getWalletClient(chainId);
80
+ const walletClient = this._connector.getWalletClient(chainId);
81
81
  if (!walletClient) {
82
82
  throw new Error('Unable to retrieve WalletClient');
83
83
  }