@dynamic-labs/ethereum-core 4.99.0 → 4.100.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,24 @@
|
|
|
1
1
|
|
|
2
|
+
### [4.100.1](https://github.com/dynamic-labs/dynamic-auth/compare/v4.100.0...v4.100.1) (2026-09-16)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **ethereum-core:** prefer dashboard-saved RPC urls when mapping viem chains ([#12407](https://github.com/dynamic-labs/dynamic-auth/issues/12407)) ([e794605](https://github.com/dynamic-labs/dynamic-auth/commit/e79460541f5d99caee64e9f4699baa1bf1b36544))
|
|
8
|
+
* **wallet-connect:** fix Rabby WalletConnect connection on Mobile [V4 backport] ([#12387](https://github.com/dynamic-labs/dynamic-auth/issues/12387)) ([a2f137f](https://github.com/dynamic-labs/dynamic-auth/commit/a2f137f5dc203f7fbfc4399b9999751c22851654))
|
|
9
|
+
|
|
10
|
+
## [4.100.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.99.0...v4.100.0) (2026-09-10)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **solana-extension:** expose createAssociatedTokenAccount ([#12377](https://github.com/dynamic-labs/dynamic-auth/issues/12377)) ([c127857](https://github.com/dynamic-labs/dynamic-auth/commit/c127857097069ef2fcf337b78971e678f0552277))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* show transaction amount when simulation returns no transfers (v4 backport) ([#12356](https://github.com/dynamic-labs/dynamic-auth/issues/12356)) ([36feb2d](https://github.com/dynamic-labs/dynamic-auth/commit/36feb2d24de3f78560112bdf86a258d0596c4470))
|
|
21
|
+
|
|
2
22
|
## [4.99.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.98.0...v4.99.0) (2026-09-10)
|
|
3
23
|
|
|
4
24
|
|
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.100.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.
|
|
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.40.0",
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.100.1",
|
|
23
|
+
"@dynamic-labs/logger": "4.100.1",
|
|
24
|
+
"@dynamic-labs/rpc-providers": "4.100.1",
|
|
25
|
+
"@dynamic-labs/types": "4.100.1",
|
|
26
|
+
"@dynamic-labs/utils": "4.100.1",
|
|
27
|
+
"@dynamic-labs/wallet-book": "4.100.1",
|
|
28
|
+
"@dynamic-labs/wallet-connector-core": "4.100.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"viem": "^2.45.3"
|
|
@@ -43,9 +43,12 @@ const getChain = (chainId) => {
|
|
|
43
43
|
throw new Error(`Chain with id ${chainId} not found`);
|
|
44
44
|
};
|
|
45
45
|
const mapChain = (network) => {
|
|
46
|
-
var _a;
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
var _a, _b, _c, _d, _e;
|
|
47
|
+
const privateCustomerRpcUrls = (_b = (_a = network.privateCustomerRpcUrls) === null || _a === void 0 ? void 0 : _a.filter(Boolean)) !== null && _b !== void 0 ? _b : [];
|
|
48
|
+
const rpcUrls = (_d = (_c = network.rpcUrls) === null || _c === void 0 ? void 0 : _c.filter(Boolean)) !== null && _d !== void 0 ? _d : [];
|
|
49
|
+
const httpRpcUrls = [...privateCustomerRpcUrls, ...rpcUrls];
|
|
50
|
+
return {
|
|
51
|
+
blockExplorers: ((_e = network.blockExplorerUrls) === null || _e === void 0 ? void 0 : _e[0])
|
|
49
52
|
? {
|
|
50
53
|
default: {
|
|
51
54
|
name: network.blockExplorerUrls[0],
|
|
@@ -57,10 +60,10 @@ const mapChain = (network) => {
|
|
|
57
60
|
name: network.vanityName || network.name || network.chainName,
|
|
58
61
|
nativeCurrency: network.nativeCurrency,
|
|
59
62
|
rpcUrls: {
|
|
60
|
-
default: { http:
|
|
61
|
-
public: { http:
|
|
63
|
+
default: { http: httpRpcUrls },
|
|
64
|
+
public: { http: httpRpcUrls },
|
|
62
65
|
},
|
|
63
|
-
}
|
|
66
|
+
};
|
|
64
67
|
};
|
|
65
68
|
const getOrMapViemChain = (network) => {
|
|
66
69
|
let viemChain;
|
|
@@ -19,9 +19,12 @@ const getChain = (chainId) => {
|
|
|
19
19
|
throw new Error(`Chain with id ${chainId} not found`);
|
|
20
20
|
};
|
|
21
21
|
const mapChain = (network) => {
|
|
22
|
-
var _a;
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
var _a, _b, _c, _d, _e;
|
|
23
|
+
const privateCustomerRpcUrls = (_b = (_a = network.privateCustomerRpcUrls) === null || _a === void 0 ? void 0 : _a.filter(Boolean)) !== null && _b !== void 0 ? _b : [];
|
|
24
|
+
const rpcUrls = (_d = (_c = network.rpcUrls) === null || _c === void 0 ? void 0 : _c.filter(Boolean)) !== null && _d !== void 0 ? _d : [];
|
|
25
|
+
const httpRpcUrls = [...privateCustomerRpcUrls, ...rpcUrls];
|
|
26
|
+
return {
|
|
27
|
+
blockExplorers: ((_e = network.blockExplorerUrls) === null || _e === void 0 ? void 0 : _e[0])
|
|
25
28
|
? {
|
|
26
29
|
default: {
|
|
27
30
|
name: network.blockExplorerUrls[0],
|
|
@@ -33,10 +36,10 @@ const mapChain = (network) => {
|
|
|
33
36
|
name: network.vanityName || network.name || network.chainName,
|
|
34
37
|
nativeCurrency: network.nativeCurrency,
|
|
35
38
|
rpcUrls: {
|
|
36
|
-
default: { http:
|
|
37
|
-
public: { http:
|
|
39
|
+
default: { http: httpRpcUrls },
|
|
40
|
+
public: { http: httpRpcUrls },
|
|
38
41
|
},
|
|
39
|
-
}
|
|
42
|
+
};
|
|
40
43
|
};
|
|
41
44
|
const getOrMapViemChain = (network) => {
|
|
42
45
|
let viemChain;
|