@dynamic-labs/ethereum-core 4.74.1 → 4.76.0
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.76.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.75.0...v4.76.0) (2026-04-06)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* handle credential_not_enabled_for_sign_in error across all sign-in methods ([#10819](https://github.com/dynamic-labs/dynamic-auth/issues/10819)) ([f694b85](https://github.com/dynamic-labs/dynamic-auth/commit/f694b857eab9d377626078d290473ca369652331))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* modal transition race condition (opacity stuck at 0) ([#10857](https://github.com/dynamic-labs/dynamic-auth/issues/10857)) ([6e9ec68](https://github.com/dynamic-labs/dynamic-auth/commit/6e9ec68040776cc5be333ad20ad0096374947b74))
|
|
13
|
+
* **react-native:** ensure session is correctly mapped ([#10860](https://github.com/dynamic-labs/dynamic-auth/issues/10860)) ([117b013](https://github.com/dynamic-labs/dynamic-auth/commit/117b013faf9a0d4bc6b8429a36d8e88dba546889))
|
|
14
|
+
|
|
15
|
+
## [4.75.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.74.1...v4.75.0) (2026-04-03)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **midnight:** add midnight base package scaffolding ([#10850](https://github.com/dynamic-labs/dynamic-auth/issues/10850)) ([5844849](https://github.com/dynamic-labs/dynamic-auth/commit/584484916cf49d7ec46ec5cf862e2e6b8308d90f))
|
|
21
|
+
* **tempo:** add FeeTokenSelector component for fee token selection ([#10842](https://github.com/dynamic-labs/dynamic-auth/issues/10842)) ([18bc637](https://github.com/dynamic-labs/dynamic-auth/commit/18bc6374bea6eeff6656edaa725b0620bc8b36dd))
|
|
22
|
+
|
|
2
23
|
### [4.74.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.74.0...v4.74.1) (2026-04-02)
|
|
3
24
|
|
|
4
25
|
This was a version bump only, there were no code changes.
|
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.76.0",
|
|
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.923",
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.76.0",
|
|
23
|
+
"@dynamic-labs/logger": "4.76.0",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.76.0",
|
|
25
|
+
"@dynamic-labs/types": "4.76.0",
|
|
26
|
+
"@dynamic-labs/utils": "4.76.0",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.76.0",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "4.76.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"viem": "^2.45.3"
|
|
@@ -285,6 +285,16 @@ class EthereumWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
285
285
|
getActiveChain() {
|
|
286
286
|
return this.activeChain;
|
|
287
287
|
}
|
|
288
|
+
get hasNativeToken() {
|
|
289
|
+
var _a;
|
|
290
|
+
const network = this.evmNetworks.find((n) => { var _a; return n.chainId === ((_a = this.activeChain) === null || _a === void 0 ? void 0 : _a.id); });
|
|
291
|
+
return (_a = network === null || network === void 0 ? void 0 : network.hasNativeToken) !== null && _a !== void 0 ? _a : true;
|
|
292
|
+
}
|
|
293
|
+
get supportsFeeTokenSelection() {
|
|
294
|
+
var _a;
|
|
295
|
+
const network = this.evmNetworks.find((n) => { var _a; return n.chainId === ((_a = this.activeChain) === null || _a === void 0 ? void 0 : _a.id); });
|
|
296
|
+
return (_a = network === null || network === void 0 ? void 0 : network.supportsFeeTokenSelection) !== null && _a !== void 0 ? _a : false;
|
|
297
|
+
}
|
|
288
298
|
createUiTransaction(from) {
|
|
289
299
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
290
300
|
yield this.validateActiveWallet(from);
|
|
@@ -7564,7 +7564,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7564
7564
|
[x: `address[${string}]`]: undefined;
|
|
7565
7565
|
[x: `bool[${string}]`]: undefined;
|
|
7566
7566
|
[x: `bytes[${string}]`]: undefined;
|
|
7567
|
-
[x: `
|
|
7567
|
+
[x: `bytes19[${string}]`]: undefined;
|
|
7568
7568
|
[x: `bytes1[${string}]`]: undefined;
|
|
7569
7569
|
[x: `bytes2[${string}]`]: undefined;
|
|
7570
7570
|
[x: `bytes3[${string}]`]: undefined;
|
|
@@ -7582,7 +7582,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7582
7582
|
[x: `bytes15[${string}]`]: undefined;
|
|
7583
7583
|
[x: `bytes16[${string}]`]: undefined;
|
|
7584
7584
|
[x: `bytes17[${string}]`]: undefined;
|
|
7585
|
-
[x: `
|
|
7585
|
+
[x: `bytes18[${string}]`]: undefined;
|
|
7586
7586
|
[x: `bytes20[${string}]`]: undefined;
|
|
7587
7587
|
[x: `bytes21[${string}]`]: undefined;
|
|
7588
7588
|
[x: `bytes22[${string}]`]: undefined;
|
|
@@ -7666,7 +7666,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7666
7666
|
address?: undefined;
|
|
7667
7667
|
bool?: undefined;
|
|
7668
7668
|
bytes?: undefined;
|
|
7669
|
-
|
|
7669
|
+
bytes19?: undefined;
|
|
7670
7670
|
bytes1?: undefined;
|
|
7671
7671
|
bytes2?: undefined;
|
|
7672
7672
|
bytes3?: undefined;
|
|
@@ -7684,7 +7684,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7684
7684
|
bytes15?: undefined;
|
|
7685
7685
|
bytes16?: undefined;
|
|
7686
7686
|
bytes17?: undefined;
|
|
7687
|
-
|
|
7687
|
+
bytes18?: undefined;
|
|
7688
7688
|
bytes20?: undefined;
|
|
7689
7689
|
bytes21?: undefined;
|
|
7690
7690
|
bytes22?: undefined;
|
|
@@ -7819,6 +7819,8 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7819
7819
|
getActiveAccount(): Account | undefined;
|
|
7820
7820
|
setActiveChain(chain: ViemChain | undefined): void;
|
|
7821
7821
|
getActiveChain(): ViemChain | undefined;
|
|
7822
|
+
get hasNativeToken(): boolean;
|
|
7823
|
+
get supportsFeeTokenSelection(): boolean;
|
|
7822
7824
|
createUiTransaction(from: string): Promise<IUITransaction>;
|
|
7823
7825
|
confirmTransactionStatus(txHash: string): Promise<TransactionReceipt>;
|
|
7824
7826
|
getBlockExplorerUrlsForCurrentNetwork(): Promise<string[]>;
|
|
@@ -281,6 +281,16 @@ class EthereumWalletConnector extends WalletConnectorBase {
|
|
|
281
281
|
getActiveChain() {
|
|
282
282
|
return this.activeChain;
|
|
283
283
|
}
|
|
284
|
+
get hasNativeToken() {
|
|
285
|
+
var _a;
|
|
286
|
+
const network = this.evmNetworks.find((n) => { var _a; return n.chainId === ((_a = this.activeChain) === null || _a === void 0 ? void 0 : _a.id); });
|
|
287
|
+
return (_a = network === null || network === void 0 ? void 0 : network.hasNativeToken) !== null && _a !== void 0 ? _a : true;
|
|
288
|
+
}
|
|
289
|
+
get supportsFeeTokenSelection() {
|
|
290
|
+
var _a;
|
|
291
|
+
const network = this.evmNetworks.find((n) => { var _a; return n.chainId === ((_a = this.activeChain) === null || _a === void 0 ? void 0 : _a.id); });
|
|
292
|
+
return (_a = network === null || network === void 0 ? void 0 : network.supportsFeeTokenSelection) !== null && _a !== void 0 ? _a : false;
|
|
293
|
+
}
|
|
284
294
|
createUiTransaction(from) {
|
|
285
295
|
return __awaiter(this, void 0, void 0, function* () {
|
|
286
296
|
yield this.validateActiveWallet(from);
|