@dynamic-labs/ethereum-core 4.18.6 → 4.18.8
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 +27 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/connector/EthereumWalletConnector.cjs +2 -0
- package/src/connector/EthereumWalletConnector.js +2 -0
- package/src/wallet/EthereumWallet.cjs +2 -0
- package/src/wallet/EthereumWallet.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,31 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.18.8](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.7...v4.18.8) (2025-05-22)
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* allow closing widget right after login ([#8760](https://github.com/dynamic-labs/dynamic-auth/issues/8760)) ([a9afff0](https://github.com/dynamic-labs/dynamic-auth/commit/a9afff0ab2a685853b39aed88e10bf1e700e4c8c))
|
|
7
|
+
* user wallets turning empty when linking new wallets ([#8775](https://github.com/dynamic-labs/dynamic-auth/issues/8775)) ([04215f5](https://github.com/dynamic-labs/dynamic-auth/commit/04215f5307e16ec4e1a7ff235a0d7df2340c3447))
|
|
8
|
+
|
|
9
|
+
### [4.18.7](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.6...v4.18.7) (2025-05-21)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* add zero dev kernel migration to v3.3 ([#8747](https://github.com/dynamic-labs/dynamic-auth/issues/8747)) ([ce10ef8](https://github.com/dynamic-labs/dynamic-auth/commit/ce10ef85d12452c2c21758c909f1e28f9fa5fbae))
|
|
15
|
+
* bump [@dynamic-labs-wallet](https://github.com/dynamic-labs-wallet) to v0.0.74 ([#8746](https://github.com/dynamic-labs/dynamic-auth/issues/8746)) ([98e3a0b](https://github.com/dynamic-labs/dynamic-auth/commit/98e3a0b845e7d6c34a2c748597198825713f4bcf))
|
|
16
|
+
* support kernel versio 0.3.2 and 0.3.3 ([#8738](https://github.com/dynamic-labs/dynamic-auth/issues/8738)) ([1115830](https://github.com/dynamic-labs/dynamic-auth/commit/1115830966318960d39a497c8b29188d9d9a447f))
|
|
17
|
+
* v3 solana confirmation ui ([#8731](https://github.com/dynamic-labs/dynamic-auth/issues/8731)) ([cfa5ba0](https://github.com/dynamic-labs/dynamic-auth/commit/cfa5ba07a946b847e60388c80afbd8aa233e9ebf))
|
|
18
|
+
* v3 svm send balance ([#8726](https://github.com/dynamic-labs/dynamic-auth/issues/8726)) ([236ec48](https://github.com/dynamic-labs/dynamic-auth/commit/236ec4843152f4b720aa7332e650db68c2d111b2))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* **alex/qntm-3201:** send empty data field when using zksync sendbalance ([#8733](https://github.com/dynamic-labs/dynamic-auth/issues/8733)) ([4c42035](https://github.com/dynamic-labs/dynamic-auth/commit/4c420350cf7404ac80db8b552594233a3de9fb57))
|
|
24
|
+
* allow for continuing signing if zksync account exists while attempting to deploy ([#8736](https://github.com/dynamic-labs/dynamic-auth/issues/8736)) ([1ff82e4](https://github.com/dynamic-labs/dynamic-auth/commit/1ff82e418e14300b9dec662fba517c5533c1caac))
|
|
25
|
+
* api kernel version on react native extension ([#8754](https://github.com/dynamic-labs/dynamic-auth/issues/8754)) ([c2f0bb4](https://github.com/dynamic-labs/dynamic-auth/commit/c2f0bb4ac86214f4e3bbdac5cf4b481a7a304449))
|
|
26
|
+
* CTRL wallet eip6963 detection ([#8727](https://github.com/dynamic-labs/dynamic-auth/issues/8727)) ([194334f](https://github.com/dynamic-labs/dynamic-auth/commit/194334f7fd541917d9a7f6b452145a47cf7ae853))
|
|
27
|
+
* **QNTM-3249:** fix mobile layout alignment in send view ([#8740](https://github.com/dynamic-labs/dynamic-auth/issues/8740)) ([7d8e02c](https://github.com/dynamic-labs/dynamic-auth/commit/7d8e02c11830f547b6fcfbc7b518ee3f045df41a))
|
|
28
|
+
|
|
2
29
|
### [4.18.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.18.5...v4.18.6) (2025-05-16)
|
|
3
30
|
|
|
4
31
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethereum-core",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.8",
|
|
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.
|
|
22
|
-
"@dynamic-labs/assert-package-version": "4.18.
|
|
23
|
-
"@dynamic-labs/logger": "4.18.
|
|
24
|
-
"@dynamic-labs/rpc-providers": "4.18.
|
|
25
|
-
"@dynamic-labs/types": "4.18.
|
|
26
|
-
"@dynamic-labs/utils": "4.18.
|
|
27
|
-
"@dynamic-labs/wallet-book": "4.18.
|
|
28
|
-
"@dynamic-labs/wallet-connector-core": "4.18.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.672",
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.18.8",
|
|
23
|
+
"@dynamic-labs/logger": "4.18.8",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.18.8",
|
|
25
|
+
"@dynamic-labs/types": "4.18.8",
|
|
26
|
+
"@dynamic-labs/utils": "4.18.8",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.18.8",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "4.18.8"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"viem": "^2.21.60"
|
|
@@ -136,7 +136,9 @@ class EthereumWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
136
136
|
if (!this.supportsNetworkSwitching()) {
|
|
137
137
|
throw new utils.DynamicError('Network switching is not supported');
|
|
138
138
|
}
|
|
139
|
+
walletConnectorCore.logger.logVerboseTroubleshootingMessage('[EthereumWalletConnector] switchNetwork', { network, networkChainId, networkName });
|
|
139
140
|
const provider = this.getWalletClient();
|
|
141
|
+
walletConnectorCore.logger.logVerboseTroubleshootingMessage('[EthereumWalletConnector] switchNetwork - got provider', { provider });
|
|
140
142
|
if (!provider) {
|
|
141
143
|
throw new utils.DynamicError('Provider not found');
|
|
142
144
|
}
|
|
@@ -132,7 +132,9 @@ class EthereumWalletConnector extends WalletConnectorBase {
|
|
|
132
132
|
if (!this.supportsNetworkSwitching()) {
|
|
133
133
|
throw new DynamicError('Network switching is not supported');
|
|
134
134
|
}
|
|
135
|
+
logger.logVerboseTroubleshootingMessage('[EthereumWalletConnector] switchNetwork', { network, networkChainId, networkName });
|
|
135
136
|
const provider = this.getWalletClient();
|
|
137
|
+
logger.logVerboseTroubleshootingMessage('[EthereumWalletConnector] switchNetwork - got provider', { provider });
|
|
136
138
|
if (!provider) {
|
|
137
139
|
throw new DynamicError('Provider not found');
|
|
138
140
|
}
|
|
@@ -47,6 +47,8 @@ class EthereumWallet extends walletConnectorCore.Wallet {
|
|
|
47
47
|
const transaction = {
|
|
48
48
|
account: this.address,
|
|
49
49
|
chain: getOrMapViemChain.getChain(yield provider.getChainId()),
|
|
50
|
+
// required for zksync until this PR is merged:https://github.com/matter-labs/zksync-sso/pull/91
|
|
51
|
+
data: '0x',
|
|
50
52
|
to: toAddress,
|
|
51
53
|
value: amount ? viem.parseEther(amount) : undefined,
|
|
52
54
|
};
|
|
@@ -43,6 +43,8 @@ class EthereumWallet extends Wallet {
|
|
|
43
43
|
const transaction = {
|
|
44
44
|
account: this.address,
|
|
45
45
|
chain: getChain(yield provider.getChainId()),
|
|
46
|
+
// required for zksync until this PR is merged:https://github.com/matter-labs/zksync-sso/pull/91
|
|
47
|
+
data: '0x',
|
|
46
48
|
to: toAddress,
|
|
47
49
|
value: amount ? parseEther(amount) : undefined,
|
|
48
50
|
};
|