@wagmi/core 1.1.0-cjs → 1.1.1-cjs
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/dist/internal/test.d.ts +4 -4
- package/dist/internal/test.js +16 -6
- package/package.json +5 -5
package/dist/internal/test.d.ts
CHANGED
|
@@ -44,8 +44,8 @@ declare const testChains: (Chain | {
|
|
|
44
44
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
45
45
|
};
|
|
46
46
|
readonly ensUniversalResolver: {
|
|
47
|
-
readonly address: "
|
|
48
|
-
readonly blockCreated:
|
|
47
|
+
readonly address: "0x56522D00C410a43BFfDF00a9A569489297385790";
|
|
48
|
+
readonly blockCreated: 8765204;
|
|
49
49
|
};
|
|
50
50
|
readonly multicall3: {
|
|
51
51
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
@@ -93,8 +93,8 @@ declare const testChains: (Chain | {
|
|
|
93
93
|
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
94
94
|
};
|
|
95
95
|
readonly ensUniversalResolver: {
|
|
96
|
-
readonly address: "
|
|
97
|
-
readonly blockCreated:
|
|
96
|
+
readonly address: "0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62";
|
|
97
|
+
readonly blockCreated: 16966585;
|
|
98
98
|
};
|
|
99
99
|
readonly multicall3: {
|
|
100
100
|
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
package/dist/internal/test.js
CHANGED
|
@@ -13,13 +13,14 @@ require('../chunk-KFW652VN.js');
|
|
|
13
13
|
require('../chunk-MQXBDTVK.js');
|
|
14
14
|
|
|
15
15
|
// test/utils.ts
|
|
16
|
+
var _viem = require('viem');
|
|
17
|
+
|
|
16
18
|
|
|
17
19
|
|
|
18
20
|
|
|
19
21
|
|
|
20
22
|
|
|
21
23
|
|
|
22
|
-
var _viem = require('viem');
|
|
23
24
|
var _accounts = require('viem/accounts');
|
|
24
25
|
var _utils = require('viem/utils');
|
|
25
26
|
var foundryMainnet = {
|
|
@@ -134,12 +135,21 @@ function getWalletClients() {
|
|
|
134
135
|
method = "eth_sign";
|
|
135
136
|
params = [params[1], params[0]];
|
|
136
137
|
}
|
|
137
|
-
const
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
138
|
+
const url = foundryMainnet.rpcUrls.default.http[0];
|
|
139
|
+
const body = {
|
|
140
|
+
method,
|
|
141
|
+
params
|
|
142
|
+
};
|
|
143
|
+
const { result, error } = await _utils.rpc.http(url, {
|
|
144
|
+
body
|
|
142
145
|
});
|
|
146
|
+
if (error) {
|
|
147
|
+
throw new (0, _viem.RpcRequestError)({
|
|
148
|
+
body,
|
|
149
|
+
error,
|
|
150
|
+
url
|
|
151
|
+
});
|
|
152
|
+
}
|
|
143
153
|
return result;
|
|
144
154
|
};
|
|
145
155
|
return accounts.map(
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@wagmi/core",
|
|
3
3
|
"description": "Vanilla JS library for Ethereum",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "1.1.
|
|
5
|
+
"version": "1.1.1-cjs",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/wagmi-dev/wagmi.git",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"/dist"
|
|
111
111
|
],
|
|
112
112
|
"peerDependencies": {
|
|
113
|
-
"viem": "
|
|
113
|
+
"viem": ">=0.3.35",
|
|
114
114
|
"typescript": ">=5.0.4"
|
|
115
115
|
},
|
|
116
116
|
"peerDependenciesMeta": {
|
|
@@ -119,14 +119,14 @@
|
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
"dependencies": {
|
|
122
|
-
"@wagmi/chains": "1.
|
|
123
|
-
"@wagmi/connectors": "2.1.
|
|
122
|
+
"@wagmi/chains": "1.1.0-cjs",
|
|
123
|
+
"@wagmi/connectors": "2.1.1-cjs",
|
|
124
124
|
"abitype": "0.8.7",
|
|
125
125
|
"eventemitter3": "^4.0.7",
|
|
126
126
|
"zustand": "^4.3.1"
|
|
127
127
|
},
|
|
128
128
|
"devDependencies": {
|
|
129
|
-
"viem": "
|
|
129
|
+
"viem": "^1.0.0"
|
|
130
130
|
},
|
|
131
131
|
"keywords": [
|
|
132
132
|
"eth",
|