@dynamic-labs/ethereum-core 4.11.1 → 4.12.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,29 @@
1
1
 
2
+ ## [4.12.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.11.2...v4.12.0) (2025-04-14)
3
+
4
+
5
+ ### Features
6
+
7
+ * add sui sign transaction to waas-sui connector ([#8528](https://github.com/dynamic-labs/dynamic-auth/issues/8528)) ([7dfd806](https://github.com/dynamic-labs/dynamic-auth/commit/7dfd8063ac92d2ec6eb2de71a3ed2946a9f89fe3))
8
+ * implement zksync account abstraction connector ([#8318](https://github.com/dynamic-labs/dynamic-auth/issues/8318)) ([e80b42f](https://github.com/dynamic-labs/dynamic-auth/commit/e80b42f9067450348b0ff02c5b682653353cdcb9))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * only define primary wallet when it is done verifying ([#8521](https://github.com/dynamic-labs/dynamic-auth/issues/8521)) ([34f6058](https://github.com/dynamic-labs/dynamic-auth/commit/34f605817c91cc1b131b4de876609e231703f8b4))
14
+
15
+ ### [4.11.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.11.1...v4.11.2) (2025-04-11)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * correctly expire nonce ([#8518](https://github.com/dynamic-labs/dynamic-auth/issues/8518)) ([14c4eb1](https://github.com/dynamic-labs/dynamic-auth/commit/14c4eb143b8a6debc91fb0cb6aafe8336b370927))
21
+ * profile aspect ratio ([#8510](https://github.com/dynamic-labs/dynamic-auth/issues/8510)) ([869615d](https://github.com/dynamic-labs/dynamic-auth/commit/869615d00144d2df5c61eaa5ab39700114739732))
22
+ * **react-native:** ensure secure storage items are saved sequentially ([#8512](https://github.com/dynamic-labs/dynamic-auth/issues/8512)) ([53e2f7f](https://github.com/dynamic-labs/dynamic-auth/commit/53e2f7f47ce3ae79c781fcd3b9a446a0edbf4246))
23
+ * **react-native:** reload react-native webview when it is unmounted by OS ([#8477](https://github.com/dynamic-labs/dynamic-auth/issues/8477)) ([09e20a4](https://github.com/dynamic-labs/dynamic-auth/commit/09e20a418afd592fa31dffd7645729e0e77a8b3d))
24
+ * **react-native:** sync state with client when SDK fully loaded ([#8476](https://github.com/dynamic-labs/dynamic-auth/issues/8476)) ([bae8814](https://github.com/dynamic-labs/dynamic-auth/commit/bae88141e7d74e1ff453ee33ee16316c18e803d1))
25
+ * wallet standard wallets not sending SOL ([#8515](https://github.com/dynamic-labs/dynamic-auth/issues/8515)) ([0db973a](https://github.com/dynamic-labs/dynamic-auth/commit/0db973aceb5dc05cda142ceffcc925f9523a452d))
26
+
2
27
  ### [4.11.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.11.0...v4.11.1) (2025-04-09)
3
28
 
4
29
 
package/package.cjs CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.11.1";
6
+ var version = "4.12.0";
7
7
 
8
8
  exports.version = version;
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  'use client'
2
- var version = "4.11.1";
2
+ var version = "4.12.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.11.1",
3
+ "version": "4.12.0",
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.650",
22
- "@dynamic-labs/assert-package-version": "4.11.1",
23
- "@dynamic-labs/logger": "4.11.1",
24
- "@dynamic-labs/rpc-providers": "4.11.1",
25
- "@dynamic-labs/types": "4.11.1",
26
- "@dynamic-labs/utils": "4.11.1",
27
- "@dynamic-labs/wallet-book": "4.11.1",
28
- "@dynamic-labs/wallet-connector-core": "4.11.1"
21
+ "@dynamic-labs/sdk-api-core": "0.0.658",
22
+ "@dynamic-labs/assert-package-version": "4.12.0",
23
+ "@dynamic-labs/logger": "4.12.0",
24
+ "@dynamic-labs/rpc-providers": "4.12.0",
25
+ "@dynamic-labs/types": "4.12.0",
26
+ "@dynamic-labs/utils": "4.12.0",
27
+ "@dynamic-labs/wallet-book": "4.12.0",
28
+ "@dynamic-labs/wallet-connector-core": "4.12.0"
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]),
36
+ message: JSON.stringify(args[0], (_, value) => typeof value === 'bigint' ? value.toString() : value),
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]),
32
+ message: JSON.stringify(args[0], (_, value) => typeof value === 'bigint' ? value.toString() : value),
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 = this._connector.getWalletClient(chainId);
84
+ const walletClient = yield 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 = this._connector.getWalletClient(chainId);
80
+ const walletClient = yield this._connector.getWalletClient(chainId);
81
81
  if (!walletClient) {
82
82
  throw new Error('Unable to retrieve WalletClient');
83
83
  }