@dynamic-labs/ethereum-core 3.9.5 → 3.9.7
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 +14 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +8 -8
- package/src/utils/viem/createViemUiTransaction/createViemUiTransaction.cjs +1 -0
- package/src/utils/viem/createViemUiTransaction/createViemUiTransaction.js +1 -0
- package/src/utils/viem/interceptTransport/interceptTransport.cjs +3 -0
- package/src/utils/viem/interceptTransport/interceptTransport.js +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
|
|
2
|
+
### [3.9.7](https://github.com/dynamic-labs/DynamicAuth/compare/v3.9.6...v3.9.7) (2025-01-02)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* wc wallet client interactions on some wallets ([#7728](https://github.com/dynamic-labs/DynamicAuth/issues/7728)) ([f1190d9](https://github.com/dynamic-labs/DynamicAuth/commit/f1190d9bd119f00787b61009d28c2d0f564f1ed8))
|
|
8
|
+
|
|
9
|
+
### [3.9.6](https://github.com/dynamic-labs/DynamicAuth/compare/v3.9.5...v3.9.6) (2024-12-28)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* properly cancel transaction confirmation UI when using account abstraction and embedded wallets ([#7713](https://github.com/dynamic-labs/DynamicAuth/issues/7713)) ([ef3020b](https://github.com/dynamic-labs/DynamicAuth/commit/ef3020b5985928178c7cda7bbeb9e96dcbc3a925)), closes [#7669](https://github.com/dynamic-labs/DynamicAuth/issues/7669)
|
|
15
|
+
|
|
2
16
|
### [3.9.5](https://github.com/dynamic-labs/DynamicAuth/compare/v3.9.4...v3.9.5) (2024-12-20)
|
|
3
17
|
|
|
4
18
|
|
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": "3.9.
|
|
3
|
+
"version": "3.9.7",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"viem": "^2.7.12",
|
|
33
|
-
"@dynamic-labs/assert-package-version": "3.9.
|
|
34
|
-
"@dynamic-labs/logger": "3.9.
|
|
35
|
-
"@dynamic-labs/rpc-providers": "3.9.
|
|
36
|
-
"@dynamic-labs/types": "3.9.
|
|
37
|
-
"@dynamic-labs/utils": "3.9.
|
|
38
|
-
"@dynamic-labs/wallet-book": "3.9.
|
|
39
|
-
"@dynamic-labs/wallet-connector-core": "3.9.
|
|
33
|
+
"@dynamic-labs/assert-package-version": "3.9.7",
|
|
34
|
+
"@dynamic-labs/logger": "3.9.7",
|
|
35
|
+
"@dynamic-labs/rpc-providers": "3.9.7",
|
|
36
|
+
"@dynamic-labs/types": "3.9.7",
|
|
37
|
+
"@dynamic-labs/utils": "3.9.7",
|
|
38
|
+
"@dynamic-labs/wallet-book": "3.9.7",
|
|
39
|
+
"@dynamic-labs/wallet-connector-core": "3.9.7"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -26,6 +26,7 @@ const createViemUiTransaction = (_a) => _tslib.__awaiter(void 0, [_a], void 0, f
|
|
|
26
26
|
// Native token
|
|
27
27
|
return walletClient.sendTransaction({
|
|
28
28
|
account: from,
|
|
29
|
+
data: '0x',
|
|
29
30
|
maxFeePerGas: transaction.maxFeePerGas,
|
|
30
31
|
maxPriorityFeePerGas: transaction.maxPriorityFeePerGas,
|
|
31
32
|
to: transaction.to,
|
|
@@ -22,6 +22,7 @@ const createViemUiTransaction = (_a) => __awaiter(void 0, [_a], void 0, function
|
|
|
22
22
|
// Native token
|
|
23
23
|
return walletClient.sendTransaction({
|
|
24
24
|
account: from,
|
|
25
|
+
data: '0x',
|
|
25
26
|
maxFeePerGas: transaction.maxFeePerGas,
|
|
26
27
|
maxPriorityFeePerGas: transaction.maxPriorityFeePerGas,
|
|
27
28
|
to: transaction.to,
|
|
@@ -33,6 +33,9 @@ const interceptTransport = ({ getAccounts, onPersonalSign, onSendTransaction, on
|
|
|
33
33
|
error.walk() instanceof utils.UserRejectedTransactionError) {
|
|
34
34
|
throw new viem.UserRejectedRequestError(error.walk());
|
|
35
35
|
}
|
|
36
|
+
if (error instanceof utils.UserRejectedTransactionError) {
|
|
37
|
+
throw new viem.UserRejectedRequestError(error);
|
|
38
|
+
}
|
|
36
39
|
if (error instanceof utils.UserRejectedRequestError) {
|
|
37
40
|
throw new viem.UserRejectedRequestError(error);
|
|
38
41
|
}
|
|
@@ -29,6 +29,9 @@ const interceptTransport = ({ getAccounts, onPersonalSign, onSendTransaction, on
|
|
|
29
29
|
error.walk() instanceof UserRejectedTransactionError) {
|
|
30
30
|
throw new UserRejectedRequestError$1(error.walk());
|
|
31
31
|
}
|
|
32
|
+
if (error instanceof UserRejectedTransactionError) {
|
|
33
|
+
throw new UserRejectedRequestError$1(error);
|
|
34
|
+
}
|
|
32
35
|
if (error instanceof UserRejectedRequestError) {
|
|
33
36
|
throw new UserRejectedRequestError$1(error);
|
|
34
37
|
}
|