@xyo-network/xl1-protocol 1.14.13 → 1.14.15
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/neutral/block/AllowedBlockPayload.d.ts +3 -3
- package/dist/neutral/block/AllowedBlockPayload.d.ts.map +1 -1
- package/dist/neutral/index.mjs +269 -181
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/model/BlockNumber/BlockNumber.d.ts +15 -5
- package/dist/neutral/model/BlockNumber/BlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts +25 -5
- package/dist/neutral/model/BlockNumber/EthBlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts +25 -5
- package/dist/neutral/model/BlockNumber/XL1BlockNumber.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/BlockRange.d.ts +4 -4
- package/dist/neutral/model/BlockRange/EthBlockRange.d.ts +4 -4
- package/dist/neutral/model/BlockRange/Range.d.ts +5 -5
- package/dist/neutral/model/BlockRange/Range.d.ts.map +1 -1
- package/dist/neutral/model/BlockRange/XL1BlockRange.d.ts +4 -4
- package/dist/neutral/payload/elevatable/Time.d.ts.map +1 -1
- package/dist/neutral/payload/elevatable/TransferPayload.d.ts +0 -3
- package/dist/neutral/payload/elevatable/TransferPayload.d.ts.map +1 -1
- package/dist/neutral/zod/HydratedBlock.d.ts +213 -42
- package/dist/neutral/zod/HydratedBlock.d.ts.map +1 -1
- package/dist/neutral/zod/HydratedTransaction.d.ts +63 -63
- package/dist/neutral/zod/TransactionBoundWitness.d.ts +63 -63
- package/dist/neutral/zod/TransactionFees.d.ts +14 -14
- package/dist/neutral/zod/block/BlockBoundWitness.d.ts +345 -0
- package/dist/neutral/zod/block/BlockBoundWitness.d.ts.map +1 -0
- package/dist/neutral/zod/block/index.d.ts +4 -0
- package/dist/neutral/zod/block/index.d.ts.map +1 -0
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts +103 -0
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitness.d.ts.map +1 -0
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts +179 -0
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.d.ts.map +1 -0
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts +216 -0
- package/dist/neutral/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.d.ts.map +1 -0
- package/dist/neutral/zod/block/signed/index.d.ts +4 -0
- package/dist/neutral/zod/block/signed/index.d.ts.map +1 -0
- package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts +103 -0
- package/dist/neutral/zod/block/unsigned/UnsignedBlockBoundWitness.d.ts.map +1 -0
- package/dist/neutral/zod/block/unsigned/index.d.ts +2 -0
- package/dist/neutral/zod/block/unsigned/index.d.ts.map +1 -0
- package/dist/neutral/zod/index.d.ts +2 -1
- package/dist/neutral/zod/index.d.ts.map +1 -1
- package/dist/neutral/zod/payload/WithHashMetaish.d.ts +27 -0
- package/dist/neutral/zod/payload/WithHashMetaish.d.ts.map +1 -0
- package/dist/neutral/zod/payload/WithStorageMetaish.d.ts +30 -0
- package/dist/neutral/zod/payload/WithStorageMetaish.d.ts.map +1 -0
- package/dist/neutral/zod/payload/index.d.ts +3 -0
- package/dist/neutral/zod/payload/index.d.ts.map +1 -0
- package/package.json +22 -21
- package/src/payload/elevatable/Time.ts +1 -3
- package/src/payload/elevatable/TransferPayload.ts +1 -3
- package/src/zod/HydratedBlock.ts +17 -1
- package/src/zod/block/BlockBoundWitness.ts +48 -0
- package/src/zod/block/index.ts +3 -0
- package/src/zod/block/signed/SignedBlockBoundWitness.ts +17 -0
- package/src/zod/block/signed/SignedBlockBoundWitnessWithHashMeta.ts +29 -0
- package/src/zod/block/signed/SignedBlockBoundWitnessWithStorageMeta.ts +35 -0
- package/src/zod/block/signed/index.ts +3 -0
- package/src/zod/block/unsigned/UnsignedBlockBoundWitness.ts +17 -0
- package/src/zod/block/unsigned/index.ts +1 -0
- package/src/zod/index.ts +2 -1
- package/src/zod/payload/WithHashMetaish.ts +23 -0
- package/src/zod/payload/WithStorageMetaish.ts +23 -0
- package/src/zod/payload/index.ts +2 -0
- package/dist/neutral/zod/BlockBoundWitness.d.ts +0 -1011
- package/dist/neutral/zod/BlockBoundWitness.d.ts.map +0 -1
- package/src/zod/BlockBoundWitness.ts +0 -114
|
@@ -23,7 +23,7 @@ export declare const HydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
|
|
|
23
23
|
schema: z.ZodString;
|
|
24
24
|
}, z.core.$strict>>], null>;
|
|
25
25
|
export type HydratedTransaction = z.infer<typeof HydratedTransactionZod>;
|
|
26
|
-
export declare const isHydratedTransaction: (value:
|
|
26
|
+
export declare const isHydratedTransaction: <T>(value: T) => value is T & [{
|
|
27
27
|
schema: "network.xyo.boundwitness";
|
|
28
28
|
addresses: import("@xylabs/hex").Address[];
|
|
29
29
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -47,7 +47,7 @@ export declare const isHydratedTransaction: (value: unknown) => value is [{
|
|
|
47
47
|
schema: string;
|
|
48
48
|
}[]];
|
|
49
49
|
export declare const asHydratedTransaction: {
|
|
50
|
-
(value:
|
|
50
|
+
<T>(value: T): (T & [{
|
|
51
51
|
schema: "network.xyo.boundwitness";
|
|
52
52
|
addresses: import("@xylabs/hex").Address[];
|
|
53
53
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -69,8 +69,8 @@ export declare const asHydratedTransaction: {
|
|
|
69
69
|
script?: string[] | undefined;
|
|
70
70
|
}, {
|
|
71
71
|
schema: string;
|
|
72
|
-
}[]] | undefined;
|
|
73
|
-
(value:
|
|
72
|
+
}[]]) | undefined;
|
|
73
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
74
74
|
schema: "network.xyo.boundwitness";
|
|
75
75
|
addresses: import("@xylabs/hex").Address[];
|
|
76
76
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -95,7 +95,7 @@ export declare const asHydratedTransaction: {
|
|
|
95
95
|
}[]];
|
|
96
96
|
};
|
|
97
97
|
export declare const toHydratedTransaction: {
|
|
98
|
-
(value:
|
|
98
|
+
<T>(value: T): (T & [{
|
|
99
99
|
schema: "network.xyo.boundwitness";
|
|
100
100
|
addresses: import("@xylabs/hex").Address[];
|
|
101
101
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -117,8 +117,8 @@ export declare const toHydratedTransaction: {
|
|
|
117
117
|
script?: string[] | undefined;
|
|
118
118
|
}, {
|
|
119
119
|
schema: string;
|
|
120
|
-
}[]] | undefined;
|
|
121
|
-
(value:
|
|
120
|
+
}[]]) | undefined;
|
|
121
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
122
122
|
schema: "network.xyo.boundwitness";
|
|
123
123
|
addresses: import("@xylabs/hex").Address[];
|
|
124
124
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -170,7 +170,7 @@ export declare const HydratedTransactionWithHashMetaZod: z.ZodTuple<[z.ZodObject
|
|
|
170
170
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
171
171
|
}, z.core.$strip>>], null>;
|
|
172
172
|
export type HydratedTransactionWithHashMeta = z.infer<typeof HydratedTransactionWithHashMetaZod>;
|
|
173
|
-
export declare const isHydratedTransactionWithHashMeta: (value:
|
|
173
|
+
export declare const isHydratedTransactionWithHashMeta: <T>(value: T) => value is T & [{
|
|
174
174
|
schema: "network.xyo.boundwitness";
|
|
175
175
|
addresses: import("@xylabs/hex").Address[];
|
|
176
176
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -198,7 +198,7 @@ export declare const isHydratedTransactionWithHashMeta: (value: unknown) => valu
|
|
|
198
198
|
_dataHash: import("@xylabs/hex").Hash;
|
|
199
199
|
}[]];
|
|
200
200
|
export declare const asHydratedTransactionWithHashMeta: {
|
|
201
|
-
(value:
|
|
201
|
+
<T>(value: T): (T & [{
|
|
202
202
|
schema: "network.xyo.boundwitness";
|
|
203
203
|
addresses: import("@xylabs/hex").Address[];
|
|
204
204
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -224,8 +224,8 @@ export declare const asHydratedTransactionWithHashMeta: {
|
|
|
224
224
|
schema: string;
|
|
225
225
|
_hash: import("@xylabs/hex").Hash;
|
|
226
226
|
_dataHash: import("@xylabs/hex").Hash;
|
|
227
|
-
}[]] | undefined;
|
|
228
|
-
(value:
|
|
227
|
+
}[]]) | undefined;
|
|
228
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
229
229
|
schema: "network.xyo.boundwitness";
|
|
230
230
|
addresses: import("@xylabs/hex").Address[];
|
|
231
231
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -254,7 +254,7 @@ export declare const asHydratedTransactionWithHashMeta: {
|
|
|
254
254
|
}[]];
|
|
255
255
|
};
|
|
256
256
|
export declare const toHydratedTransactionWithHashMeta: {
|
|
257
|
-
(value:
|
|
257
|
+
<T>(value: T): (T & [{
|
|
258
258
|
schema: "network.xyo.boundwitness";
|
|
259
259
|
addresses: import("@xylabs/hex").Address[];
|
|
260
260
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -280,8 +280,8 @@ export declare const toHydratedTransactionWithHashMeta: {
|
|
|
280
280
|
schema: string;
|
|
281
281
|
_hash: import("@xylabs/hex").Hash;
|
|
282
282
|
_dataHash: import("@xylabs/hex").Hash;
|
|
283
|
-
}[]] | undefined;
|
|
284
|
-
(value:
|
|
283
|
+
}[]]) | undefined;
|
|
284
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
285
285
|
schema: "network.xyo.boundwitness";
|
|
286
286
|
addresses: import("@xylabs/hex").Address[];
|
|
287
287
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -339,7 +339,7 @@ export declare const HydratedTransactionWithStorageMetaZod: z.ZodTuple<[z.ZodObj
|
|
|
339
339
|
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
|
|
340
340
|
}, z.core.$strip>>], null>;
|
|
341
341
|
export type HydratedTransactionWithStorageMeta = z.infer<typeof HydratedTransactionWithStorageMetaZod>;
|
|
342
|
-
export declare const isHydratedTransactionWithStorageMeta: (value:
|
|
342
|
+
export declare const isHydratedTransactionWithStorageMeta: <T>(value: T) => value is T & [{
|
|
343
343
|
schema: "network.xyo.boundwitness";
|
|
344
344
|
addresses: import("@xylabs/hex").Address[];
|
|
345
345
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -369,7 +369,7 @@ export declare const isHydratedTransactionWithStorageMeta: (value: unknown) => v
|
|
|
369
369
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
370
370
|
}[]];
|
|
371
371
|
export declare const asHydratedTransactionWithStorageMeta: {
|
|
372
|
-
(value:
|
|
372
|
+
<T>(value: T): (T & [{
|
|
373
373
|
schema: "network.xyo.boundwitness";
|
|
374
374
|
addresses: import("@xylabs/hex").Address[];
|
|
375
375
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -397,8 +397,8 @@ export declare const asHydratedTransactionWithStorageMeta: {
|
|
|
397
397
|
_hash: import("@xylabs/hex").Hash;
|
|
398
398
|
_dataHash: import("@xylabs/hex").Hash;
|
|
399
399
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
400
|
-
}[]] | undefined;
|
|
401
|
-
(value:
|
|
400
|
+
}[]]) | undefined;
|
|
401
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
402
402
|
schema: "network.xyo.boundwitness";
|
|
403
403
|
addresses: import("@xylabs/hex").Address[];
|
|
404
404
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -429,7 +429,7 @@ export declare const asHydratedTransactionWithStorageMeta: {
|
|
|
429
429
|
}[]];
|
|
430
430
|
};
|
|
431
431
|
export declare const toHydratedTransactionWithStorageMeta: {
|
|
432
|
-
(value:
|
|
432
|
+
<T>(value: T): (T & [{
|
|
433
433
|
schema: "network.xyo.boundwitness";
|
|
434
434
|
addresses: import("@xylabs/hex").Address[];
|
|
435
435
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -457,8 +457,8 @@ export declare const toHydratedTransactionWithStorageMeta: {
|
|
|
457
457
|
_hash: import("@xylabs/hex").Hash;
|
|
458
458
|
_dataHash: import("@xylabs/hex").Hash;
|
|
459
459
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
460
|
-
}[]] | undefined;
|
|
461
|
-
(value:
|
|
460
|
+
}[]]) | undefined;
|
|
461
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
462
462
|
schema: "network.xyo.boundwitness";
|
|
463
463
|
addresses: import("@xylabs/hex").Address[];
|
|
464
464
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -512,7 +512,7 @@ export declare const UnsignedHydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
|
|
|
512
512
|
schema: z.ZodString;
|
|
513
513
|
}, z.core.$strict>>], null>;
|
|
514
514
|
export type UnsignedHydratedTransaction = z.infer<typeof UnsignedHydratedTransactionZod>;
|
|
515
|
-
export declare const isUnsignedHydratedTransaction: (value:
|
|
515
|
+
export declare const isUnsignedHydratedTransaction: <T>(value: T) => value is T & [{
|
|
516
516
|
schema: "network.xyo.boundwitness";
|
|
517
517
|
addresses: import("@xylabs/hex").Address[];
|
|
518
518
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -536,7 +536,7 @@ export declare const isUnsignedHydratedTransaction: (value: unknown) => value is
|
|
|
536
536
|
schema: string;
|
|
537
537
|
}[]];
|
|
538
538
|
export declare const asUnsignedHydratedTransaction: {
|
|
539
|
-
(value:
|
|
539
|
+
<T>(value: T): (T & [{
|
|
540
540
|
schema: "network.xyo.boundwitness";
|
|
541
541
|
addresses: import("@xylabs/hex").Address[];
|
|
542
542
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -558,8 +558,8 @@ export declare const asUnsignedHydratedTransaction: {
|
|
|
558
558
|
script?: string[] | undefined;
|
|
559
559
|
}, {
|
|
560
560
|
schema: string;
|
|
561
|
-
}[]] | undefined;
|
|
562
|
-
(value:
|
|
561
|
+
}[]]) | undefined;
|
|
562
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
563
563
|
schema: "network.xyo.boundwitness";
|
|
564
564
|
addresses: import("@xylabs/hex").Address[];
|
|
565
565
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -584,7 +584,7 @@ export declare const asUnsignedHydratedTransaction: {
|
|
|
584
584
|
}[]];
|
|
585
585
|
};
|
|
586
586
|
export declare const toUnsignedHydratedTransaction: {
|
|
587
|
-
(value:
|
|
587
|
+
<T>(value: T): (T & [{
|
|
588
588
|
schema: "network.xyo.boundwitness";
|
|
589
589
|
addresses: import("@xylabs/hex").Address[];
|
|
590
590
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -606,8 +606,8 @@ export declare const toUnsignedHydratedTransaction: {
|
|
|
606
606
|
script?: string[] | undefined;
|
|
607
607
|
}, {
|
|
608
608
|
schema: string;
|
|
609
|
-
}[]] | undefined;
|
|
610
|
-
(value:
|
|
609
|
+
}[]]) | undefined;
|
|
610
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
611
611
|
schema: "network.xyo.boundwitness";
|
|
612
612
|
addresses: import("@xylabs/hex").Address[];
|
|
613
613
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -659,7 +659,7 @@ export declare const UnsignedHydratedTransactionWithHashMetaZod: z.ZodTuple<[z.Z
|
|
|
659
659
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
660
660
|
}, z.core.$strip>>], null>;
|
|
661
661
|
export type UnsignedHydratedTransactionWithHashMeta = z.infer<typeof UnsignedHydratedTransactionWithHashMetaZod>;
|
|
662
|
-
export declare const isUnsignedHydratedTransactionWithHashMeta: (value:
|
|
662
|
+
export declare const isUnsignedHydratedTransactionWithHashMeta: <T>(value: T) => value is T & [{
|
|
663
663
|
schema: "network.xyo.boundwitness";
|
|
664
664
|
addresses: import("@xylabs/hex").Address[];
|
|
665
665
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -687,7 +687,7 @@ export declare const isUnsignedHydratedTransactionWithHashMeta: (value: unknown)
|
|
|
687
687
|
_dataHash: import("@xylabs/hex").Hash;
|
|
688
688
|
}[]];
|
|
689
689
|
export declare const asUnsignedHydratedTransactionWithHashMeta: {
|
|
690
|
-
(value:
|
|
690
|
+
<T>(value: T): (T & [{
|
|
691
691
|
schema: "network.xyo.boundwitness";
|
|
692
692
|
addresses: import("@xylabs/hex").Address[];
|
|
693
693
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -713,8 +713,8 @@ export declare const asUnsignedHydratedTransactionWithHashMeta: {
|
|
|
713
713
|
schema: string;
|
|
714
714
|
_hash: import("@xylabs/hex").Hash;
|
|
715
715
|
_dataHash: import("@xylabs/hex").Hash;
|
|
716
|
-
}[]] | undefined;
|
|
717
|
-
(value:
|
|
716
|
+
}[]]) | undefined;
|
|
717
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
718
718
|
schema: "network.xyo.boundwitness";
|
|
719
719
|
addresses: import("@xylabs/hex").Address[];
|
|
720
720
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -743,7 +743,7 @@ export declare const asUnsignedHydratedTransactionWithHashMeta: {
|
|
|
743
743
|
}[]];
|
|
744
744
|
};
|
|
745
745
|
export declare const toUnsignedHydratedTransactionWithHashMeta: {
|
|
746
|
-
(value:
|
|
746
|
+
<T>(value: T): (T & [{
|
|
747
747
|
schema: "network.xyo.boundwitness";
|
|
748
748
|
addresses: import("@xylabs/hex").Address[];
|
|
749
749
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -769,8 +769,8 @@ export declare const toUnsignedHydratedTransactionWithHashMeta: {
|
|
|
769
769
|
schema: string;
|
|
770
770
|
_hash: import("@xylabs/hex").Hash;
|
|
771
771
|
_dataHash: import("@xylabs/hex").Hash;
|
|
772
|
-
}[]] | undefined;
|
|
773
|
-
(value:
|
|
772
|
+
}[]]) | undefined;
|
|
773
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
774
774
|
schema: "network.xyo.boundwitness";
|
|
775
775
|
addresses: import("@xylabs/hex").Address[];
|
|
776
776
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -828,7 +828,7 @@ export declare const UnsignedHydratedTransactionWithStorageMetaZod: z.ZodTuple<[
|
|
|
828
828
|
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
|
|
829
829
|
}, z.core.$strip>>], null>;
|
|
830
830
|
export type UnsignedHydratedTransactionWithStorageMeta = z.infer<typeof UnsignedHydratedTransactionWithStorageMetaZod>;
|
|
831
|
-
export declare const isUnsignedHydratedTransactionWithStorageMeta: (value:
|
|
831
|
+
export declare const isUnsignedHydratedTransactionWithStorageMeta: <T>(value: T) => value is T & [{
|
|
832
832
|
schema: "network.xyo.boundwitness";
|
|
833
833
|
addresses: import("@xylabs/hex").Address[];
|
|
834
834
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -858,7 +858,7 @@ export declare const isUnsignedHydratedTransactionWithStorageMeta: (value: unkno
|
|
|
858
858
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
859
859
|
}[]];
|
|
860
860
|
export declare const asUnsignedHydratedTransactionWithStorageMeta: {
|
|
861
|
-
(value:
|
|
861
|
+
<T>(value: T): (T & [{
|
|
862
862
|
schema: "network.xyo.boundwitness";
|
|
863
863
|
addresses: import("@xylabs/hex").Address[];
|
|
864
864
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -886,8 +886,8 @@ export declare const asUnsignedHydratedTransactionWithStorageMeta: {
|
|
|
886
886
|
_hash: import("@xylabs/hex").Hash;
|
|
887
887
|
_dataHash: import("@xylabs/hex").Hash;
|
|
888
888
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
889
|
-
}[]] | undefined;
|
|
890
|
-
(value:
|
|
889
|
+
}[]]) | undefined;
|
|
890
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
891
891
|
schema: "network.xyo.boundwitness";
|
|
892
892
|
addresses: import("@xylabs/hex").Address[];
|
|
893
893
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -918,7 +918,7 @@ export declare const asUnsignedHydratedTransactionWithStorageMeta: {
|
|
|
918
918
|
}[]];
|
|
919
919
|
};
|
|
920
920
|
export declare const toUnsignedHydratedTransactionWithStorageMeta: {
|
|
921
|
-
(value:
|
|
921
|
+
<T>(value: T): (T & [{
|
|
922
922
|
schema: "network.xyo.boundwitness";
|
|
923
923
|
addresses: import("@xylabs/hex").Address[];
|
|
924
924
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -946,8 +946,8 @@ export declare const toUnsignedHydratedTransactionWithStorageMeta: {
|
|
|
946
946
|
_hash: import("@xylabs/hex").Hash;
|
|
947
947
|
_dataHash: import("@xylabs/hex").Hash;
|
|
948
948
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
949
|
-
}[]] | undefined;
|
|
950
|
-
(value:
|
|
949
|
+
}[]]) | undefined;
|
|
950
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
951
951
|
schema: "network.xyo.boundwitness";
|
|
952
952
|
addresses: import("@xylabs/hex").Address[];
|
|
953
953
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1001,7 +1001,7 @@ export declare const SignedHydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
|
|
|
1001
1001
|
schema: z.ZodString;
|
|
1002
1002
|
}, z.core.$strict>>], null>;
|
|
1003
1003
|
export type SignedHydratedTransaction = z.infer<typeof SignedHydratedTransactionZod>;
|
|
1004
|
-
export declare const isSignedHydratedTransaction: (value:
|
|
1004
|
+
export declare const isSignedHydratedTransaction: <T>(value: T) => value is T & [{
|
|
1005
1005
|
schema: "network.xyo.boundwitness";
|
|
1006
1006
|
addresses: import("@xylabs/hex").Address[];
|
|
1007
1007
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1025,7 +1025,7 @@ export declare const isSignedHydratedTransaction: (value: unknown) => value is [
|
|
|
1025
1025
|
schema: string;
|
|
1026
1026
|
}[]];
|
|
1027
1027
|
export declare const asSignedHydratedTransaction: {
|
|
1028
|
-
(value:
|
|
1028
|
+
<T>(value: T): (T & [{
|
|
1029
1029
|
schema: "network.xyo.boundwitness";
|
|
1030
1030
|
addresses: import("@xylabs/hex").Address[];
|
|
1031
1031
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1047,8 +1047,8 @@ export declare const asSignedHydratedTransaction: {
|
|
|
1047
1047
|
script?: string[] | undefined;
|
|
1048
1048
|
}, {
|
|
1049
1049
|
schema: string;
|
|
1050
|
-
}[]] | undefined;
|
|
1051
|
-
(value:
|
|
1050
|
+
}[]]) | undefined;
|
|
1051
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
1052
1052
|
schema: "network.xyo.boundwitness";
|
|
1053
1053
|
addresses: import("@xylabs/hex").Address[];
|
|
1054
1054
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1073,7 +1073,7 @@ export declare const asSignedHydratedTransaction: {
|
|
|
1073
1073
|
}[]];
|
|
1074
1074
|
};
|
|
1075
1075
|
export declare const toSignedHydratedTransaction: {
|
|
1076
|
-
(value:
|
|
1076
|
+
<T>(value: T): (T & [{
|
|
1077
1077
|
schema: "network.xyo.boundwitness";
|
|
1078
1078
|
addresses: import("@xylabs/hex").Address[];
|
|
1079
1079
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1095,8 +1095,8 @@ export declare const toSignedHydratedTransaction: {
|
|
|
1095
1095
|
script?: string[] | undefined;
|
|
1096
1096
|
}, {
|
|
1097
1097
|
schema: string;
|
|
1098
|
-
}[]] | undefined;
|
|
1099
|
-
(value:
|
|
1098
|
+
}[]]) | undefined;
|
|
1099
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
1100
1100
|
schema: "network.xyo.boundwitness";
|
|
1101
1101
|
addresses: import("@xylabs/hex").Address[];
|
|
1102
1102
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1148,7 +1148,7 @@ export declare const SignedHydratedTransactionWithHashMetaZod: z.ZodTuple<[z.Zod
|
|
|
1148
1148
|
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
1149
1149
|
}, z.core.$strip>>], null>;
|
|
1150
1150
|
export type SignedHydratedTransactionWithHashMeta = z.infer<typeof SignedHydratedTransactionWithHashMetaZod>;
|
|
1151
|
-
export declare const isSignedHydratedTransactionWithHashMeta: (value:
|
|
1151
|
+
export declare const isSignedHydratedTransactionWithHashMeta: <T>(value: T) => value is T & [{
|
|
1152
1152
|
schema: "network.xyo.boundwitness";
|
|
1153
1153
|
addresses: import("@xylabs/hex").Address[];
|
|
1154
1154
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1176,7 +1176,7 @@ export declare const isSignedHydratedTransactionWithHashMeta: (value: unknown) =
|
|
|
1176
1176
|
_dataHash: import("@xylabs/hex").Hash;
|
|
1177
1177
|
}[]];
|
|
1178
1178
|
export declare const asSignedHydratedTransactionWithHashMeta: {
|
|
1179
|
-
(value:
|
|
1179
|
+
<T>(value: T): (T & [{
|
|
1180
1180
|
schema: "network.xyo.boundwitness";
|
|
1181
1181
|
addresses: import("@xylabs/hex").Address[];
|
|
1182
1182
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1202,8 +1202,8 @@ export declare const asSignedHydratedTransactionWithHashMeta: {
|
|
|
1202
1202
|
schema: string;
|
|
1203
1203
|
_hash: import("@xylabs/hex").Hash;
|
|
1204
1204
|
_dataHash: import("@xylabs/hex").Hash;
|
|
1205
|
-
}[]] | undefined;
|
|
1206
|
-
(value:
|
|
1205
|
+
}[]]) | undefined;
|
|
1206
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
1207
1207
|
schema: "network.xyo.boundwitness";
|
|
1208
1208
|
addresses: import("@xylabs/hex").Address[];
|
|
1209
1209
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1232,7 +1232,7 @@ export declare const asSignedHydratedTransactionWithHashMeta: {
|
|
|
1232
1232
|
}[]];
|
|
1233
1233
|
};
|
|
1234
1234
|
export declare const toSignedHydratedTransactionWithHashMeta: {
|
|
1235
|
-
(value:
|
|
1235
|
+
<T>(value: T): (T & [{
|
|
1236
1236
|
schema: "network.xyo.boundwitness";
|
|
1237
1237
|
addresses: import("@xylabs/hex").Address[];
|
|
1238
1238
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1258,8 +1258,8 @@ export declare const toSignedHydratedTransactionWithHashMeta: {
|
|
|
1258
1258
|
schema: string;
|
|
1259
1259
|
_hash: import("@xylabs/hex").Hash;
|
|
1260
1260
|
_dataHash: import("@xylabs/hex").Hash;
|
|
1261
|
-
}[]] | undefined;
|
|
1262
|
-
(value:
|
|
1261
|
+
}[]]) | undefined;
|
|
1262
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
1263
1263
|
schema: "network.xyo.boundwitness";
|
|
1264
1264
|
addresses: import("@xylabs/hex").Address[];
|
|
1265
1265
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1317,7 +1317,7 @@ export declare const SignedHydratedTransactionWithStorageMetaZod: z.ZodTuple<[z.
|
|
|
1317
1317
|
_sequence: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").LocalSequence, string>>, z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/payload-model").QualifiedSequence, string>>]>;
|
|
1318
1318
|
}, z.core.$strip>>], null>;
|
|
1319
1319
|
export type SignedHydratedTransactionWithStorageMeta = z.infer<typeof SignedHydratedTransactionWithStorageMetaZod>;
|
|
1320
|
-
export declare const isSignedHydratedTransactionWithStorageMeta: (value:
|
|
1320
|
+
export declare const isSignedHydratedTransactionWithStorageMeta: <T>(value: T) => value is T & [{
|
|
1321
1321
|
schema: "network.xyo.boundwitness";
|
|
1322
1322
|
addresses: import("@xylabs/hex").Address[];
|
|
1323
1323
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1347,7 +1347,7 @@ export declare const isSignedHydratedTransactionWithStorageMeta: (value: unknown
|
|
|
1347
1347
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
1348
1348
|
}[]];
|
|
1349
1349
|
export declare const asSignedHydratedTransactionWithStorageMeta: {
|
|
1350
|
-
(value:
|
|
1350
|
+
<T>(value: T): (T & [{
|
|
1351
1351
|
schema: "network.xyo.boundwitness";
|
|
1352
1352
|
addresses: import("@xylabs/hex").Address[];
|
|
1353
1353
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1375,8 +1375,8 @@ export declare const asSignedHydratedTransactionWithStorageMeta: {
|
|
|
1375
1375
|
_hash: import("@xylabs/hex").Hash;
|
|
1376
1376
|
_dataHash: import("@xylabs/hex").Hash;
|
|
1377
1377
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
1378
|
-
}[]] | undefined;
|
|
1379
|
-
(value:
|
|
1378
|
+
}[]]) | undefined;
|
|
1379
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
1380
1380
|
schema: "network.xyo.boundwitness";
|
|
1381
1381
|
addresses: import("@xylabs/hex").Address[];
|
|
1382
1382
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1407,7 +1407,7 @@ export declare const asSignedHydratedTransactionWithStorageMeta: {
|
|
|
1407
1407
|
}[]];
|
|
1408
1408
|
};
|
|
1409
1409
|
export declare const toSignedHydratedTransactionWithStorageMeta: {
|
|
1410
|
-
(value:
|
|
1410
|
+
<T>(value: T): (T & [{
|
|
1411
1411
|
schema: "network.xyo.boundwitness";
|
|
1412
1412
|
addresses: import("@xylabs/hex").Address[];
|
|
1413
1413
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
@@ -1435,8 +1435,8 @@ export declare const toSignedHydratedTransactionWithStorageMeta: {
|
|
|
1435
1435
|
_hash: import("@xylabs/hex").Hash;
|
|
1436
1436
|
_dataHash: import("@xylabs/hex").Hash;
|
|
1437
1437
|
_sequence: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence;
|
|
1438
|
-
}[]] | undefined;
|
|
1439
|
-
(value:
|
|
1438
|
+
}[]]) | undefined;
|
|
1439
|
+
<T>(value: T, assert: import("@xylabs/zod").ZodFactoryConfig): T & [{
|
|
1440
1440
|
schema: "network.xyo.boundwitness";
|
|
1441
1441
|
addresses: import("@xylabs/hex").Address[];
|
|
1442
1442
|
payload_hashes: import("@xylabs/hex").Hash[];
|