@dynamic-labs/ethereum-core 4.25.3 → 4.25.5
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,30 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.25.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.25.4...v4.25.5) (2025-07-27)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add pending account switch copykey ([#9219](https://github.com/dynamic-labs/dynamic-auth/issues/9219)) ([1d88bf2](https://github.com/dynamic-labs/dynamic-auth/commit/1d88bf27c685f122d94cdf66541365eae7e11a64))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* logout user if last wallet removed in connect-only ([#9234](https://github.com/dynamic-labs/dynamic-auth/issues/9234)) ([42ea1ad](https://github.com/dynamic-labs/dynamic-auth/commit/42ea1ad331cd635a1c17fac0dcbf213fa045586d))
|
|
13
|
+
* prevent waas wallet from being created when embedded wallet option is turned on and then off ([#9237](https://github.com/dynamic-labs/dynamic-auth/issues/9237)) ([004a350](https://github.com/dynamic-labs/dynamic-auth/commit/004a350eb0d88d7ad6d3ceea7eb0d889f7d4a6bf))
|
|
14
|
+
* stop generating session keys on wallet linking ([#9244](https://github.com/dynamic-labs/dynamic-auth/issues/9244)) ([7176be9](https://github.com/dynamic-labs/dynamic-auth/commit/7176be93e31ba55dda264e0365c84376272ee945))
|
|
15
|
+
|
|
16
|
+
### [4.25.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.25.3...v4.25.4) (2025-07-25)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* add passkey as a sign in method ([#9210](https://github.com/dynamic-labs/dynamic-auth/issues/9210)) ([90a6938](https://github.com/dynamic-labs/dynamic-auth/commit/90a69389cf89d7092519e58b0052d85c53a19905))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* **QNTM-3416:** fix rainbow wallet connection on base network ([#9227](https://github.com/dynamic-labs/dynamic-auth/issues/9227)) ([d6dcdc3](https://github.com/dynamic-labs/dynamic-auth/commit/d6dcdc3ead194d7580bb8387432dfd15555158de))
|
|
27
|
+
|
|
2
28
|
### [4.25.3](https://github.com/dynamic-labs/dynamic-auth/compare/v4.25.2...v4.25.3) (2025-07-22)
|
|
3
29
|
|
|
4
30
|
|
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.25.
|
|
3
|
+
"version": "4.25.5",
|
|
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.25.
|
|
23
|
-
"@dynamic-labs/logger": "4.25.
|
|
24
|
-
"@dynamic-labs/rpc-providers": "4.25.
|
|
25
|
-
"@dynamic-labs/types": "4.25.
|
|
26
|
-
"@dynamic-labs/utils": "4.25.
|
|
27
|
-
"@dynamic-labs/wallet-book": "4.25.
|
|
28
|
-
"@dynamic-labs/wallet-connector-core": "4.25.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.728",
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.25.5",
|
|
23
|
+
"@dynamic-labs/logger": "4.25.5",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.25.5",
|
|
25
|
+
"@dynamic-labs/types": "4.25.5",
|
|
26
|
+
"@dynamic-labs/utils": "4.25.5",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.25.5",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "4.25.5"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"viem": "^2.28.4"
|
|
@@ -179,7 +179,7 @@ class EthereumWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
179
179
|
catch (error) {
|
|
180
180
|
walletConnectorCore.logger.debug('chooseAccountsToConnect - error', error);
|
|
181
181
|
// might fail if method is not supported, but just throw if user rejected
|
|
182
|
-
if (error.code === 4001) {
|
|
182
|
+
if ((error === null || error === void 0 ? void 0 : error.code) === 4001) {
|
|
183
183
|
throw new utils.UserRejectedRequestError();
|
|
184
184
|
}
|
|
185
185
|
}
|
|
@@ -221,6 +221,7 @@ class EthereumWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
221
221
|
}
|
|
222
222
|
else {
|
|
223
223
|
this.setActiveChain(viemChain);
|
|
224
|
+
this.emit('chainChange', { chain: viemChain.id.toString() });
|
|
224
225
|
}
|
|
225
226
|
}
|
|
226
227
|
catch (error) {
|
|
@@ -175,7 +175,7 @@ class EthereumWalletConnector extends WalletConnectorBase {
|
|
|
175
175
|
catch (error) {
|
|
176
176
|
logger.debug('chooseAccountsToConnect - error', error);
|
|
177
177
|
// might fail if method is not supported, but just throw if user rejected
|
|
178
|
-
if (error.code === 4001) {
|
|
178
|
+
if ((error === null || error === void 0 ? void 0 : error.code) === 4001) {
|
|
179
179
|
throw new UserRejectedRequestError();
|
|
180
180
|
}
|
|
181
181
|
}
|
|
@@ -217,6 +217,7 @@ class EthereumWalletConnector extends WalletConnectorBase {
|
|
|
217
217
|
}
|
|
218
218
|
else {
|
|
219
219
|
this.setActiveChain(viemChain);
|
|
220
|
+
this.emit('chainChange', { chain: viemChain.id.toString() });
|
|
220
221
|
}
|
|
221
222
|
}
|
|
222
223
|
catch (error) {
|