@dynamic-labs/ethereum-aa 4.4.4 → 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 +21 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/ZeroDevConnector.cjs +6 -0
- package/src/ZeroDevConnector.d.ts +13 -2
- package/src/ZeroDevConnector.js +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,25 @@
|
|
|
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
|
+
|
|
9
|
+
## [4.5.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.4.4...v4.5.0) (2025-02-04)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* allow injecting onramp providers for funding via sdk overrides ([#7967](https://github.com/dynamic-labs/dynamic-auth/issues/7967)) ([d738b3b](https://github.com/dynamic-labs/dynamic-auth/commit/d738b3ba1307bc6f2ffc5c8f98a44c6f509c0e96))
|
|
15
|
+
* headless transaction simulation ([#7928](https://github.com/dynamic-labs/dynamic-auth/issues/7928)) ([8eb4c9c](https://github.com/dynamic-labs/dynamic-auth/commit/8eb4c9cd9857a34c56f2e58aba124b5b7e185359))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* memo hooks and state to reduce rerenders ([#7912](https://github.com/dynamic-labs/dynamic-auth/issues/7912)) ([5351570](https://github.com/dynamic-labs/dynamic-auth/commit/5351570874eb3b9465d2a2c99ea5caaa787ecc80))
|
|
21
|
+
* rely on bitcoin sats-connect transaction inputs for handling sigHashTypes ([#7969](https://github.com/dynamic-labs/dynamic-auth/issues/7969)) ([e043306](https://github.com/dynamic-labs/dynamic-auth/commit/e043306be44dd9058265c19d7e14cb07dd6db1fe))
|
|
22
|
+
|
|
2
23
|
### [4.4.4](https://github.com/dynamic-labs/dynamic-auth/compare/v4.4.3...v4.4.4) (2025-01-31)
|
|
3
24
|
|
|
4
25
|
|
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.
|
|
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",
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.607",
|
|
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.
|
|
26
|
-
"@dynamic-labs/ethereum-core": "4.
|
|
27
|
-
"@dynamic-labs/logger": "4.
|
|
28
|
-
"@dynamic-labs/types": "4.
|
|
29
|
-
"@dynamic-labs/utils": "4.
|
|
30
|
-
"@dynamic-labs/wallet-book": "4.
|
|
31
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
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;
|
|
@@ -7784,15 +7784,26 @@ export declare class ZeroDevConnector extends WalletConnectorBase<typeof Ethereu
|
|
|
7784
7784
|
maxPriorityFeePerGas?: undefined;
|
|
7785
7785
|
verificationGasLimit?: undefined;
|
|
7786
7786
|
}>;
|
|
7787
|
-
getCurrentUserOperation(transaction:
|
|
7787
|
+
getCurrentUserOperation(transaction: {
|
|
7788
|
+
from: string;
|
|
7789
|
+
to?: string;
|
|
7790
|
+
value?: bigint;
|
|
7791
|
+
data?: string;
|
|
7792
|
+
}): Promise<{
|
|
7788
7793
|
userOperation: any;
|
|
7789
7794
|
sponsored: boolean;
|
|
7790
7795
|
}>;
|
|
7791
|
-
canSponsorTransactionGas(transaction:
|
|
7796
|
+
canSponsorTransactionGas(transaction: {
|
|
7797
|
+
from: string;
|
|
7798
|
+
to?: string;
|
|
7799
|
+
value?: bigint;
|
|
7800
|
+
data?: string;
|
|
7801
|
+
}): Promise<boolean>;
|
|
7792
7802
|
disableGasSponsorshipOnce(): void;
|
|
7793
7803
|
getBalance(address: string): Promise<string | undefined>;
|
|
7794
7804
|
signMessage(messageToSign: string): Promise<string | undefined>;
|
|
7795
7805
|
createUiTransaction(from: string): Promise<IUITransaction>;
|
|
7796
7806
|
validateActiveWallet(expectedAddress: string): Promise<void>;
|
|
7807
|
+
getBlockExplorerUrlsForCurrentNetwork(): Promise<string[]>;
|
|
7797
7808
|
}
|
|
7798
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 };
|