@dynamic-labs/ethereum-core 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
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-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.1",
|
|
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.
|
|
23
|
-
"@dynamic-labs/logger": "4.
|
|
24
|
-
"@dynamic-labs/rpc-providers": "4.
|
|
25
|
-
"@dynamic-labs/types": "4.
|
|
26
|
-
"@dynamic-labs/utils": "4.
|
|
27
|
-
"@dynamic-labs/wallet-book": "4.
|
|
28
|
-
"@dynamic-labs/wallet-connector-core": "4.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.607",
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.5.1",
|
|
23
|
+
"@dynamic-labs/logger": "4.5.1",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.5.1",
|
|
25
|
+
"@dynamic-labs/types": "4.5.1",
|
|
26
|
+
"@dynamic-labs/utils": "4.5.1",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.5.1",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "4.5.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"viem": "^2.21.55"
|
|
@@ -296,6 +296,13 @@ class EthereumWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
296
296
|
});
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
|
+
getBlockExplorerUrlsForCurrentNetwork() {
|
|
300
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
301
|
+
var _a, _b;
|
|
302
|
+
const currentNetwork = yield this.getNetwork();
|
|
303
|
+
return ((_b = (_a = this.evmNetworks.find((network) => network.chainId.toString() === (currentNetwork === null || currentNetwork === void 0 ? void 0 : currentNetwork.toString()))) === null || _a === void 0 ? void 0 : _a.blockExplorerUrls) !== null && _b !== void 0 ? _b : []);
|
|
304
|
+
});
|
|
305
|
+
}
|
|
299
306
|
}
|
|
300
307
|
|
|
301
308
|
exports.EthereumWalletConnector = EthereumWalletConnector;
|
|
@@ -7711,5 +7711,6 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7711
7711
|
getActiveChain(): ViemChain | undefined;
|
|
7712
7712
|
createUiTransaction(from: string): Promise<IUITransaction>;
|
|
7713
7713
|
confirmTransactionStatus(txHash: string): Promise<TransactionReceipt>;
|
|
7714
|
+
getBlockExplorerUrlsForCurrentNetwork(): Promise<string[]>;
|
|
7714
7715
|
}
|
|
7715
7716
|
export {};
|
|
@@ -292,6 +292,13 @@ class EthereumWalletConnector extends WalletConnectorBase {
|
|
|
292
292
|
});
|
|
293
293
|
});
|
|
294
294
|
}
|
|
295
|
+
getBlockExplorerUrlsForCurrentNetwork() {
|
|
296
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
297
|
+
var _a, _b;
|
|
298
|
+
const currentNetwork = yield this.getNetwork();
|
|
299
|
+
return ((_b = (_a = this.evmNetworks.find((network) => network.chainId.toString() === (currentNetwork === null || currentNetwork === void 0 ? void 0 : currentNetwork.toString()))) === null || _a === void 0 ? void 0 : _a.blockExplorerUrls) !== null && _b !== void 0 ? _b : []);
|
|
300
|
+
});
|
|
301
|
+
}
|
|
295
302
|
}
|
|
296
303
|
|
|
297
304
|
export { EthereumWalletConnector };
|