@apibara/beaconchain 2.1.0-beta.32 → 2.1.0-beta.34
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/block.ts +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -551,7 +551,7 @@ declare const BlockHeader: MessageCodec<{
|
|
|
551
551
|
randaoReveal: Codec<`0x${string}`, Uint8Array | undefined>;
|
|
552
552
|
depositCount: Codec<bigint, bigint | undefined>;
|
|
553
553
|
depositRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
554
|
-
blockHash: Codec<`0x${string}
|
|
554
|
+
blockHash: Codec<`0x${string}` | undefined, B256$1 | undefined>;
|
|
555
555
|
graffiti: Codec<`0x${string}`, B256$1 | undefined>;
|
|
556
556
|
executionPayload: Codec<{
|
|
557
557
|
parentHash: `0x${string}`;
|
|
@@ -660,7 +660,7 @@ declare const Block: MessageCodec<{
|
|
|
660
660
|
randaoReveal: `0x${string}`;
|
|
661
661
|
depositCount: bigint;
|
|
662
662
|
depositRoot: `0x${string}`;
|
|
663
|
-
blockHash
|
|
663
|
+
blockHash?: `0x${string}` | undefined;
|
|
664
664
|
graffiti: `0x${string}`;
|
|
665
665
|
executionPayload?: {
|
|
666
666
|
parentHash: `0x${string}`;
|
|
@@ -829,7 +829,7 @@ declare const BeaconChainStream: StreamConfig<{
|
|
|
829
829
|
randaoReveal: `0x${string}`;
|
|
830
830
|
depositCount: bigint;
|
|
831
831
|
depositRoot: `0x${string}`;
|
|
832
|
-
blockHash
|
|
832
|
+
blockHash?: `0x${string}` | undefined;
|
|
833
833
|
graffiti: `0x${string}`;
|
|
834
834
|
executionPayload?: {
|
|
835
835
|
parentHash: `0x${string}`;
|
package/dist/index.d.mts
CHANGED
|
@@ -551,7 +551,7 @@ declare const BlockHeader: MessageCodec<{
|
|
|
551
551
|
randaoReveal: Codec<`0x${string}`, Uint8Array | undefined>;
|
|
552
552
|
depositCount: Codec<bigint, bigint | undefined>;
|
|
553
553
|
depositRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
554
|
-
blockHash: Codec<`0x${string}
|
|
554
|
+
blockHash: Codec<`0x${string}` | undefined, B256$1 | undefined>;
|
|
555
555
|
graffiti: Codec<`0x${string}`, B256$1 | undefined>;
|
|
556
556
|
executionPayload: Codec<{
|
|
557
557
|
parentHash: `0x${string}`;
|
|
@@ -660,7 +660,7 @@ declare const Block: MessageCodec<{
|
|
|
660
660
|
randaoReveal: `0x${string}`;
|
|
661
661
|
depositCount: bigint;
|
|
662
662
|
depositRoot: `0x${string}`;
|
|
663
|
-
blockHash
|
|
663
|
+
blockHash?: `0x${string}` | undefined;
|
|
664
664
|
graffiti: `0x${string}`;
|
|
665
665
|
executionPayload?: {
|
|
666
666
|
parentHash: `0x${string}`;
|
|
@@ -829,7 +829,7 @@ declare const BeaconChainStream: StreamConfig<{
|
|
|
829
829
|
randaoReveal: `0x${string}`;
|
|
830
830
|
depositCount: bigint;
|
|
831
831
|
depositRoot: `0x${string}`;
|
|
832
|
-
blockHash
|
|
832
|
+
blockHash?: `0x${string}` | undefined;
|
|
833
833
|
graffiti: `0x${string}`;
|
|
834
834
|
executionPayload?: {
|
|
835
835
|
parentHash: `0x${string}`;
|
package/dist/index.d.ts
CHANGED
|
@@ -551,7 +551,7 @@ declare const BlockHeader: MessageCodec<{
|
|
|
551
551
|
randaoReveal: Codec<`0x${string}`, Uint8Array | undefined>;
|
|
552
552
|
depositCount: Codec<bigint, bigint | undefined>;
|
|
553
553
|
depositRoot: Codec<`0x${string}`, B256$1 | undefined>;
|
|
554
|
-
blockHash: Codec<`0x${string}
|
|
554
|
+
blockHash: Codec<`0x${string}` | undefined, B256$1 | undefined>;
|
|
555
555
|
graffiti: Codec<`0x${string}`, B256$1 | undefined>;
|
|
556
556
|
executionPayload: Codec<{
|
|
557
557
|
parentHash: `0x${string}`;
|
|
@@ -660,7 +660,7 @@ declare const Block: MessageCodec<{
|
|
|
660
660
|
randaoReveal: `0x${string}`;
|
|
661
661
|
depositCount: bigint;
|
|
662
662
|
depositRoot: `0x${string}`;
|
|
663
|
-
blockHash
|
|
663
|
+
blockHash?: `0x${string}` | undefined;
|
|
664
664
|
graffiti: `0x${string}`;
|
|
665
665
|
executionPayload?: {
|
|
666
666
|
parentHash: `0x${string}`;
|
|
@@ -829,7 +829,7 @@ declare const BeaconChainStream: StreamConfig<{
|
|
|
829
829
|
randaoReveal: `0x${string}`;
|
|
830
830
|
depositCount: bigint;
|
|
831
831
|
depositRoot: `0x${string}`;
|
|
832
|
-
blockHash
|
|
832
|
+
blockHash?: `0x${string}` | undefined;
|
|
833
833
|
graffiti: `0x${string}`;
|
|
834
834
|
executionPayload?: {
|
|
835
835
|
parentHash: `0x${string}`;
|
package/dist/index.mjs
CHANGED
|
@@ -2702,7 +2702,7 @@ const BlockHeader = MessageCodec({
|
|
|
2702
2702
|
randaoReveal: RequiredCodec(BytesFromUint8Array),
|
|
2703
2703
|
depositCount: RequiredCodec(BigIntCodec),
|
|
2704
2704
|
depositRoot: RequiredCodec(B256),
|
|
2705
|
-
blockHash:
|
|
2705
|
+
blockHash: OptionalCodec(B256),
|
|
2706
2706
|
graffiti: RequiredCodec(B256),
|
|
2707
2707
|
executionPayload: OptionalCodec(ExecutionPayload),
|
|
2708
2708
|
blobKzgCommitments: ArrayCodec(B384)
|