viem 0.0.0-main.20231008T222254 → 0.0.0-main.20231008T222331
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/version.js +1 -1
- package/_esm/errors/version.js +1 -1
- package/_types/chains/celo/formatters.d.ts +2 -2
- package/_types/chains/definitions/base.d.ts +2 -2
- package/_types/chains/definitions/baseGoerli.d.ts +2 -2
- package/_types/chains/definitions/celo.d.ts +2 -2
- package/_types/chains/definitions/celoAlfajores.d.ts +2 -2
- package/_types/chains/definitions/celoCannoli.d.ts +2 -2
- package/_types/chains/definitions/optimism.d.ts +2 -2
- package/_types/chains/definitions/optimismGoerli.d.ts +2 -2
- package/_types/chains/definitions/optimismSepolia.d.ts +2 -2
- package/_types/chains/definitions/zora.d.ts +2 -2
- package/_types/chains/definitions/zoraTestnet.d.ts +2 -2
- package/_types/chains/optimism/formatters.d.ts +2 -2
- package/_types/errors/version.d.ts +1 -1
- package/_types/types/block.d.ts +2 -2
- package/_types/types/block.d.ts.map +1 -1
- package/errors/version.ts +1 -1
- package/package.json +1 -1
- package/types/block.ts +2 -2
package/_cjs/errors/version.js
CHANGED
package/_esm/errors/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export const version = '0.0.0-main.
|
1
|
+
export const version = '0.0.0-main.20231008T222331';
|
2
2
|
//# sourceMappingURL=version.js.map
|
@@ -28,8 +28,8 @@ export declare const formattersCelo: {
|
|
28
28
|
transactions: Hash[] | CeloTransaction[];
|
29
29
|
transactionsRoot: `0x${string}`;
|
30
30
|
uncles: `0x${string}`[];
|
31
|
-
withdrawals
|
32
|
-
withdrawalsRoot
|
31
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
32
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
33
33
|
randomness: {
|
34
34
|
committed: `0x${string}`;
|
35
35
|
revealed: `0x${string}`;
|
@@ -71,8 +71,8 @@ export declare const base: import("../../types/utils.js").Assign<{
|
|
71
71
|
transactions: `0x${string}`[] | import("../optimism/types.js").OptimismTransaction[];
|
72
72
|
transactionsRoot: `0x${string}`;
|
73
73
|
uncles: `0x${string}`[];
|
74
|
-
withdrawals
|
75
|
-
withdrawalsRoot
|
74
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
75
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
76
76
|
} & {};
|
77
77
|
type: "block";
|
78
78
|
};
|
@@ -65,8 +65,8 @@ export declare const baseGoerli: import("../../types/utils.js").Assign<{
|
|
65
65
|
transactions: `0x${string}`[] | import("../optimism/types.js").OptimismTransaction[];
|
66
66
|
transactionsRoot: `0x${string}`;
|
67
67
|
uncles: `0x${string}`[];
|
68
|
-
withdrawals
|
69
|
-
withdrawalsRoot
|
68
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
69
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
70
70
|
} & {};
|
71
71
|
type: "block";
|
72
72
|
};
|
@@ -63,8 +63,8 @@ export declare const celo: import("../../types/utils.js").Assign<{
|
|
63
63
|
transactions: `0x${string}`[] | import("../celo/types.js").CeloTransaction[];
|
64
64
|
transactionsRoot: `0x${string}`;
|
65
65
|
uncles: `0x${string}`[];
|
66
|
-
withdrawals
|
67
|
-
withdrawalsRoot
|
66
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
67
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
68
68
|
randomness: {
|
69
69
|
committed: `0x${string}`;
|
70
70
|
revealed: `0x${string}`;
|
@@ -63,8 +63,8 @@ export declare const celoAlfajores: import("../../types/utils.js").Assign<{
|
|
63
63
|
transactions: `0x${string}`[] | import("../celo/types.js").CeloTransaction[];
|
64
64
|
transactionsRoot: `0x${string}`;
|
65
65
|
uncles: `0x${string}`[];
|
66
|
-
withdrawals
|
67
|
-
withdrawalsRoot
|
66
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
67
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
68
68
|
randomness: {
|
69
69
|
committed: `0x${string}`;
|
70
70
|
revealed: `0x${string}`;
|
@@ -56,8 +56,8 @@ export declare const celoCannoli: import("../../types/utils.js").Assign<{
|
|
56
56
|
transactions: `0x${string}`[] | import("../celo/types.js").CeloTransaction[];
|
57
57
|
transactionsRoot: `0x${string}`;
|
58
58
|
uncles: `0x${string}`[];
|
59
|
-
withdrawals
|
60
|
-
withdrawalsRoot
|
59
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
60
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
61
61
|
randomness: {
|
62
62
|
committed: `0x${string}`;
|
63
63
|
revealed: `0x${string}`;
|
@@ -67,8 +67,8 @@ export declare const optimism: import("../../types/utils.js").Assign<{
|
|
67
67
|
transactions: `0x${string}`[] | import("../optimism/types.js").OptimismTransaction[];
|
68
68
|
transactionsRoot: `0x${string}`;
|
69
69
|
uncles: `0x${string}`[];
|
70
|
-
withdrawals
|
71
|
-
withdrawalsRoot
|
70
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
71
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
72
72
|
} & {};
|
73
73
|
type: "block";
|
74
74
|
};
|
@@ -68,8 +68,8 @@ export declare const optimismGoerli: import("../../types/utils.js").Assign<{
|
|
68
68
|
transactions: `0x${string}`[] | import("../optimism/types.js").OptimismTransaction[];
|
69
69
|
transactionsRoot: `0x${string}`;
|
70
70
|
uncles: `0x${string}`[];
|
71
|
-
withdrawals
|
72
|
-
withdrawalsRoot
|
71
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
72
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
73
73
|
} & {};
|
74
74
|
type: "block";
|
75
75
|
};
|
@@ -60,8 +60,8 @@ export declare const optimismSepolia: import("../../types/utils.js").Assign<{
|
|
60
60
|
transactions: `0x${string}`[] | import("../optimism/types.js").OptimismTransaction[];
|
61
61
|
transactionsRoot: `0x${string}`;
|
62
62
|
uncles: `0x${string}`[];
|
63
|
-
withdrawals
|
64
|
-
withdrawalsRoot
|
63
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
64
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
65
65
|
} & {};
|
66
66
|
type: "block";
|
67
67
|
};
|
@@ -57,8 +57,8 @@ export declare const zora: import("../../types/utils.js").Assign<{
|
|
57
57
|
transactions: `0x${string}`[] | import("../optimism/types.js").OptimismTransaction[];
|
58
58
|
transactionsRoot: `0x${string}`;
|
59
59
|
uncles: `0x${string}`[];
|
60
|
-
withdrawals
|
61
|
-
withdrawalsRoot
|
60
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
61
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
62
62
|
} & {};
|
63
63
|
type: "block";
|
64
64
|
};
|
@@ -58,8 +58,8 @@ export declare const zoraTestnet: import("../../types/utils.js").Assign<{
|
|
58
58
|
transactions: `0x${string}`[] | import("../optimism/types.js").OptimismTransaction[];
|
59
59
|
transactionsRoot: `0x${string}`;
|
60
60
|
uncles: `0x${string}`[];
|
61
|
-
withdrawals
|
62
|
-
withdrawalsRoot
|
61
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
62
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
63
63
|
} & {};
|
64
64
|
type: "block";
|
65
65
|
};
|
@@ -28,8 +28,8 @@ export declare const formattersOptimism: {
|
|
28
28
|
transactions: Hash[] | OptimismTransaction[];
|
29
29
|
transactionsRoot: `0x${string}`;
|
30
30
|
uncles: `0x${string}`[];
|
31
|
-
withdrawals
|
32
|
-
withdrawalsRoot
|
31
|
+
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
|
32
|
+
withdrawalsRoot?: `0x${string}` | undefined;
|
33
33
|
} & {};
|
34
34
|
type: "block";
|
35
35
|
};
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "0.0.0-main.
|
1
|
+
export declare const version = "0.0.0-main.20231008T222331";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/_types/types/block.d.ts
CHANGED
@@ -47,9 +47,9 @@ export type Block<TQuantity = bigint, TIncludeTransactions extends boolean = boo
|
|
47
47
|
/** List of uncle hashes */
|
48
48
|
uncles: Hash[];
|
49
49
|
/** List of withdrawal objects */
|
50
|
-
withdrawals
|
50
|
+
withdrawals?: Withdrawal[];
|
51
51
|
/** Root of the this block’s withdrawals trie */
|
52
|
-
withdrawalsRoot
|
52
|
+
withdrawalsRoot?: Hex;
|
53
53
|
};
|
54
54
|
export type BlockIdentifier<TQuantity = bigint> = {
|
55
55
|
/** Whether or not to throw an error if the block is not in the canonical chain as described below. Only allowed in conjunction with the blockHash tag. Defaults to false. */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../types/block.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEtC,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,MAAM,MAAM,KAAK,CACf,SAAS,GAAG,MAAM,EAClB,oBAAoB,SAAS,OAAO,GAAG,OAAO,EAC9C,SAAS,SAAS,QAAQ,GAAG,QAAQ,EACrC,YAAY,GAAG,WAAW,CACxB,MAAM,EACN,MAAM,EACN,SAAS,SAAS,SAAS,GAAG,IAAI,GAAG,KAAK,CAC3C,IACC;IACF,uBAAuB;IACvB,aAAa,EAAE,SAAS,GAAG,IAAI,CAAA;IAC/B,gCAAgC;IAChC,UAAU,EAAE,SAAS,CAAA;IACrB,uCAAuC;IACvC,SAAS,EAAE,GAAG,CAAA;IACd,wCAAwC;IACxC,QAAQ,EAAE,SAAS,CAAA;IACnB,uDAA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0.0.0-main.
|
1
|
+
export const version = '0.0.0-main.20231008T222331'
|
package/package.json
CHANGED
package/types/block.ts
CHANGED
@@ -58,9 +58,9 @@ export type Block<
|
|
58
58
|
/** List of uncle hashes */
|
59
59
|
uncles: Hash[]
|
60
60
|
/** List of withdrawal objects */
|
61
|
-
withdrawals
|
61
|
+
withdrawals?: Withdrawal[]
|
62
62
|
/** Root of the this block’s withdrawals trie */
|
63
|
-
withdrawalsRoot
|
63
|
+
withdrawalsRoot?: Hex
|
64
64
|
}
|
65
65
|
|
66
66
|
export type BlockIdentifier<TQuantity = bigint> = {
|