@dynamic-labs/ethereum-core 4.16.0 → 4.18.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,31 @@
1
1
 
2
+ ## [4.18.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.17.0...v4.18.0) (2025-05-07)
3
+
4
+
5
+ ### Features
6
+
7
+ * 7702 authorization now happens on the first transaction and could use sponsored user operation if paymaster provided (IMPORTANT: viem need to be upgraded to at least 2.28.4)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * inline email submit button color when active ([#8663](https://github.com/dynamic-labs/dynamic-auth/issues/8663)) ([ea556e9](https://github.com/dynamic-labs/dynamic-auth/commit/ea556e9116e876fb2180870e74b6c8c6a13faecb))
13
+
14
+ ## [4.17.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.16.0...v4.17.0) (2025-05-06)
15
+
16
+
17
+ ### Features
18
+
19
+ * add chain id option to create kernel client in react-native ([#8650](https://github.com/dynamic-labs/dynamic-auth/issues/8650)) ([1450bea](https://github.com/dynamic-labs/dynamic-auth/commit/1450bea6f979a82ed4880700aff14fa1ead9dc60))
20
+ * add sendCalls method to EthereumWallet ([#8634](https://github.com/dynamic-labs/dynamic-auth/issues/8634)) ([7c9aef9](https://github.com/dynamic-labs/dynamic-auth/commit/7c9aef95382b4823a40279bebfb084de32c25610))
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * 7702 do not override existing old aa ([#8630](https://github.com/dynamic-labs/dynamic-auth/issues/8630)) ([a731d9e](https://github.com/dynamic-labs/dynamic-auth/commit/a731d9e77ecd9e1dec3a7704a63989b5f2741a57))
26
+ * improve error message when email login fails ([#8649](https://github.com/dynamic-labs/dynamic-auth/issues/8649)) ([e1c03ac](https://github.com/dynamic-labs/dynamic-auth/commit/e1c03ac6dc83386c63d63db59d31355bc4fe2959))
27
+ * improve react-native stability on android ([#8652](https://github.com/dynamic-labs/dynamic-auth/issues/8652)) ([1617546](https://github.com/dynamic-labs/dynamic-auth/commit/1617546e6053c2ab32f7d385336c47df185d077f))
28
+
2
29
  ## [4.16.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.15.0...v4.16.0) (2025-05-03)
3
30
 
4
31
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.16.0";
6
+ var version = "4.18.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.16.0";
2
+ var version = "4.18.0";
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.16.0",
3
+ "version": "4.18.0",
4
4
  "description": "Core package for utilities and types for viem",
5
5
  "author": "Dynamic Labs, Inc.",
6
6
  "license": "MIT",
@@ -19,13 +19,13 @@
19
19
  "homepage": "https://www.dynamic.xyz/",
20
20
  "dependencies": {
21
21
  "@dynamic-labs/sdk-api-core": "0.0.660",
22
- "@dynamic-labs/assert-package-version": "4.16.0",
23
- "@dynamic-labs/logger": "4.16.0",
24
- "@dynamic-labs/rpc-providers": "4.16.0",
25
- "@dynamic-labs/types": "4.16.0",
26
- "@dynamic-labs/utils": "4.16.0",
27
- "@dynamic-labs/wallet-book": "4.16.0",
28
- "@dynamic-labs/wallet-connector-core": "4.16.0"
22
+ "@dynamic-labs/assert-package-version": "4.18.0",
23
+ "@dynamic-labs/logger": "4.18.0",
24
+ "@dynamic-labs/rpc-providers": "4.18.0",
25
+ "@dynamic-labs/types": "4.18.0",
26
+ "@dynamic-labs/utils": "4.18.0",
27
+ "@dynamic-labs/wallet-book": "4.18.0",
28
+ "@dynamic-labs/wallet-connector-core": "4.18.0"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "viem": "^2.21.60"
@@ -6,6 +6,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
6
6
  var _tslib = require('../../_virtual/_tslib.cjs');
7
7
  var viem = require('viem');
8
8
  var accounts = require('viem/accounts');
9
+ var experimental = require('viem/experimental');
9
10
  var utils = require('@dynamic-labs/utils');
10
11
  var walletConnectorCore = require('@dynamic-labs/wallet-connector-core');
11
12
  require('../utils/logger.cjs');
@@ -13,7 +14,6 @@ require('../utils/viem/estimateL1Fee/opStack/estimateL1Fee.cjs');
13
14
  var chainsMap = require('../utils/viem/chainsMap/chainsMap.cjs');
14
15
  var createViemUiTransaction = require('../utils/viem/createViemUiTransaction/createViemUiTransaction.cjs');
15
16
  var getOrMapViemChain = require('../utils/viem/getOrMapViemChain/getOrMapViemChain.cjs');
16
- var getWalletCapabilities = require('../utils/viem/getWalletCapabilities/getWalletCapabilities.cjs');
17
17
  var hasAtomicStatusCapability = require('../utils/viem/hasAtomicStatusCapability/hasAtomicStatusCapability.cjs');
18
18
  var hasPaymasterServiceCapability = require('../utils/viem/hasPaymasterServiceCapability/hasPaymasterServiceCapability.cjs');
19
19
  var findEvmNetwork = require('../utils/findEvmNetwork/findEvmNetwork.cjs');
@@ -316,7 +316,7 @@ class EthereumWalletConnector extends walletConnectorCore.WalletConnectorBase {
316
316
  if (!walletClient) {
317
317
  return false;
318
318
  }
319
- const capabilities = yield getWalletCapabilities.getWalletCapabilities(walletClient);
319
+ const capabilities = yield experimental.getCapabilities(walletClient);
320
320
  const chainIdToCheck = chainId !== null && chainId !== void 0 ? chainId : (yield walletClient.getChainId());
321
321
  walletConnectorCore.logger.debug('[EthereumWalletConnector] isAtomicSupported', {
322
322
  capabilities,
@@ -331,7 +331,7 @@ class EthereumWalletConnector extends walletConnectorCore.WalletConnectorBase {
331
331
  if (!walletClient) {
332
332
  return false;
333
333
  }
334
- const capabilities = yield getWalletCapabilities.getWalletCapabilities(walletClient);
334
+ const capabilities = yield experimental.getCapabilities(walletClient);
335
335
  const chainIdToCheck = chainId !== null && chainId !== void 0 ? chainId : (yield walletClient.getChainId());
336
336
  walletConnectorCore.logger.debug('[EthereumWalletConnector] isPaymasterServiceSupported', {
337
337
  capabilities,