@wagmi/core 1.0.0-next.2 → 1.0.0-next.4
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/index.d.ts +1 -1
- package/dist/index.js +0 -2
- package/dist/internal/test.d.ts +14 -14
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _wagmi_chains from '@wagmi/chains';
|
|
2
2
|
import { Chain } from '@wagmi/chains';
|
|
3
|
-
export { Chain,
|
|
3
|
+
export { Chain, mainnet, sepolia } from '@wagmi/chains';
|
|
4
4
|
import { Mutate, StoreApi } from 'zustand/vanilla';
|
|
5
5
|
import { Connector, ConnectorData } from '@wagmi/connectors';
|
|
6
6
|
export { Connector, ConnectorData, ConnectorEvents, ConnectorNotFoundError, WindowProvider } from '@wagmi/connectors';
|
package/dist/index.js
CHANGED
|
@@ -60,7 +60,6 @@ import {
|
|
|
60
60
|
writeContract
|
|
61
61
|
} from "./chunk-YPGOLRBI.js";
|
|
62
62
|
import {
|
|
63
|
-
goerli,
|
|
64
63
|
mainnet,
|
|
65
64
|
sepolia
|
|
66
65
|
} from "./chunk-RIWXWG4Y.js";
|
|
@@ -108,7 +107,6 @@ export {
|
|
|
108
107
|
getUnit,
|
|
109
108
|
getWalletClient,
|
|
110
109
|
getWebSocketPublicClient,
|
|
111
|
-
goerli,
|
|
112
110
|
mainnet,
|
|
113
111
|
multicall,
|
|
114
112
|
noopStorage,
|
package/dist/internal/test.d.ts
CHANGED
|
@@ -216,7 +216,7 @@ declare function getWalletClients(): {
|
|
|
216
216
|
}): Promise<`0x${string}`>;
|
|
217
217
|
(args: {
|
|
218
218
|
method: "eth_call";
|
|
219
|
-
params: [request: Partial<viem.RpcTransactionRequest>, block
|
|
219
|
+
params: [request: Partial<viem.RpcTransactionRequest>, block?: `0x${string}` | viem.BlockTag | viem.RpcBlockIdentifier | undefined];
|
|
220
220
|
}): Promise<`0x${string}`>;
|
|
221
221
|
(args: {
|
|
222
222
|
method: "eth_chainId";
|
|
@@ -228,7 +228,7 @@ declare function getWalletClients(): {
|
|
|
228
228
|
}): Promise<`0x${string}`>;
|
|
229
229
|
(args: {
|
|
230
230
|
method: "eth_estimateGas";
|
|
231
|
-
params: [parameters: viem.RpcTransactionRequest, block
|
|
231
|
+
params: [parameters: viem.RpcTransactionRequest, block?: `0x${string}` | viem.BlockTag | undefined];
|
|
232
232
|
}): Promise<`0x${string}`>;
|
|
233
233
|
(args: {
|
|
234
234
|
method: "eth_feeHistory";
|
|
@@ -474,7 +474,7 @@ declare function getWalletClients(): {
|
|
|
474
474
|
}): Promise<`0x${string}`>;
|
|
475
475
|
(args: {
|
|
476
476
|
method: "eth_call";
|
|
477
|
-
params: [request: Partial<viem.RpcTransactionRequest>, block
|
|
477
|
+
params: [request: Partial<viem.RpcTransactionRequest>, block?: `0x${string}` | viem.BlockTag | viem.RpcBlockIdentifier | undefined];
|
|
478
478
|
}): Promise<`0x${string}`>;
|
|
479
479
|
(args: {
|
|
480
480
|
method: "eth_chainId";
|
|
@@ -486,7 +486,7 @@ declare function getWalletClients(): {
|
|
|
486
486
|
}): Promise<`0x${string}`>;
|
|
487
487
|
(args: {
|
|
488
488
|
method: "eth_estimateGas";
|
|
489
|
-
params: [parameters: viem.RpcTransactionRequest, block
|
|
489
|
+
params: [parameters: viem.RpcTransactionRequest, block?: `0x${string}` | viem.BlockTag | undefined];
|
|
490
490
|
}): Promise<`0x${string}`>;
|
|
491
491
|
(args: {
|
|
492
492
|
method: "eth_feeHistory";
|
|
@@ -743,13 +743,13 @@ declare function getWalletClients(): {
|
|
|
743
743
|
[x: `bytes10[${string}]`]: undefined;
|
|
744
744
|
[x: `bytes19[${string}]`]: undefined;
|
|
745
745
|
[x: `bytes16[${string}]`]: undefined;
|
|
746
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
746
747
|
[x: `bytes2[${string}]`]: undefined;
|
|
747
748
|
[x: `bytes32[${string}]`]: undefined;
|
|
748
749
|
[x: `bytes3[${string}]`]: undefined;
|
|
749
750
|
[x: `bytes4[${string}]`]: undefined;
|
|
750
751
|
[x: `bytes6[${string}]`]: undefined;
|
|
751
752
|
[x: `bytes7[${string}]`]: undefined;
|
|
752
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
753
753
|
[x: `bytes9[${string}]`]: undefined;
|
|
754
754
|
[x: `bytes11[${string}]`]: undefined;
|
|
755
755
|
[x: `bytes12[${string}]`]: undefined;
|
|
@@ -769,10 +769,11 @@ declare function getWalletClients(): {
|
|
|
769
769
|
[x: `bytes31[${string}]`]: undefined;
|
|
770
770
|
[x: `int[${string}]`]: undefined;
|
|
771
771
|
[x: `int56[${string}]`]: undefined;
|
|
772
|
+
[x: `int248[${string}]`]: undefined;
|
|
772
773
|
[x: `int16[${string}]`]: undefined;
|
|
774
|
+
[x: `int8[${string}]`]: undefined;
|
|
773
775
|
[x: `int40[${string}]`]: undefined;
|
|
774
776
|
[x: `int32[${string}]`]: undefined;
|
|
775
|
-
[x: `int8[${string}]`]: undefined;
|
|
776
777
|
[x: `int24[${string}]`]: undefined;
|
|
777
778
|
[x: `int48[${string}]`]: undefined;
|
|
778
779
|
[x: `int64[${string}]`]: undefined;
|
|
@@ -798,14 +799,14 @@ declare function getWalletClients(): {
|
|
|
798
799
|
[x: `int224[${string}]`]: undefined;
|
|
799
800
|
[x: `int232[${string}]`]: undefined;
|
|
800
801
|
[x: `int240[${string}]`]: undefined;
|
|
801
|
-
[x: `int248[${string}]`]: undefined;
|
|
802
802
|
[x: `int256[${string}]`]: undefined;
|
|
803
803
|
[x: `uint[${string}]`]: undefined;
|
|
804
804
|
[x: `uint56[${string}]`]: undefined;
|
|
805
|
+
[x: `uint248[${string}]`]: undefined;
|
|
805
806
|
[x: `uint16[${string}]`]: undefined;
|
|
807
|
+
[x: `uint8[${string}]`]: undefined;
|
|
806
808
|
[x: `uint40[${string}]`]: undefined;
|
|
807
809
|
[x: `uint32[${string}]`]: undefined;
|
|
808
|
-
[x: `uint8[${string}]`]: undefined;
|
|
809
810
|
[x: `uint24[${string}]`]: undefined;
|
|
810
811
|
[x: `uint48[${string}]`]: undefined;
|
|
811
812
|
[x: `uint64[${string}]`]: undefined;
|
|
@@ -831,7 +832,6 @@ declare function getWalletClients(): {
|
|
|
831
832
|
[x: `uint224[${string}]`]: undefined;
|
|
832
833
|
[x: `uint232[${string}]`]: undefined;
|
|
833
834
|
[x: `uint240[${string}]`]: undefined;
|
|
834
|
-
[x: `uint248[${string}]`]: undefined;
|
|
835
835
|
[x: `uint256[${string}]`]: undefined;
|
|
836
836
|
string?: undefined;
|
|
837
837
|
address?: undefined;
|
|
@@ -845,13 +845,13 @@ declare function getWalletClients(): {
|
|
|
845
845
|
bytes10?: undefined;
|
|
846
846
|
bytes19?: undefined;
|
|
847
847
|
bytes16?: undefined;
|
|
848
|
+
bytes8?: undefined;
|
|
848
849
|
bytes2?: undefined;
|
|
849
850
|
bytes32?: undefined;
|
|
850
851
|
bytes3?: undefined;
|
|
851
852
|
bytes4?: undefined;
|
|
852
853
|
bytes6?: undefined;
|
|
853
854
|
bytes7?: undefined;
|
|
854
|
-
bytes8?: undefined;
|
|
855
855
|
bytes9?: undefined;
|
|
856
856
|
bytes11?: undefined;
|
|
857
857
|
bytes12?: undefined;
|
|
@@ -870,10 +870,11 @@ declare function getWalletClients(): {
|
|
|
870
870
|
bytes30?: undefined;
|
|
871
871
|
bytes31?: undefined;
|
|
872
872
|
int56?: undefined;
|
|
873
|
+
int248?: undefined;
|
|
873
874
|
int16?: undefined;
|
|
875
|
+
int8?: undefined;
|
|
874
876
|
int40?: undefined;
|
|
875
877
|
int32?: undefined;
|
|
876
|
-
int8?: undefined;
|
|
877
878
|
int24?: undefined;
|
|
878
879
|
int48?: undefined;
|
|
879
880
|
int64?: undefined;
|
|
@@ -899,13 +900,13 @@ declare function getWalletClients(): {
|
|
|
899
900
|
int224?: undefined;
|
|
900
901
|
int232?: undefined;
|
|
901
902
|
int240?: undefined;
|
|
902
|
-
int248?: undefined;
|
|
903
903
|
int256?: undefined;
|
|
904
904
|
uint56?: undefined;
|
|
905
|
+
uint248?: undefined;
|
|
905
906
|
uint16?: undefined;
|
|
907
|
+
uint8?: undefined;
|
|
906
908
|
uint40?: undefined;
|
|
907
909
|
uint32?: undefined;
|
|
908
|
-
uint8?: undefined;
|
|
909
910
|
uint24?: undefined;
|
|
910
911
|
uint48?: undefined;
|
|
911
912
|
uint64?: undefined;
|
|
@@ -931,7 +932,6 @@ declare function getWalletClients(): {
|
|
|
931
932
|
uint224?: undefined;
|
|
932
933
|
uint232?: undefined;
|
|
933
934
|
uint240?: undefined;
|
|
934
|
-
uint248?: undefined;
|
|
935
935
|
uint256?: undefined;
|
|
936
936
|
} | {
|
|
937
937
|
[key: string]: unknown;
|
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.0.0-next.
|
|
5
|
+
"version": "1.0.0-next.4",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/wagmi-dev/wagmi.git",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"/dist"
|
|
112
112
|
],
|
|
113
113
|
"peerDependencies": {
|
|
114
|
-
"viem": "~0.3.
|
|
114
|
+
"viem": "~0.3.17",
|
|
115
115
|
"typescript": ">=4.9.4"
|
|
116
116
|
},
|
|
117
117
|
"peerDependenciesMeta": {
|
|
@@ -123,11 +123,11 @@
|
|
|
123
123
|
"abitype": "^0.7.1",
|
|
124
124
|
"eventemitter3": "^4.0.7",
|
|
125
125
|
"zustand": "^4.3.1",
|
|
126
|
-
"@wagmi/chains": "0.2.
|
|
127
|
-
"@wagmi/connectors": "1.0.0-next.
|
|
126
|
+
"@wagmi/chains": "0.2.20",
|
|
127
|
+
"@wagmi/connectors": "1.0.0-next.5"
|
|
128
128
|
},
|
|
129
129
|
"devDependencies": {
|
|
130
|
-
"viem": "~0.3.
|
|
130
|
+
"viem": "~0.3.17"
|
|
131
131
|
},
|
|
132
132
|
"keywords": [
|
|
133
133
|
"eth",
|