viem 2.0.0-beta.5 → 2.0.0-beta.6
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/_cjs/errors/node.js +11 -11
- package/_cjs/errors/node.js.map +1 -1
- package/_cjs/errors/rpc.js +18 -18
- package/_cjs/errors/rpc.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_esm/errors/node.js +22 -11
- package/_esm/errors/node.js.map +1 -1
- package/_esm/errors/rpc.js +36 -18
- package/_esm/errors/rpc.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/chains/celo/chainConfig.d.ts +7 -7
- package/_types/chains/celo/formatters.d.ts +7 -7
- package/_types/chains/definitions/base.d.ts +7 -7
- package/_types/chains/definitions/baseGoerli.d.ts +7 -7
- package/_types/chains/definitions/baseSepolia.d.ts +7 -7
- package/_types/chains/definitions/celo.d.ts +7 -7
- package/_types/chains/definitions/celoAlfajores.d.ts +7 -7
- package/_types/chains/definitions/celoCannoli.d.ts +7 -7
- package/_types/chains/definitions/optimism.d.ts +7 -7
- package/_types/chains/definitions/optimismGoerli.d.ts +7 -7
- package/_types/chains/definitions/optimismSepolia.d.ts +7 -7
- package/_types/chains/definitions/zora.d.ts +7 -7
- package/_types/chains/definitions/zoraSepolia.d.ts +7 -7
- package/_types/chains/definitions/zoraTestnet.d.ts +7 -7
- package/_types/chains/index.d.ts +1 -1
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/opStack/chainConfig.d.ts +7 -7
- package/_types/chains/opStack/formatters.d.ts +7 -7
- package/_types/errors/version.d.ts +1 -1
- package/chains/index.ts +1 -1
- package/errors/version.ts +1 -1
- package/package.json +1 -1
@@ -75,7 +75,7 @@ export declare const chainConfig: {
|
|
75
75
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
76
76
|
accessList?: undefined;
|
77
77
|
chainId?: `0x${string}` | undefined;
|
78
|
-
} & import("../index.js").Omit<import("
|
78
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
79
79
|
isSystemTx?: undefined;
|
80
80
|
mint?: undefined;
|
81
81
|
sourceHash?: undefined;
|
@@ -126,7 +126,7 @@ export declare const chainConfig: {
|
|
126
126
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
127
127
|
accessList?: import("../../index.js").AccessList | undefined;
|
128
128
|
chainId?: `0x${string}` | undefined;
|
129
|
-
} & import("../index.js").Omit<import("
|
129
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
130
130
|
isSystemTx?: undefined;
|
131
131
|
mint?: undefined;
|
132
132
|
sourceHash?: undefined;
|
@@ -151,7 +151,7 @@ export declare const chainConfig: {
|
|
151
151
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
152
152
|
accessList?: import("../../index.js").AccessList | undefined;
|
153
153
|
chainId?: `0x${string}` | undefined;
|
154
|
-
} & import("../index.js").Omit<import("
|
154
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
155
155
|
isSystemTx?: undefined;
|
156
156
|
mint?: undefined;
|
157
157
|
sourceHash?: undefined;
|
@@ -176,7 +176,7 @@ export declare const chainConfig: {
|
|
176
176
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
177
177
|
accessList?: import("../../index.js").AccessList | undefined;
|
178
178
|
chainId?: `0x${string}` | undefined;
|
179
|
-
} & import("../index.js").Omit<import("
|
179
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
180
180
|
isSystemTx?: undefined;
|
181
181
|
mint?: undefined;
|
182
182
|
sourceHash?: undefined;
|
@@ -227,7 +227,7 @@ export declare const chainConfig: {
|
|
227
227
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
228
228
|
accessList?: import("../../index.js").AccessList | undefined;
|
229
229
|
chainId?: `0x${string}` | undefined;
|
230
|
-
} & import("../index.js").Omit<import("
|
230
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
231
231
|
isSystemTx?: undefined;
|
232
232
|
mint?: undefined;
|
233
233
|
sourceHash?: undefined;
|
@@ -252,7 +252,7 @@ export declare const chainConfig: {
|
|
252
252
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
253
253
|
accessList?: import("../../index.js").AccessList | undefined;
|
254
254
|
chainId?: `0x${string}` | undefined;
|
255
|
-
} & import("../index.js").Omit<import("
|
255
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
256
256
|
isSystemTx?: undefined;
|
257
257
|
mint?: undefined;
|
258
258
|
sourceHash?: undefined;
|
@@ -277,7 +277,7 @@ export declare const chainConfig: {
|
|
277
277
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
278
278
|
accessList?: import("../../index.js").AccessList | undefined;
|
279
279
|
chainId?: `0x${string}` | undefined;
|
280
|
-
} & import("../index.js").Omit<import("
|
280
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
281
281
|
isSystemTx?: undefined;
|
282
282
|
mint?: undefined;
|
283
283
|
sourceHash?: undefined;
|
@@ -56,7 +56,7 @@ export declare const formatters: {
|
|
56
56
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
57
57
|
accessList?: undefined;
|
58
58
|
chainId?: `0x${string}` | undefined;
|
59
|
-
} & import("../index.js").Omit<import("
|
59
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
60
60
|
isSystemTx?: undefined;
|
61
61
|
mint?: undefined;
|
62
62
|
sourceHash?: undefined;
|
@@ -107,7 +107,7 @@ export declare const formatters: {
|
|
107
107
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
108
108
|
accessList?: import("../../index.js").AccessList | undefined;
|
109
109
|
chainId?: `0x${string}` | undefined;
|
110
|
-
} & import("../index.js").Omit<import("
|
110
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
111
111
|
isSystemTx?: undefined;
|
112
112
|
mint?: undefined;
|
113
113
|
sourceHash?: undefined;
|
@@ -132,7 +132,7 @@ export declare const formatters: {
|
|
132
132
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
133
133
|
accessList?: import("../../index.js").AccessList | undefined;
|
134
134
|
chainId?: `0x${string}` | undefined;
|
135
|
-
} & import("../index.js").Omit<import("
|
135
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
136
136
|
isSystemTx?: undefined;
|
137
137
|
mint?: undefined;
|
138
138
|
sourceHash?: undefined;
|
@@ -157,7 +157,7 @@ export declare const formatters: {
|
|
157
157
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
158
158
|
accessList?: import("../../index.js").AccessList | undefined;
|
159
159
|
chainId?: `0x${string}` | undefined;
|
160
|
-
} & import("../index.js").Omit<import("
|
160
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
161
161
|
isSystemTx?: undefined;
|
162
162
|
mint?: undefined;
|
163
163
|
sourceHash?: undefined;
|
@@ -208,7 +208,7 @@ export declare const formatters: {
|
|
208
208
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
209
209
|
accessList?: import("../../index.js").AccessList | undefined;
|
210
210
|
chainId?: `0x${string}` | undefined;
|
211
|
-
} & import("../index.js").Omit<import("
|
211
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionLegacy<`0x${string}`, `0x${string}`, boolean, "0x0">, "yParity">, "typeHex"> & {
|
212
212
|
isSystemTx?: undefined;
|
213
213
|
mint?: undefined;
|
214
214
|
sourceHash?: undefined;
|
@@ -233,7 +233,7 @@ export declare const formatters: {
|
|
233
233
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
234
234
|
accessList?: import("../../index.js").AccessList | undefined;
|
235
235
|
chainId?: `0x${string}` | undefined;
|
236
|
-
} & import("../index.js").Omit<import("
|
236
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP2930<`0x${string}`, `0x${string}`, boolean, "0x1">, "yParity">, "typeHex"> & {
|
237
237
|
isSystemTx?: undefined;
|
238
238
|
mint?: undefined;
|
239
239
|
sourceHash?: undefined;
|
@@ -258,7 +258,7 @@ export declare const formatters: {
|
|
258
258
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
259
259
|
accessList?: import("../../index.js").AccessList | undefined;
|
260
260
|
chainId?: `0x${string}` | undefined;
|
261
|
-
} & import("../index.js").Omit<import("
|
261
|
+
} & import("../index.js").Omit<import("../index.js").PartialBy<import("../../index.js").TransactionEIP1559<`0x${string}`, `0x${string}`, boolean, "0x2">, "yParity">, "typeHex"> & {
|
262
262
|
isSystemTx?: undefined;
|
263
263
|
mint?: undefined;
|
264
264
|
sourceHash?: undefined;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "2.0.0-beta.
|
1
|
+
export declare const version = "2.0.0-beta.6";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/chains/index.ts
CHANGED
@@ -162,7 +162,7 @@ export { zoraTestnet } from './definitions/zoraTestnet.js'
|
|
162
162
|
|
163
163
|
// required for type inference since in explicit return type
|
164
164
|
//////////////////////////////////////////////////////////////////////////////////////
|
165
|
-
export type { Assign, Omit, Prettify } from '../types/utils.js'
|
165
|
+
export type { Assign, Omit, PartialBy, Prettify } from '../types/utils.js'
|
166
166
|
export type {
|
167
167
|
OpStackBlock,
|
168
168
|
OpStackBlockOverrides,
|
package/errors/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const version = '2.0.0-beta.
|
1
|
+
export const version = '2.0.0-beta.6'
|