@dynamic-labs/waas-evm 4.88.5 → 4.88.6
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 +9 -1
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/DynamicWaasEVMConnector.cjs +3 -7
- package/src/DynamicWaasEVMConnector.js +3 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.88.6](https://github.com/dynamic-labs/dynamic-auth/compare/v4.88.5...v4.88.6) (2026-06-13)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **DynamicBridgeWidget:** prevent bridge chain sync from reverting manual wallet switches ([#11560](https://github.com/dynamic-labs/dynamic-auth/issues/11560)) ([40c4973](https://github.com/dynamic-labs/dynamic-auth/commit/40c4973761b3e887577664f72f89d1d6ba285ea3))
|
|
8
|
+
* resolve EOA wallet client on the correct chain for EIP-7702 smart wallets ([#11564](https://github.com/dynamic-labs/dynamic-auth/issues/11564)) ([893b083](https://github.com/dynamic-labs/dynamic-auth/commit/893b0837a450ec683ccd09f2bb54204b77b6bd50))
|
|
9
|
+
|
|
2
10
|
### [4.88.5](https://github.com/dynamic-labs/dynamic-auth/compare/v4.88.4...v4.88.5) (2026-06-11)
|
|
3
11
|
|
|
4
12
|
|
|
@@ -6502,4 +6510,4 @@ Enjoy!
|
|
|
6502
6510
|
### Bug Fixes
|
|
6503
6511
|
|
|
6504
6512
|
* **view-context:** refactor view context to have initial view ([#2268](https://github.com/dynamic-labs/DynamicAuth/issues/2268)) ([0afe6ae](https://github.com/dynamic-labs/DynamicAuth/commit/0afe6ae469f62fd16fd8471322f9295957f607f6))
|
|
6505
|
-
* **wcv2:** upgrade universal p
|
|
6513
|
+
* **wcv2:** upgrade universal p
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/waas-evm",
|
|
3
|
-
"version": "4.88.
|
|
3
|
+
"version": "4.88.6",
|
|
4
4
|
"description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@dynamic-labs/sdk-api-core": "0.0.1015",
|
|
22
22
|
"viem": "^2.45.3",
|
|
23
|
-
"@dynamic-labs/assert-package-version": "4.88.
|
|
24
|
-
"@dynamic-labs/ethereum-core": "4.88.
|
|
25
|
-
"@dynamic-labs/logger": "4.88.
|
|
26
|
-
"@dynamic-labs/types": "4.88.
|
|
27
|
-
"@dynamic-labs/utils": "4.88.
|
|
28
|
-
"@dynamic-labs/waas": "4.88.
|
|
29
|
-
"@dynamic-labs/wallet-connector-core": "4.88.
|
|
23
|
+
"@dynamic-labs/assert-package-version": "4.88.6",
|
|
24
|
+
"@dynamic-labs/ethereum-core": "4.88.6",
|
|
25
|
+
"@dynamic-labs/logger": "4.88.6",
|
|
26
|
+
"@dynamic-labs/types": "4.88.6",
|
|
27
|
+
"@dynamic-labs/utils": "4.88.6",
|
|
28
|
+
"@dynamic-labs/waas": "4.88.6",
|
|
29
|
+
"@dynamic-labs/wallet-connector-core": "4.88.6"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {}
|
|
32
32
|
}
|
|
@@ -190,13 +190,9 @@ class DynamicWaasEVMConnector extends waas.withDynamicWaas(ethereumCore.Ethereum
|
|
|
190
190
|
});
|
|
191
191
|
});
|
|
192
192
|
}
|
|
193
|
-
getRpcUrl() {
|
|
193
|
+
getRpcUrl(evmNetwork) {
|
|
194
194
|
var _a;
|
|
195
|
-
|
|
196
|
-
if (!evmNetwork) {
|
|
197
|
-
throw new Error('EVM network not found');
|
|
198
|
-
}
|
|
199
|
-
return ((_a = evmNetwork === null || evmNetwork === void 0 ? void 0 : evmNetwork.privateCustomerRpcUrls) === null || _a === void 0 ? void 0 : _a[0]) || (evmNetwork === null || evmNetwork === void 0 ? void 0 : evmNetwork.rpcUrls[0]);
|
|
195
|
+
return ((_a = evmNetwork.privateCustomerRpcUrls) === null || _a === void 0 ? void 0 : _a[0]) || evmNetwork.rpcUrls[0];
|
|
200
196
|
}
|
|
201
197
|
validateActiveWallet(expectedAddress) {
|
|
202
198
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -398,13 +394,13 @@ class DynamicWaasEVMConnector extends waas.withDynamicWaas(ethereumCore.Ethereum
|
|
|
398
394
|
if (!targetAccountAddress) {
|
|
399
395
|
return this.getPublicClient();
|
|
400
396
|
}
|
|
401
|
-
const rpcUrl = this.getRpcUrl();
|
|
402
397
|
const evmNetwork = chainId
|
|
403
398
|
? this.getEvmNetworkByChainId(parseInt(chainId))
|
|
404
399
|
: this.currentEvmNetwork();
|
|
405
400
|
if (!evmNetwork) {
|
|
406
401
|
throw new Error('EVM network not found');
|
|
407
402
|
}
|
|
403
|
+
const rpcUrl = this.getRpcUrl(evmNetwork);
|
|
408
404
|
return ethereumCore.createWalletClientWithUiConfirmation({
|
|
409
405
|
account: () => _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
410
406
|
return this.getViemAccount({
|
|
@@ -186,13 +186,9 @@ class DynamicWaasEVMConnector extends withDynamicWaas(EthereumWalletConnector) {
|
|
|
186
186
|
});
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
|
-
getRpcUrl() {
|
|
189
|
+
getRpcUrl(evmNetwork) {
|
|
190
190
|
var _a;
|
|
191
|
-
|
|
192
|
-
if (!evmNetwork) {
|
|
193
|
-
throw new Error('EVM network not found');
|
|
194
|
-
}
|
|
195
|
-
return ((_a = evmNetwork === null || evmNetwork === void 0 ? void 0 : evmNetwork.privateCustomerRpcUrls) === null || _a === void 0 ? void 0 : _a[0]) || (evmNetwork === null || evmNetwork === void 0 ? void 0 : evmNetwork.rpcUrls[0]);
|
|
191
|
+
return ((_a = evmNetwork.privateCustomerRpcUrls) === null || _a === void 0 ? void 0 : _a[0]) || evmNetwork.rpcUrls[0];
|
|
196
192
|
}
|
|
197
193
|
validateActiveWallet(expectedAddress) {
|
|
198
194
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -394,13 +390,13 @@ class DynamicWaasEVMConnector extends withDynamicWaas(EthereumWalletConnector) {
|
|
|
394
390
|
if (!targetAccountAddress) {
|
|
395
391
|
return this.getPublicClient();
|
|
396
392
|
}
|
|
397
|
-
const rpcUrl = this.getRpcUrl();
|
|
398
393
|
const evmNetwork = chainId
|
|
399
394
|
? this.getEvmNetworkByChainId(parseInt(chainId))
|
|
400
395
|
: this.currentEvmNetwork();
|
|
401
396
|
if (!evmNetwork) {
|
|
402
397
|
throw new Error('EVM network not found');
|
|
403
398
|
}
|
|
399
|
+
const rpcUrl = this.getRpcUrl(evmNetwork);
|
|
404
400
|
return createWalletClientWithUiConfirmation({
|
|
405
401
|
account: () => __awaiter(this, void 0, void 0, function* () {
|
|
406
402
|
return this.getViemAccount({
|