@dynamic-labs/ethereum-aa 4.5.0 → 4.5.1
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 +7 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/ZeroDevConnector.cjs +6 -0
- package/src/ZeroDevConnector.d.ts +1 -0
- package/src/ZeroDevConnector.js +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.5.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.5.0...v4.5.1) (2025-02-05)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* improve sdk performance ([#7992](https://github.com/dynamic-labs/dynamic-auth/issues/7992)) ([7c541d4](https://github.com/dynamic-labs/dynamic-auth/commit/7c541d498b3afe708e468327e53c839826029490))
|
|
8
|
+
|
|
2
9
|
## [4.5.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.4.4...v4.5.0) (2025-02-04)
|
|
3
10
|
|
|
4
11
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethereum-aa",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.1",
|
|
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",
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"@zerodev/ecdsa-validator": "5.4.3",
|
|
23
23
|
"@zerodev/multi-chain-ecdsa-validator": "5.4.2",
|
|
24
24
|
"@zerodev/sdk": "5.4.17",
|
|
25
|
-
"@dynamic-labs/assert-package-version": "4.5.
|
|
26
|
-
"@dynamic-labs/ethereum-core": "4.5.
|
|
27
|
-
"@dynamic-labs/logger": "4.5.
|
|
28
|
-
"@dynamic-labs/types": "4.5.
|
|
29
|
-
"@dynamic-labs/utils": "4.5.
|
|
30
|
-
"@dynamic-labs/wallet-book": "4.5.
|
|
31
|
-
"@dynamic-labs/wallet-connector-core": "4.5.
|
|
25
|
+
"@dynamic-labs/assert-package-version": "4.5.1",
|
|
26
|
+
"@dynamic-labs/ethereum-core": "4.5.1",
|
|
27
|
+
"@dynamic-labs/logger": "4.5.1",
|
|
28
|
+
"@dynamic-labs/types": "4.5.1",
|
|
29
|
+
"@dynamic-labs/utils": "4.5.1",
|
|
30
|
+
"@dynamic-labs/wallet-book": "4.5.1",
|
|
31
|
+
"@dynamic-labs/wallet-connector-core": "4.5.1"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"viem": "^2.21.55"
|
package/src/ZeroDevConnector.cjs
CHANGED
|
@@ -525,6 +525,12 @@ class ZeroDevConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
525
525
|
});
|
|
526
526
|
});
|
|
527
527
|
}
|
|
528
|
+
getBlockExplorerUrlsForCurrentNetwork() {
|
|
529
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
530
|
+
var _a, _b;
|
|
531
|
+
return (_b = (_a = this.eoaConnector) === null || _a === void 0 ? void 0 : _a.getBlockExplorerUrlsForCurrentNetwork()) !== null && _b !== void 0 ? _b : [];
|
|
532
|
+
});
|
|
533
|
+
}
|
|
528
534
|
}
|
|
529
535
|
|
|
530
536
|
exports.ZeroDevConnector = ZeroDevConnector;
|
|
@@ -7804,5 +7804,6 @@ export declare class ZeroDevConnector extends WalletConnectorBase<typeof Ethereu
|
|
|
7804
7804
|
signMessage(messageToSign: string): Promise<string | undefined>;
|
|
7805
7805
|
createUiTransaction(from: string): Promise<IUITransaction>;
|
|
7806
7806
|
validateActiveWallet(expectedAddress: string): Promise<void>;
|
|
7807
|
+
getBlockExplorerUrlsForCurrentNetwork(): Promise<string[]>;
|
|
7807
7808
|
}
|
|
7808
7809
|
export {};
|
package/src/ZeroDevConnector.js
CHANGED
|
@@ -521,6 +521,12 @@ class ZeroDevConnector extends WalletConnectorBase {
|
|
|
521
521
|
});
|
|
522
522
|
});
|
|
523
523
|
}
|
|
524
|
+
getBlockExplorerUrlsForCurrentNetwork() {
|
|
525
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
526
|
+
var _a, _b;
|
|
527
|
+
return (_b = (_a = this.eoaConnector) === null || _a === void 0 ? void 0 : _a.getBlockExplorerUrlsForCurrentNetwork()) !== null && _b !== void 0 ? _b : [];
|
|
528
|
+
});
|
|
529
|
+
}
|
|
524
530
|
}
|
|
525
531
|
|
|
526
532
|
export { ZeroDevConnector };
|