@dynamic-labs/ethereum-core 4.66.0 → 4.67.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 +33 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +9 -9
- package/src/connector/EthereumWalletConnector.d.ts +8 -8
- package/src/utils/viem/createAccountWithUiConfirmation/createAccountWithUiConfirmation.cjs +1 -0
- package/src/utils/viem/createAccountWithUiConfirmation/createAccountWithUiConfirmation.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,37 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.67.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.67.0...v4.67.1) (2026-03-10)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add nonce manager and improve transaction handling ([#10612](https://github.com/dynamic-labs/dynamic-auth/issues/10612)) ([e373f12](https://github.com/dynamic-labs/dynamic-auth/commit/e373f1248beee2f12e7b4aec5a72d55b9555ad00))
|
|
8
|
+
* **sdk-react-core:** commonize step-up auth around useStepUpAuthentication ([#10586](https://github.com/dynamic-labs/dynamic-auth/issues/10586)) ([6e31e66](https://github.com/dynamic-labs/dynamic-auth/commit/6e31e6673d8861bc54677ea79da31872d7ad4c4e))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **sdk-react-core:** hide AA warning for EIP-7702 smart wallets, show for ERC-4337 ([#10614](https://github.com/dynamic-labs/dynamic-auth/issues/10614)) ([5c46d42](https://github.com/dynamic-labs/dynamic-auth/commit/5c46d4277472cb31ddde7809d27ef7920964d548))
|
|
14
|
+
* use 2-column grid layout for backup codes to prevent overflow in minimal theme ([#10607](https://github.com/dynamic-labs/dynamic-auth/issues/10607)) ([84adf87](https://github.com/dynamic-labs/dynamic-auth/commit/84adf872aae0a7fedf961b76f5004535e657b415))
|
|
15
|
+
|
|
16
|
+
## [4.67.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.66.0...v4.67.0) (2026-03-09)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* add MFA methods to useStepUpAuthentication hook ([#10581](https://github.com/dynamic-labs/dynamic-auth/issues/10581)) ([7903290](https://github.com/dynamic-labs/dynamic-auth/commit/79032906d548ba2d4bcdf69cd9e6eb820064e408)), closes [dynamic-labs/dynamic-js-sdk#1061](https://github.com/dynamic-labs/dynamic-js-sdk/issues/1061) [dynamic-labs/dynamic-js-sdk#1062](https://github.com/dynamic-labs/dynamic-js-sdk/issues/1062)
|
|
22
|
+
* **demo:** add Passkey MFA and TOTP MFA step-up auth demos ([#10582](https://github.com/dynamic-labs/dynamic-auth/issues/10582)) ([92b9e28](https://github.com/dynamic-labs/dynamic-auth/commit/92b9e28e62084031a8bca11216aab39198948e82)), closes [#10581](https://github.com/dynamic-labs/dynamic-auth/issues/10581)
|
|
23
|
+
* **demo:** add Step-up Auth section ([#10483](https://github.com/dynamic-labs/dynamic-auth/issues/10483)) ([4bfff9a](https://github.com/dynamic-labs/dynamic-auth/commit/4bfff9a0fe475b4d8dbb6b8c4fccebb6550aa06f))
|
|
24
|
+
* **react-native:** add minifiedToken support to authModule ([#10595](https://github.com/dynamic-labs/dynamic-auth/issues/10595)) ([6b6e067](https://github.com/dynamic-labs/dynamic-auth/commit/6b6e067e62b97f573a31140967f3a07064e9f3fd))
|
|
25
|
+
* **stellar:** add account activation handling for unfunded recipients ([#10578](https://github.com/dynamic-labs/dynamic-auth/issues/10578)) ([ea5ef7b](https://github.com/dynamic-labs/dynamic-auth/commit/ea5ef7bfce7cf984ff091ea7d6321814dc3eea81))
|
|
26
|
+
* update demo CTA buttons - 'Book a call' and 'Get a free account' ([#10589](https://github.com/dynamic-labs/dynamic-auth/issues/10589)) ([e7d967c](https://github.com/dynamic-labs/dynamic-auth/commit/e7d967c59c5ad616348d9a51ea4bd314ec1ddd9f))
|
|
27
|
+
* **waas:** add password support to upgradeToDynamicWaas ([#10606](https://github.com/dynamic-labs/dynamic-auth/issues/10606)) ([d998a3e](https://github.com/dynamic-labs/dynamic-auth/commit/d998a3e955110f419dc40c4aeaddd93834957eb7))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* add overflow-y auto to backup codes view to prevent Complete button cutoff ([#10513](https://github.com/dynamic-labs/dynamic-auth/issues/10513)) ([5dfa94e](https://github.com/dynamic-labs/dynamic-auth/commit/5dfa94eaa232535f2e8c6905370dd8d8546485e3))
|
|
33
|
+
* prevent infinite re-render loop in UserPhoneField due to rapid t… ([#10475](https://github.com/dynamic-labs/dynamic-auth/issues/10475)) ([0d79b07](https://github.com/dynamic-labs/dynamic-auth/commit/0d79b0782606c9fa926ed4697a17381211ad2f4a))
|
|
34
|
+
|
|
2
35
|
## [4.66.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.65.0...v4.66.0) (2026-03-02)
|
|
3
36
|
|
|
4
37
|
|
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.67.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.881",
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.67.1",
|
|
23
|
+
"@dynamic-labs/logger": "4.67.1",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.67.1",
|
|
25
|
+
"@dynamic-labs/types": "4.67.1",
|
|
26
|
+
"@dynamic-labs/utils": "4.67.1",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.67.1",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "4.67.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"viem": "^2.28.4"
|
|
@@ -7544,7 +7544,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7544
7544
|
[x: `address[${string}]`]: undefined;
|
|
7545
7545
|
[x: `bool[${string}]`]: undefined;
|
|
7546
7546
|
[x: `bytes[${string}]`]: undefined;
|
|
7547
|
-
[x: `
|
|
7547
|
+
[x: `bytes17[${string}]`]: undefined;
|
|
7548
7548
|
[x: `bytes1[${string}]`]: undefined;
|
|
7549
7549
|
[x: `bytes2[${string}]`]: undefined;
|
|
7550
7550
|
[x: `bytes3[${string}]`]: undefined;
|
|
@@ -7560,7 +7560,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7560
7560
|
[x: `bytes13[${string}]`]: undefined;
|
|
7561
7561
|
[x: `bytes14[${string}]`]: undefined;
|
|
7562
7562
|
[x: `bytes15[${string}]`]: undefined;
|
|
7563
|
-
[x: `
|
|
7563
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
7564
7564
|
[x: `bytes18[${string}]`]: undefined;
|
|
7565
7565
|
[x: `bytes19[${string}]`]: undefined;
|
|
7566
7566
|
[x: `bytes20[${string}]`]: undefined;
|
|
@@ -7577,8 +7577,8 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7577
7577
|
[x: `bytes31[${string}]`]: undefined;
|
|
7578
7578
|
[x: `bytes32[${string}]`]: undefined;
|
|
7579
7579
|
[x: `int[${string}]`]: undefined;
|
|
7580
|
-
[x: `int16[${string}]`]: undefined;
|
|
7581
7580
|
[x: `int8[${string}]`]: undefined;
|
|
7581
|
+
[x: `int16[${string}]`]: undefined;
|
|
7582
7582
|
[x: `int24[${string}]`]: undefined;
|
|
7583
7583
|
[x: `int32[${string}]`]: undefined;
|
|
7584
7584
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -7610,8 +7610,8 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7610
7610
|
[x: `int248[${string}]`]: undefined;
|
|
7611
7611
|
[x: `int256[${string}]`]: undefined;
|
|
7612
7612
|
[x: `uint[${string}]`]: undefined;
|
|
7613
|
-
[x: `uint16[${string}]`]: undefined;
|
|
7614
7613
|
[x: `uint8[${string}]`]: undefined;
|
|
7614
|
+
[x: `uint16[${string}]`]: undefined;
|
|
7615
7615
|
[x: `uint24[${string}]`]: undefined;
|
|
7616
7616
|
[x: `uint32[${string}]`]: undefined;
|
|
7617
7617
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -7646,7 +7646,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7646
7646
|
address?: undefined;
|
|
7647
7647
|
bool?: undefined;
|
|
7648
7648
|
bytes?: undefined;
|
|
7649
|
-
|
|
7649
|
+
bytes17?: undefined;
|
|
7650
7650
|
bytes1?: undefined;
|
|
7651
7651
|
bytes2?: undefined;
|
|
7652
7652
|
bytes3?: undefined;
|
|
@@ -7662,7 +7662,7 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7662
7662
|
bytes13?: undefined;
|
|
7663
7663
|
bytes14?: undefined;
|
|
7664
7664
|
bytes15?: undefined;
|
|
7665
|
-
|
|
7665
|
+
bytes16?: undefined;
|
|
7666
7666
|
bytes18?: undefined;
|
|
7667
7667
|
bytes19?: undefined;
|
|
7668
7668
|
bytes20?: undefined;
|
|
@@ -7678,8 +7678,8 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7678
7678
|
bytes30?: undefined;
|
|
7679
7679
|
bytes31?: undefined;
|
|
7680
7680
|
bytes32?: undefined;
|
|
7681
|
-
int16?: undefined;
|
|
7682
7681
|
int8?: undefined;
|
|
7682
|
+
int16?: undefined;
|
|
7683
7683
|
int24?: undefined;
|
|
7684
7684
|
int32?: undefined;
|
|
7685
7685
|
int40?: undefined;
|
|
@@ -7710,8 +7710,8 @@ export declare abstract class EthereumWalletConnector extends WalletConnectorBas
|
|
|
7710
7710
|
int240?: undefined;
|
|
7711
7711
|
int248?: undefined;
|
|
7712
7712
|
int256?: undefined;
|
|
7713
|
-
uint16?: undefined;
|
|
7714
7713
|
uint8?: undefined;
|
|
7714
|
+
uint16?: undefined;
|
|
7715
7715
|
uint24?: undefined;
|
|
7716
7716
|
uint32?: undefined;
|
|
7717
7717
|
uint40?: undefined;
|
|
@@ -9,6 +9,7 @@ var ViemUiTransaction = require('../ViemUiTransaction/ViemUiTransaction.cjs');
|
|
|
9
9
|
|
|
10
10
|
const createAccountWithUiConfirmation = ({ address, account, provider, walletConnector, walletUiUtils, }) => accounts.toAccount({
|
|
11
11
|
address,
|
|
12
|
+
nonceManager: accounts.nonceManager,
|
|
12
13
|
signAuthorization: (...args) => _tslib.__awaiter(void 0, void 0, void 0, function* () {
|
|
13
14
|
const accountInstance = yield account();
|
|
14
15
|
if (!accountInstance.signAuthorization) {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use client'
|
|
2
2
|
import { __awaiter } from '../../../../_virtual/_tslib.js';
|
|
3
|
-
import { toAccount } from 'viem/accounts';
|
|
3
|
+
import { toAccount, nonceManager } from 'viem/accounts';
|
|
4
4
|
import { ViemUiTransaction } from '../ViemUiTransaction/ViemUiTransaction.js';
|
|
5
5
|
|
|
6
6
|
const createAccountWithUiConfirmation = ({ address, account, provider, walletConnector, walletUiUtils, }) => toAccount({
|
|
7
7
|
address,
|
|
8
|
+
nonceManager,
|
|
8
9
|
signAuthorization: (...args) => __awaiter(void 0, void 0, void 0, function* () {
|
|
9
10
|
const accountInstance = yield account();
|
|
10
11
|
if (!accountInstance.signAuthorization) {
|