@apibara/beaconchain 2.1.0-beta.2 → 2.1.0-beta.21

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.cts CHANGED
@@ -440,6 +440,7 @@ declare namespace index {
440
440
  }
441
441
 
442
442
  declare const ValidatorStatus: Schema.transform<Schema.Enums<typeof ValidatorStatus$1>, Schema.Literal<["pending_initialized", "pending_queued", "active_ongoing", "active_exiting", "active_slashed", "exited_unslashed", "exited_slashed", "withdrawal_possible", "withdrawal_done", "unknown"]>>;
443
+ type ValidatorStatus = typeof ValidatorStatus.Type;
443
444
  declare const B384: Schema.transform<Schema.Struct<{
444
445
  x0: typeof Schema.BigIntFromSelf;
445
446
  x1: typeof Schema.BigIntFromSelf;
@@ -830,6 +831,7 @@ declare const Validator: Schema.Struct<{
830
831
  exitEpoch: typeof Schema.BigIntFromSelf;
831
832
  withdrawableEpoch: typeof Schema.BigIntFromSelf;
832
833
  }>;
834
+ type Validator = typeof Validator.Type;
833
835
  declare const Blob: Schema.Struct<{
834
836
  filterIds: Schema.Array$<typeof Schema.Number>;
835
837
  blobIndex: typeof Schema.Number;
@@ -870,6 +872,7 @@ declare const Blob: Schema.Struct<{
870
872
  x3: typeof Schema.BigIntFromSelf;
871
873
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
872
874
  }>;
875
+ type Blob = typeof Blob.Type;
873
876
  declare const Signature: Schema.Struct<{
874
877
  r: Schema.optional<Schema.transform<Schema.Struct<{
875
878
  x0: typeof Schema.BigIntFromSelf;
package/dist/index.d.mts CHANGED
@@ -440,6 +440,7 @@ declare namespace index {
440
440
  }
441
441
 
442
442
  declare const ValidatorStatus: Schema.transform<Schema.Enums<typeof ValidatorStatus$1>, Schema.Literal<["pending_initialized", "pending_queued", "active_ongoing", "active_exiting", "active_slashed", "exited_unslashed", "exited_slashed", "withdrawal_possible", "withdrawal_done", "unknown"]>>;
443
+ type ValidatorStatus = typeof ValidatorStatus.Type;
443
444
  declare const B384: Schema.transform<Schema.Struct<{
444
445
  x0: typeof Schema.BigIntFromSelf;
445
446
  x1: typeof Schema.BigIntFromSelf;
@@ -830,6 +831,7 @@ declare const Validator: Schema.Struct<{
830
831
  exitEpoch: typeof Schema.BigIntFromSelf;
831
832
  withdrawableEpoch: typeof Schema.BigIntFromSelf;
832
833
  }>;
834
+ type Validator = typeof Validator.Type;
833
835
  declare const Blob: Schema.Struct<{
834
836
  filterIds: Schema.Array$<typeof Schema.Number>;
835
837
  blobIndex: typeof Schema.Number;
@@ -870,6 +872,7 @@ declare const Blob: Schema.Struct<{
870
872
  x3: typeof Schema.BigIntFromSelf;
871
873
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
872
874
  }>;
875
+ type Blob = typeof Blob.Type;
873
876
  declare const Signature: Schema.Struct<{
874
877
  r: Schema.optional<Schema.transform<Schema.Struct<{
875
878
  x0: typeof Schema.BigIntFromSelf;
package/dist/index.d.ts CHANGED
@@ -440,6 +440,7 @@ declare namespace index {
440
440
  }
441
441
 
442
442
  declare const ValidatorStatus: Schema.transform<Schema.Enums<typeof ValidatorStatus$1>, Schema.Literal<["pending_initialized", "pending_queued", "active_ongoing", "active_exiting", "active_slashed", "exited_unslashed", "exited_slashed", "withdrawal_possible", "withdrawal_done", "unknown"]>>;
443
+ type ValidatorStatus = typeof ValidatorStatus.Type;
443
444
  declare const B384: Schema.transform<Schema.Struct<{
444
445
  x0: typeof Schema.BigIntFromSelf;
445
446
  x1: typeof Schema.BigIntFromSelf;
@@ -830,6 +831,7 @@ declare const Validator: Schema.Struct<{
830
831
  exitEpoch: typeof Schema.BigIntFromSelf;
831
832
  withdrawableEpoch: typeof Schema.BigIntFromSelf;
832
833
  }>;
834
+ type Validator = typeof Validator.Type;
833
835
  declare const Blob: Schema.Struct<{
834
836
  filterIds: Schema.Array$<typeof Schema.Number>;
835
837
  blobIndex: typeof Schema.Number;
@@ -870,6 +872,7 @@ declare const Blob: Schema.Struct<{
870
872
  x3: typeof Schema.BigIntFromSelf;
871
873
  }>, Schema.SchemaClass<`0x${string}`, `0x${string}`, never>>;
872
874
  }>;
875
+ type Blob = typeof Blob.Type;
873
876
  declare const Signature: Schema.Struct<{
874
877
  r: Schema.optional<Schema.transform<Schema.Struct<{
875
878
  x0: typeof Schema.BigIntFromSelf;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apibara/beaconchain",
3
- "version": "2.1.0-beta.2",
3
+ "version": "2.1.0-beta.21",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -35,8 +35,8 @@
35
35
  "vitest": "^1.6.0"
36
36
  },
37
37
  "dependencies": {
38
- "@apibara/evm": "2.1.0-beta.2",
39
- "@apibara/protocol": "2.1.0-beta.2",
38
+ "@apibara/evm": "2.1.0-beta.21",
39
+ "@apibara/protocol": "2.1.0-beta.21",
40
40
  "@effect/schema": "^0.67.15",
41
41
  "effect": "^3.2.6",
42
42
  "long": "^5.2.1",
package/src/block.ts CHANGED
@@ -49,6 +49,8 @@ export const Validator = Schema.Struct({
49
49
  withdrawableEpoch: Schema.BigIntFromSelf,
50
50
  });
51
51
 
52
+ export type Validator = typeof Validator.Type;
53
+
52
54
  export const Blob = Schema.Struct({
53
55
  filterIds: Schema.Array(Schema.Number),
54
56
  blobIndex: Schema.Number,
@@ -61,6 +63,8 @@ export const Blob = Schema.Struct({
61
63
  transactionHash: B256,
62
64
  });
63
65
 
66
+ export type Blob = typeof Blob.Type;
67
+
64
68
  export const Signature = Schema.Struct({
65
69
  r: Schema.optional(U256),
66
70
  s: Schema.optional(U256),
package/src/common.ts CHANGED
@@ -59,6 +59,8 @@ export const ValidatorStatus = Schema.transform(
59
59
  },
60
60
  );
61
61
 
62
+ export type ValidatorStatus = typeof ValidatorStatus.Type;
63
+
62
64
  const _B384 = Schema.TemplateLiteral(Schema.Literal("0x"), Schema.String);
63
65
  const B384Proto = Schema.Struct({
64
66
  x0: Schema.BigIntFromSelf,