@xyo-network/xl1-protocol 1.14.12 → 1.14.13

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.
@@ -11,7 +11,7 @@ export declare const HydratedBlockZod: z.ZodTuple<[z.ZodObject<{
11
11
  block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
12
12
  chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
13
13
  previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
14
- protocol: z.ZodNumber;
14
+ protocol: z.ZodOptional<z.ZodNumber>;
15
15
  step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
16
16
  $epoch: z.ZodNumber;
17
17
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
@@ -28,10 +28,10 @@ export declare const isHydratedBlock: (value: unknown) => value is [{
28
28
  block: import("../index.ts").XL1BlockNumber;
29
29
  chain: import("@xylabs/hex").Hex;
30
30
  previous: import("@xylabs/hex").Hash | null;
31
- protocol: number;
32
31
  $epoch: number;
33
32
  $destination?: import("@xylabs/hex").Address | undefined;
34
33
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
34
+ protocol?: number | undefined;
35
35
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
36
36
  }, {
37
37
  schema: string;
@@ -47,10 +47,10 @@ export declare const asHydratedBlock: {
47
47
  block: import("../index.ts").XL1BlockNumber;
48
48
  chain: import("@xylabs/hex").Hex;
49
49
  previous: import("@xylabs/hex").Hash | null;
50
- protocol: number;
51
50
  $epoch: number;
52
51
  $destination?: import("@xylabs/hex").Address | undefined;
53
52
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
53
+ protocol?: number | undefined;
54
54
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
55
55
  }, {
56
56
  schema: string;
@@ -65,10 +65,10 @@ export declare const asHydratedBlock: {
65
65
  block: import("../index.ts").XL1BlockNumber;
66
66
  chain: import("@xylabs/hex").Hex;
67
67
  previous: import("@xylabs/hex").Hash | null;
68
- protocol: number;
69
68
  $epoch: number;
70
69
  $destination?: import("@xylabs/hex").Address | undefined;
71
70
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
71
+ protocol?: number | undefined;
72
72
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
73
73
  }, {
74
74
  schema: string;
@@ -85,10 +85,10 @@ export declare const toHydratedBlock: {
85
85
  block: import("../index.ts").XL1BlockNumber;
86
86
  chain: import("@xylabs/hex").Hex;
87
87
  previous: import("@xylabs/hex").Hash | null;
88
- protocol: number;
89
88
  $epoch: number;
90
89
  $destination?: import("@xylabs/hex").Address | undefined;
91
90
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
91
+ protocol?: number | undefined;
92
92
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
93
93
  }, {
94
94
  schema: string;
@@ -103,10 +103,10 @@ export declare const toHydratedBlock: {
103
103
  block: import("../index.ts").XL1BlockNumber;
104
104
  chain: import("@xylabs/hex").Hex;
105
105
  previous: import("@xylabs/hex").Hash | null;
106
- protocol: number;
107
106
  $epoch: number;
108
107
  $destination?: import("@xylabs/hex").Address | undefined;
109
108
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
109
+ protocol?: number | undefined;
110
110
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
111
111
  }, {
112
112
  schema: string;
@@ -124,7 +124,7 @@ export declare const HydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject<{
124
124
  block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
125
125
  chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
126
126
  previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
127
- protocol: z.ZodNumber;
127
+ protocol: z.ZodOptional<z.ZodNumber>;
128
128
  step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
129
129
  $epoch: z.ZodNumber;
130
130
  _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
@@ -145,12 +145,12 @@ export declare const isHydratedBlockWithHashMeta: (value: unknown) => value is [
145
145
  block: import("../index.ts").XL1BlockNumber;
146
146
  chain: import("@xylabs/hex").Hex;
147
147
  previous: import("@xylabs/hex").Hash | null;
148
- protocol: number;
149
148
  $epoch: number;
150
149
  _hash: import("@xylabs/hex").Hash;
151
150
  _dataHash: import("@xylabs/hex").Hash;
152
151
  $destination?: import("@xylabs/hex").Address | undefined;
153
152
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
153
+ protocol?: number | undefined;
154
154
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
155
155
  }, {
156
156
  schema: string;
@@ -168,12 +168,12 @@ export declare const asHydratedBlockWithHashMeta: {
168
168
  block: import("../index.ts").XL1BlockNumber;
169
169
  chain: import("@xylabs/hex").Hex;
170
170
  previous: import("@xylabs/hex").Hash | null;
171
- protocol: number;
172
171
  $epoch: number;
173
172
  _hash: import("@xylabs/hex").Hash;
174
173
  _dataHash: import("@xylabs/hex").Hash;
175
174
  $destination?: import("@xylabs/hex").Address | undefined;
176
175
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
176
+ protocol?: number | undefined;
177
177
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
178
178
  }, {
179
179
  schema: string;
@@ -190,12 +190,12 @@ export declare const asHydratedBlockWithHashMeta: {
190
190
  block: import("../index.ts").XL1BlockNumber;
191
191
  chain: import("@xylabs/hex").Hex;
192
192
  previous: import("@xylabs/hex").Hash | null;
193
- protocol: number;
194
193
  $epoch: number;
195
194
  _hash: import("@xylabs/hex").Hash;
196
195
  _dataHash: import("@xylabs/hex").Hash;
197
196
  $destination?: import("@xylabs/hex").Address | undefined;
198
197
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
198
+ protocol?: number | undefined;
199
199
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
200
200
  }, {
201
201
  schema: string;
@@ -214,12 +214,12 @@ export declare const toHydratedBlockWithHashMeta: {
214
214
  block: import("../index.ts").XL1BlockNumber;
215
215
  chain: import("@xylabs/hex").Hex;
216
216
  previous: import("@xylabs/hex").Hash | null;
217
- protocol: number;
218
217
  $epoch: number;
219
218
  _hash: import("@xylabs/hex").Hash;
220
219
  _dataHash: import("@xylabs/hex").Hash;
221
220
  $destination?: import("@xylabs/hex").Address | undefined;
222
221
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
222
+ protocol?: number | undefined;
223
223
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
224
224
  }, {
225
225
  schema: string;
@@ -236,12 +236,12 @@ export declare const toHydratedBlockWithHashMeta: {
236
236
  block: import("../index.ts").XL1BlockNumber;
237
237
  chain: import("@xylabs/hex").Hex;
238
238
  previous: import("@xylabs/hex").Hash | null;
239
- protocol: number;
240
239
  $epoch: number;
241
240
  _hash: import("@xylabs/hex").Hash;
242
241
  _dataHash: import("@xylabs/hex").Hash;
243
242
  $destination?: import("@xylabs/hex").Address | undefined;
244
243
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
244
+ protocol?: number | undefined;
245
245
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
246
246
  }, {
247
247
  schema: string;
@@ -261,7 +261,7 @@ export declare const HydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
261
261
  block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
262
262
  chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
263
263
  previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
264
- protocol: z.ZodNumber;
264
+ protocol: z.ZodOptional<z.ZodNumber>;
265
265
  step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
266
266
  $epoch: z.ZodNumber;
267
267
  _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
@@ -284,13 +284,13 @@ export declare const isHydratedBlockWithStorageMeta: (value: unknown) => value i
284
284
  block: import("../index.ts").XL1BlockNumber;
285
285
  chain: import("@xylabs/hex").Hex;
286
286
  previous: import("@xylabs/hex").Hash | null;
287
- protocol: number;
288
287
  $epoch: number;
289
288
  _hash: import("@xylabs/hex").Hash;
290
289
  _dataHash: import("@xylabs/hex").Hash;
291
290
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
292
291
  $destination?: import("@xylabs/hex").Address | undefined;
293
292
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
293
+ protocol?: number | undefined;
294
294
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
295
295
  }, {
296
296
  schema: string;
@@ -309,13 +309,13 @@ export declare const asHydratedBlockWithStorageMeta: {
309
309
  block: import("../index.ts").XL1BlockNumber;
310
310
  chain: import("@xylabs/hex").Hex;
311
311
  previous: import("@xylabs/hex").Hash | null;
312
- protocol: number;
313
312
  $epoch: number;
314
313
  _hash: import("@xylabs/hex").Hash;
315
314
  _dataHash: import("@xylabs/hex").Hash;
316
315
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
317
316
  $destination?: import("@xylabs/hex").Address | undefined;
318
317
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
318
+ protocol?: number | undefined;
319
319
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
320
320
  }, {
321
321
  schema: string;
@@ -333,13 +333,13 @@ export declare const asHydratedBlockWithStorageMeta: {
333
333
  block: import("../index.ts").XL1BlockNumber;
334
334
  chain: import("@xylabs/hex").Hex;
335
335
  previous: import("@xylabs/hex").Hash | null;
336
- protocol: number;
337
336
  $epoch: number;
338
337
  _hash: import("@xylabs/hex").Hash;
339
338
  _dataHash: import("@xylabs/hex").Hash;
340
339
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
341
340
  $destination?: import("@xylabs/hex").Address | undefined;
342
341
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
342
+ protocol?: number | undefined;
343
343
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
344
344
  }, {
345
345
  schema: string;
@@ -359,13 +359,13 @@ export declare const toHydratedBlockWithStorageMeta: {
359
359
  block: import("../index.ts").XL1BlockNumber;
360
360
  chain: import("@xylabs/hex").Hex;
361
361
  previous: import("@xylabs/hex").Hash | null;
362
- protocol: number;
363
362
  $epoch: number;
364
363
  _hash: import("@xylabs/hex").Hash;
365
364
  _dataHash: import("@xylabs/hex").Hash;
366
365
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
367
366
  $destination?: import("@xylabs/hex").Address | undefined;
368
367
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
368
+ protocol?: number | undefined;
369
369
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
370
370
  }, {
371
371
  schema: string;
@@ -383,13 +383,13 @@ export declare const toHydratedBlockWithStorageMeta: {
383
383
  block: import("../index.ts").XL1BlockNumber;
384
384
  chain: import("@xylabs/hex").Hex;
385
385
  previous: import("@xylabs/hex").Hash | null;
386
- protocol: number;
387
386
  $epoch: number;
388
387
  _hash: import("@xylabs/hex").Hash;
389
388
  _dataHash: import("@xylabs/hex").Hash;
390
389
  _sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
391
390
  $destination?: import("@xylabs/hex").Address | undefined;
392
391
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
392
+ protocol?: number | undefined;
393
393
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
394
394
  }, {
395
395
  schema: string;
@@ -410,7 +410,7 @@ export declare const SignedHydratedBlockZod: z.ZodTuple<[z.ZodObject<{
410
410
  block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
411
411
  chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
412
412
  previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
413
- protocol: z.ZodNumber;
413
+ protocol: z.ZodOptional<z.ZodNumber>;
414
414
  step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
415
415
  $epoch: z.ZodNumber;
416
416
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
@@ -427,10 +427,10 @@ export declare const isSignedHydratedBlock: (value: unknown) => value is [{
427
427
  block: import("../index.ts").XL1BlockNumber;
428
428
  chain: import("@xylabs/hex").Hex;
429
429
  previous: import("@xylabs/hex").Hash | null;
430
- protocol: number;
431
430
  $epoch: number;
432
431
  $destination?: import("@xylabs/hex").Address | undefined;
433
432
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
433
+ protocol?: number | undefined;
434
434
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
435
435
  }, {
436
436
  schema: string;
@@ -446,10 +446,10 @@ export declare const asSignedHydratedBlock: {
446
446
  block: import("../index.ts").XL1BlockNumber;
447
447
  chain: import("@xylabs/hex").Hex;
448
448
  previous: import("@xylabs/hex").Hash | null;
449
- protocol: number;
450
449
  $epoch: number;
451
450
  $destination?: import("@xylabs/hex").Address | undefined;
452
451
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
452
+ protocol?: number | undefined;
453
453
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
454
454
  }, {
455
455
  schema: string;
@@ -464,10 +464,10 @@ export declare const asSignedHydratedBlock: {
464
464
  block: import("../index.ts").XL1BlockNumber;
465
465
  chain: import("@xylabs/hex").Hex;
466
466
  previous: import("@xylabs/hex").Hash | null;
467
- protocol: number;
468
467
  $epoch: number;
469
468
  $destination?: import("@xylabs/hex").Address | undefined;
470
469
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
470
+ protocol?: number | undefined;
471
471
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
472
472
  }, {
473
473
  schema: string;
@@ -484,10 +484,10 @@ export declare const toSignedHydratedBlock: {
484
484
  block: import("../index.ts").XL1BlockNumber;
485
485
  chain: import("@xylabs/hex").Hex;
486
486
  previous: import("@xylabs/hex").Hash | null;
487
- protocol: number;
488
487
  $epoch: number;
489
488
  $destination?: import("@xylabs/hex").Address | undefined;
490
489
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
490
+ protocol?: number | undefined;
491
491
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
492
492
  }, {
493
493
  schema: string;
@@ -502,10 +502,10 @@ export declare const toSignedHydratedBlock: {
502
502
  block: import("../index.ts").XL1BlockNumber;
503
503
  chain: import("@xylabs/hex").Hex;
504
504
  previous: import("@xylabs/hex").Hash | null;
505
- protocol: number;
506
505
  $epoch: number;
507
506
  $destination?: import("@xylabs/hex").Address | undefined;
508
507
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
508
+ protocol?: number | undefined;
509
509
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
510
510
  }, {
511
511
  schema: string;
@@ -523,7 +523,7 @@ export declare const SignedHydratedBlockToJsonZod: z.ZodTuple<[z.ZodObject<{
523
523
  block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
524
524
  chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
525
525
  previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
526
- protocol: z.ZodNumber;
526
+ protocol: z.ZodOptional<z.ZodNumber>;
527
527
  step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
528
528
  $epoch: z.ZodNumber;
529
529
  }, z.core.$strip>, z.ZodArray<z.ZodObject<{
@@ -540,10 +540,10 @@ export declare const isSignedHydratedBlockToJson: (value: unknown) => value is [
540
540
  block: import("../index.ts").XL1BlockNumber;
541
541
  chain: import("@xylabs/hex").Hex;
542
542
  previous: import("@xylabs/hex").Hash | null;
543
- protocol: number;
544
543
  $epoch: number;
545
544
  $destination?: import("@xylabs/hex").Address | undefined;
546
545
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
546
+ protocol?: number | undefined;
547
547
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
548
548
  }, {
549
549
  schema: string;
@@ -559,10 +559,10 @@ export declare const asSignedHydratedBlockToJson: {
559
559
  block: import("../index.ts").XL1BlockNumber;
560
560
  chain: import("@xylabs/hex").Hex;
561
561
  previous: import("@xylabs/hex").Hash | null;
562
- protocol: number;
563
562
  $epoch: number;
564
563
  $destination?: import("@xylabs/hex").Address | undefined;
565
564
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
565
+ protocol?: number | undefined;
566
566
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
567
567
  }, {
568
568
  schema: string;
@@ -577,10 +577,10 @@ export declare const asSignedHydratedBlockToJson: {
577
577
  block: import("../index.ts").XL1BlockNumber;
578
578
  chain: import("@xylabs/hex").Hex;
579
579
  previous: import("@xylabs/hex").Hash | null;
580
- protocol: number;
581
580
  $epoch: number;
582
581
  $destination?: import("@xylabs/hex").Address | undefined;
583
582
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
583
+ protocol?: number | undefined;
584
584
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
585
585
  }, {
586
586
  schema: string;
@@ -597,10 +597,10 @@ export declare const toSignedHydratedBlockToJson: {
597
597
  block: import("../index.ts").XL1BlockNumber;
598
598
  chain: import("@xylabs/hex").Hex;
599
599
  previous: import("@xylabs/hex").Hash | null;
600
- protocol: number;
601
600
  $epoch: number;
602
601
  $destination?: import("@xylabs/hex").Address | undefined;
603
602
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
603
+ protocol?: number | undefined;
604
604
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
605
605
  }, {
606
606
  schema: string;
@@ -615,10 +615,10 @@ export declare const toSignedHydratedBlockToJson: {
615
615
  block: import("../index.ts").XL1BlockNumber;
616
616
  chain: import("@xylabs/hex").Hex;
617
617
  previous: import("@xylabs/hex").Hash | null;
618
- protocol: number;
619
618
  $epoch: number;
620
619
  $destination?: import("@xylabs/hex").Address | undefined;
621
620
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
621
+ protocol?: number | undefined;
622
622
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
623
623
  }, {
624
624
  schema: string;
@@ -636,7 +636,7 @@ export declare const SignedHydratedBlockWithHashMetaZod: z.ZodTuple<[z.ZodObject
636
636
  block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
637
637
  chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
638
638
  previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
639
- protocol: z.ZodNumber;
639
+ protocol: z.ZodOptional<z.ZodNumber>;
640
640
  step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
641
641
  $epoch: z.ZodNumber;
642
642
  _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
@@ -657,12 +657,12 @@ export declare const isSignedHydratedBlockWithHashMeta: (value: unknown) => valu
657
657
  block: import("../index.ts").XL1BlockNumber;
658
658
  chain: import("@xylabs/hex").Hex;
659
659
  previous: import("@xylabs/hex").Hash | null;
660
- protocol: number;
661
660
  $epoch: number;
662
661
  _hash: import("@xylabs/hex").Hash;
663
662
  _dataHash: import("@xylabs/hex").Hash;
664
663
  $destination?: import("@xylabs/hex").Address | undefined;
665
664
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
665
+ protocol?: number | undefined;
666
666
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
667
667
  }, {
668
668
  schema: string;
@@ -680,12 +680,12 @@ export declare const asSignedHydratedBlockWithHashMeta: {
680
680
  block: import("../index.ts").XL1BlockNumber;
681
681
  chain: import("@xylabs/hex").Hex;
682
682
  previous: import("@xylabs/hex").Hash | null;
683
- protocol: number;
684
683
  $epoch: number;
685
684
  _hash: import("@xylabs/hex").Hash;
686
685
  _dataHash: import("@xylabs/hex").Hash;
687
686
  $destination?: import("@xylabs/hex").Address | undefined;
688
687
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
688
+ protocol?: number | undefined;
689
689
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
690
690
  }, {
691
691
  schema: string;
@@ -702,12 +702,12 @@ export declare const asSignedHydratedBlockWithHashMeta: {
702
702
  block: import("../index.ts").XL1BlockNumber;
703
703
  chain: import("@xylabs/hex").Hex;
704
704
  previous: import("@xylabs/hex").Hash | null;
705
- protocol: number;
706
705
  $epoch: number;
707
706
  _hash: import("@xylabs/hex").Hash;
708
707
  _dataHash: import("@xylabs/hex").Hash;
709
708
  $destination?: import("@xylabs/hex").Address | undefined;
710
709
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
710
+ protocol?: number | undefined;
711
711
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
712
712
  }, {
713
713
  schema: string;
@@ -726,12 +726,12 @@ export declare const toSignedHydratedBlockWithHashMeta: {
726
726
  block: import("../index.ts").XL1BlockNumber;
727
727
  chain: import("@xylabs/hex").Hex;
728
728
  previous: import("@xylabs/hex").Hash | null;
729
- protocol: number;
730
729
  $epoch: number;
731
730
  _hash: import("@xylabs/hex").Hash;
732
731
  _dataHash: import("@xylabs/hex").Hash;
733
732
  $destination?: import("@xylabs/hex").Address | undefined;
734
733
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
734
+ protocol?: number | undefined;
735
735
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
736
736
  }, {
737
737
  schema: string;
@@ -748,12 +748,12 @@ export declare const toSignedHydratedBlockWithHashMeta: {
748
748
  block: import("../index.ts").XL1BlockNumber;
749
749
  chain: import("@xylabs/hex").Hex;
750
750
  previous: import("@xylabs/hex").Hash | null;
751
- protocol: number;
752
751
  $epoch: number;
753
752
  _hash: import("@xylabs/hex").Hash;
754
753
  _dataHash: import("@xylabs/hex").Hash;
755
754
  $destination?: import("@xylabs/hex").Address | undefined;
756
755
  $sourceQuery?: import("@xylabs/hex").Hash | undefined;
756
+ protocol?: number | undefined;
757
757
  step_hashes?: import("@xylabs/hex").Hash[] | undefined;
758
758
  }, {
759
759
  schema: string;
@@ -773,7 +773,7 @@ export declare const SignedHydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObj
773
773
  block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("../index.ts").XL1BlockNumber, number>>;
774
774
  chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>;
775
775
  previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
776
- protocol: z.ZodNumber;
776
+ protocol: z.ZodOptional<z.ZodNumber>;
777
777
  step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
778
778
  $epoch: z.ZodNumber;
779
779
  _hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json.schemastore.org/package.json",
3
3
  "name": "@xyo-network/xl1-protocol",
4
- "version": "1.14.12",
4
+ "version": "1.14.13",
5
5
  "description": "XYO Layer One Protocol",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -15,7 +15,7 @@ export const BlockBoundWitnessFieldsZod = z.object({
15
15
  block: XL1BlockNumberZod,
16
16
  chain: ChainZod,
17
17
  previous: HashZod.nullable(),
18
- protocol: z.number(),
18
+ protocol: z.number().optional(),
19
19
  step_hashes: z.array(HashZod).optional(),
20
20
  })
21
21