@xyo-network/xl1-rpc 1.16.6 → 1.16.7
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/index.mjs +462 -501
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/types/schema/AllRpcSchemas.d.ts +290 -721
- package/dist/neutral/types/schema/AllRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/XyoRunnerRpcSchemas.d.ts +18 -42
- package/dist/neutral/types/schema/XyoRunnerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/XyoSignerRpcSchemas.d.ts +44 -97
- package/dist/neutral/types/schema/XyoSignerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/XyoViewerRpcSchemas.d.ts +228 -582
- package/dist/neutral/types/schema/XyoViewerRpcSchemas.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/BlockBoundWitness.d.ts +10 -116
- package/dist/neutral/types/schema/common/BlockBoundWitness.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/BoundWitness.d.ts +38 -68
- package/dist/neutral/types/schema/common/BoundWitness.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/HydratedBlock.d.ts +51 -143
- package/dist/neutral/types/schema/common/HydratedBlock.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/HydratedTransaction.d.ts +61 -131
- package/dist/neutral/types/schema/common/HydratedTransaction.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/StepIdentity.d.ts +3 -0
- package/dist/neutral/types/schema/common/StepIdentity.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/TransactionBoundWitness.d.ts +10 -38
- package/dist/neutral/types/schema/common/TransactionBoundWitness.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/Transfer.d.ts +0 -31
- package/dist/neutral/types/schema/common/Transfer.d.ts.map +1 -1
- package/dist/neutral/types/schema/common/index.d.ts +0 -1
- package/dist/neutral/types/schema/common/index.d.ts.map +1 -1
- package/dist/node/index-node.mjs +462 -501
- package/dist/node/index-node.mjs.map +1 -1
- package/dist/node/types/schema/AllRpcSchemas.d.ts +290 -721
- package/dist/node/types/schema/AllRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/XyoRunnerRpcSchemas.d.ts +18 -42
- package/dist/node/types/schema/XyoRunnerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/XyoSignerRpcSchemas.d.ts +44 -97
- package/dist/node/types/schema/XyoSignerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/XyoViewerRpcSchemas.d.ts +228 -582
- package/dist/node/types/schema/XyoViewerRpcSchemas.d.ts.map +1 -1
- package/dist/node/types/schema/common/BlockBoundWitness.d.ts +10 -116
- package/dist/node/types/schema/common/BlockBoundWitness.d.ts.map +1 -1
- package/dist/node/types/schema/common/BoundWitness.d.ts +38 -68
- package/dist/node/types/schema/common/BoundWitness.d.ts.map +1 -1
- package/dist/node/types/schema/common/HydratedBlock.d.ts +51 -143
- package/dist/node/types/schema/common/HydratedBlock.d.ts.map +1 -1
- package/dist/node/types/schema/common/HydratedTransaction.d.ts +61 -131
- package/dist/node/types/schema/common/HydratedTransaction.d.ts.map +1 -1
- package/dist/node/types/schema/common/StepIdentity.d.ts +3 -0
- package/dist/node/types/schema/common/StepIdentity.d.ts.map +1 -1
- package/dist/node/types/schema/common/TransactionBoundWitness.d.ts +10 -38
- package/dist/node/types/schema/common/TransactionBoundWitness.d.ts.map +1 -1
- package/dist/node/types/schema/common/Transfer.d.ts +0 -31
- package/dist/node/types/schema/common/Transfer.d.ts.map +1 -1
- package/dist/node/types/schema/common/index.d.ts +0 -1
- package/dist/node/types/schema/common/index.d.ts.map +1 -1
- package/package.json +14 -14
- package/src/types/schema/XyoViewerRpcSchemas.ts +9 -11
- package/src/types/schema/common/BlockBoundWitness.ts +1 -14
- package/src/types/schema/common/BoundWitness.ts +3 -2
- package/src/types/schema/common/HydratedBlock.ts +6 -6
- package/src/types/schema/common/HydratedTransaction.ts +1 -2
- package/src/types/schema/common/StepIdentity.ts +3 -0
- package/src/types/schema/common/Transfer.ts +1 -2
- package/src/types/schema/common/index.ts +0 -1
- package/src/types/schema/common/spec/Payload.spec.ts +2 -3
- package/dist/neutral/types/schema/common/Payload.d.ts +0 -81
- package/dist/neutral/types/schema/common/Payload.d.ts.map +0 -1
- package/dist/node/types/schema/common/Payload.d.ts +0 -81
- package/dist/node/types/schema/common/Payload.d.ts.map +0 -1
- package/src/types/schema/common/Payload.ts +0 -23
|
@@ -5,31 +5,17 @@ export declare const HydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
|
5
5
|
readonly __address: true;
|
|
6
6
|
}>, string>>>;
|
|
7
7
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
8
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
8
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
9
|
+
__schema: true;
|
|
10
|
+
}, string>>]>>;
|
|
9
11
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
10
12
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
11
13
|
readonly __address: true;
|
|
12
14
|
}>, string>>>;
|
|
13
15
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
14
16
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
15
|
-
_hash: z.ZodOptional<z.
|
|
16
|
-
|
|
17
|
-
}>, {
|
|
18
|
-
readonly __hash: true;
|
|
19
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
20
|
-
readonly __hex: true;
|
|
21
|
-
}>, {
|
|
22
|
-
readonly __hash: true;
|
|
23
|
-
}>, unknown>>>;
|
|
24
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
25
|
-
readonly __hex: true;
|
|
26
|
-
}>, {
|
|
27
|
-
readonly __hash: true;
|
|
28
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
29
|
-
readonly __hex: true;
|
|
30
|
-
}>, {
|
|
31
|
-
readonly __hash: true;
|
|
32
|
-
}>, unknown>>>;
|
|
17
|
+
_hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
18
|
+
_dataHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
33
19
|
_sequence: z.ZodOptional<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>>]>>;
|
|
34
20
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>;
|
|
35
21
|
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
@@ -38,99 +24,59 @@ export declare const HydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
|
38
24
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
39
25
|
$epoch: z.ZodNumber;
|
|
40
26
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
41
|
-
schema: z.ZodString
|
|
42
|
-
|
|
27
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
28
|
+
__schema: true;
|
|
29
|
+
}, string>>]>;
|
|
30
|
+
}, z.core.$strip>>], null>;
|
|
43
31
|
export declare const HydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
44
32
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
45
33
|
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
46
34
|
readonly __address: true;
|
|
47
35
|
}>, string>>>;
|
|
48
36
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
49
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
37
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
38
|
+
__schema: true;
|
|
39
|
+
}, string>>]>>;
|
|
50
40
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
51
41
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
52
42
|
readonly __address: true;
|
|
53
43
|
}>, string>>>;
|
|
54
44
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
55
45
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
56
|
-
_hash: z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
57
|
-
readonly __hex: true;
|
|
58
|
-
}>, {
|
|
59
|
-
readonly __hash: true;
|
|
60
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
61
|
-
readonly __hex: true;
|
|
62
|
-
}>, {
|
|
63
|
-
readonly __hash: true;
|
|
64
|
-
}>, unknown>>;
|
|
65
|
-
_dataHash: z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
66
|
-
readonly __hex: true;
|
|
67
|
-
}>, {
|
|
68
|
-
readonly __hash: true;
|
|
69
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
70
|
-
readonly __hex: true;
|
|
71
|
-
}>, {
|
|
72
|
-
readonly __hash: true;
|
|
73
|
-
}>, unknown>>;
|
|
74
|
-
_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>>]>;
|
|
75
46
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>;
|
|
76
47
|
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
77
48
|
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
78
49
|
protocol: z.ZodNumber;
|
|
79
50
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
80
51
|
$epoch: z.ZodNumber;
|
|
52
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
53
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
54
|
+
_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>>]>;
|
|
81
55
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
82
|
-
schema: z.ZodString
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
88
|
-
readonly __hex: true;
|
|
89
|
-
}>, {
|
|
90
|
-
readonly __hash: true;
|
|
91
|
-
}>, unknown>>;
|
|
92
|
-
_dataHash: z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
93
|
-
readonly __hex: true;
|
|
94
|
-
}>, {
|
|
95
|
-
readonly __hash: true;
|
|
96
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
97
|
-
readonly __hex: true;
|
|
98
|
-
}>, {
|
|
99
|
-
readonly __hash: true;
|
|
100
|
-
}>, unknown>>;
|
|
56
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
57
|
+
__schema: true;
|
|
58
|
+
}, string>>]>;
|
|
59
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
60
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
101
61
|
_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>>]>;
|
|
102
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$strip>>], null>;
|
|
103
63
|
export declare const SignedHydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
104
64
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
105
65
|
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
106
66
|
readonly __address: true;
|
|
107
67
|
}>, string>>>;
|
|
108
68
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
109
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
69
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
70
|
+
__schema: true;
|
|
71
|
+
}, string>>]>>;
|
|
110
72
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
111
73
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
112
74
|
readonly __address: true;
|
|
113
75
|
}>, string>>>;
|
|
114
76
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
115
77
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
116
|
-
_hash: z.ZodOptional<z.
|
|
117
|
-
|
|
118
|
-
}>, {
|
|
119
|
-
readonly __hash: true;
|
|
120
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
121
|
-
readonly __hex: true;
|
|
122
|
-
}>, {
|
|
123
|
-
readonly __hash: true;
|
|
124
|
-
}>, unknown>>>;
|
|
125
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
126
|
-
readonly __hex: true;
|
|
127
|
-
}>, {
|
|
128
|
-
readonly __hash: true;
|
|
129
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
130
|
-
readonly __hex: true;
|
|
131
|
-
}>, {
|
|
132
|
-
readonly __hash: true;
|
|
133
|
-
}>, unknown>>>;
|
|
78
|
+
_hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
79
|
+
_dataHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
134
80
|
_sequence: z.ZodOptional<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>>]>>;
|
|
135
81
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>;
|
|
136
82
|
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
@@ -139,39 +85,27 @@ export declare const SignedHydratedBlockZod: z.ZodTuple<[z.ZodObject<{
|
|
|
139
85
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
140
86
|
$epoch: z.ZodNumber;
|
|
141
87
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
142
|
-
schema: z.ZodString
|
|
143
|
-
|
|
88
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
89
|
+
__schema: true;
|
|
90
|
+
}, string>>]>;
|
|
91
|
+
}, z.core.$strip>>], null>;
|
|
144
92
|
export declare const SignedHydratedBlockToJsonZod: z.ZodTuple<[z.ZodObject<{
|
|
145
93
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
146
94
|
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
147
95
|
readonly __address: true;
|
|
148
96
|
}>, string>>>;
|
|
149
97
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
150
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
98
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
99
|
+
__schema: true;
|
|
100
|
+
}, string>>]>>;
|
|
151
101
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
152
102
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
153
103
|
readonly __address: true;
|
|
154
104
|
}>, string>>>;
|
|
155
105
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
156
106
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
157
|
-
_hash: z.ZodOptional<z.
|
|
158
|
-
|
|
159
|
-
}>, {
|
|
160
|
-
readonly __hash: true;
|
|
161
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
162
|
-
readonly __hex: true;
|
|
163
|
-
}>, {
|
|
164
|
-
readonly __hash: true;
|
|
165
|
-
}>, unknown>>>;
|
|
166
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
167
|
-
readonly __hex: true;
|
|
168
|
-
}>, {
|
|
169
|
-
readonly __hash: true;
|
|
170
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
171
|
-
readonly __hex: true;
|
|
172
|
-
}>, {
|
|
173
|
-
readonly __hash: true;
|
|
174
|
-
}>, unknown>>>;
|
|
107
|
+
_hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
108
|
+
_dataHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
175
109
|
_sequence: z.ZodOptional<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>>]>>;
|
|
176
110
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>;
|
|
177
111
|
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
@@ -180,66 +114,40 @@ export declare const SignedHydratedBlockToJsonZod: z.ZodTuple<[z.ZodObject<{
|
|
|
180
114
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
181
115
|
$epoch: z.ZodNumber;
|
|
182
116
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
183
|
-
schema: z.ZodString
|
|
184
|
-
|
|
117
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
118
|
+
__schema: true;
|
|
119
|
+
}, string>>]>;
|
|
120
|
+
}, z.core.$strip>>], null>;
|
|
185
121
|
export declare const SignedHydratedBlockWithStorageMetaZod: z.ZodTuple<[z.ZodObject<{
|
|
186
122
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
187
123
|
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
188
124
|
readonly __address: true;
|
|
189
125
|
}>, string>>>;
|
|
190
126
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
191
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
127
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
128
|
+
__schema: true;
|
|
129
|
+
}, string>>]>>;
|
|
192
130
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
193
131
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
194
132
|
readonly __address: true;
|
|
195
133
|
}>, string>>>;
|
|
196
134
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
197
135
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
198
|
-
_hash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
199
|
-
readonly __hex: true;
|
|
200
|
-
}>, {
|
|
201
|
-
readonly __hash: true;
|
|
202
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
203
|
-
readonly __hex: true;
|
|
204
|
-
}>, {
|
|
205
|
-
readonly __hash: true;
|
|
206
|
-
}>, unknown>>>;
|
|
207
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
208
|
-
readonly __hex: true;
|
|
209
|
-
}>, {
|
|
210
|
-
readonly __hash: true;
|
|
211
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
212
|
-
readonly __hex: true;
|
|
213
|
-
}>, {
|
|
214
|
-
readonly __hash: true;
|
|
215
|
-
}>, unknown>>>;
|
|
216
|
-
_sequence: z.ZodOptional<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>>]>>;
|
|
217
136
|
block: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").XL1BlockNumber, number>>;
|
|
218
137
|
chain: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
219
138
|
previous: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
220
139
|
protocol: z.ZodNumber;
|
|
221
140
|
step_hashes: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
222
141
|
$epoch: z.ZodNumber;
|
|
142
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
143
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
144
|
+
_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>>]>;
|
|
223
145
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
224
|
-
schema: z.ZodString
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
230
|
-
readonly __hex: true;
|
|
231
|
-
}>, {
|
|
232
|
-
readonly __hash: true;
|
|
233
|
-
}>, unknown>>;
|
|
234
|
-
_dataHash: z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
235
|
-
readonly __hex: true;
|
|
236
|
-
}>, {
|
|
237
|
-
readonly __hash: true;
|
|
238
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
239
|
-
readonly __hex: true;
|
|
240
|
-
}>, {
|
|
241
|
-
readonly __hash: true;
|
|
242
|
-
}>, unknown>>;
|
|
146
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
147
|
+
__schema: true;
|
|
148
|
+
}, string>>]>;
|
|
149
|
+
_hash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
150
|
+
_dataHash: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>;
|
|
243
151
|
_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>>]>;
|
|
244
|
-
}, z.core.$
|
|
152
|
+
}, z.core.$strip>>], null>;
|
|
245
153
|
//# sourceMappingURL=HydratedBlock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HydratedBlock.d.ts","sourceRoot":"","sources":["../../../../../src/types/schema/common/HydratedBlock.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HydratedBlock.d.ts","sourceRoot":"","sources":["../../../../../src/types/schema/common/HydratedBlock.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAOxB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAG3B,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAG1C,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAGjC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAGvC,CAAA;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAGhD,CAAA"}
|
|
@@ -5,31 +5,17 @@ export declare const HydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
|
|
|
5
5
|
readonly __address: true;
|
|
6
6
|
}>, string>>>;
|
|
7
7
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
8
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
8
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
9
|
+
__schema: true;
|
|
10
|
+
}, string>>]>>;
|
|
9
11
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
10
12
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
11
13
|
readonly __address: true;
|
|
12
14
|
}>, string>>>;
|
|
13
15
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
14
16
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
15
|
-
_hash: z.ZodOptional<z.
|
|
16
|
-
|
|
17
|
-
}>, {
|
|
18
|
-
readonly __hash: true;
|
|
19
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
20
|
-
readonly __hex: true;
|
|
21
|
-
}>, {
|
|
22
|
-
readonly __hash: true;
|
|
23
|
-
}>, unknown>>>;
|
|
24
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
25
|
-
readonly __hex: true;
|
|
26
|
-
}>, {
|
|
27
|
-
readonly __hash: true;
|
|
28
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
29
|
-
readonly __hex: true;
|
|
30
|
-
}>, {
|
|
31
|
-
readonly __hash: true;
|
|
32
|
-
}>, unknown>>>;
|
|
17
|
+
_hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
18
|
+
_dataHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
33
19
|
_sequence: z.ZodOptional<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>>]>>;
|
|
34
20
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
35
21
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
@@ -43,39 +29,27 @@ export declare const HydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
|
|
|
43
29
|
from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
44
30
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45
31
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
46
|
-
schema: z.ZodString
|
|
47
|
-
|
|
32
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
33
|
+
__schema: true;
|
|
34
|
+
}, string>>]>;
|
|
35
|
+
}, z.core.$strip>>], null>;
|
|
48
36
|
export declare const UnsignedHydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
|
|
49
37
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
50
38
|
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
51
39
|
readonly __address: true;
|
|
52
40
|
}>, string>>>;
|
|
53
41
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
54
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
42
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
43
|
+
__schema: true;
|
|
44
|
+
}, string>>]>>;
|
|
55
45
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
56
46
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
57
47
|
readonly __address: true;
|
|
58
48
|
}>, string>>>;
|
|
59
49
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
60
50
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
61
|
-
_hash: z.ZodOptional<z.
|
|
62
|
-
|
|
63
|
-
}>, {
|
|
64
|
-
readonly __hash: true;
|
|
65
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
66
|
-
readonly __hex: true;
|
|
67
|
-
}>, {
|
|
68
|
-
readonly __hash: true;
|
|
69
|
-
}>, unknown>>>;
|
|
70
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
71
|
-
readonly __hex: true;
|
|
72
|
-
}>, {
|
|
73
|
-
readonly __hash: true;
|
|
74
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
75
|
-
readonly __hex: true;
|
|
76
|
-
}>, {
|
|
77
|
-
readonly __hash: true;
|
|
78
|
-
}>, unknown>>>;
|
|
51
|
+
_hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
52
|
+
_dataHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
79
53
|
_sequence: z.ZodOptional<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>>]>>;
|
|
80
54
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
81
55
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
@@ -89,39 +63,27 @@ export declare const UnsignedHydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
|
|
|
89
63
|
from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
90
64
|
script: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
91
65
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
92
|
-
schema: z.ZodString
|
|
93
|
-
|
|
66
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
67
|
+
__schema: true;
|
|
68
|
+
}, string>>]>;
|
|
69
|
+
}, z.core.$strip>>], null>;
|
|
94
70
|
export declare const SignedHydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
|
|
95
71
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
96
72
|
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
97
73
|
readonly __address: true;
|
|
98
74
|
}>, string>>>;
|
|
99
75
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
100
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
76
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
77
|
+
__schema: true;
|
|
78
|
+
}, string>>]>>;
|
|
101
79
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
102
80
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
103
81
|
readonly __address: true;
|
|
104
82
|
}>, string>>>;
|
|
105
83
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
106
84
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
107
|
-
_hash: z.ZodOptional<z.
|
|
108
|
-
|
|
109
|
-
}>, {
|
|
110
|
-
readonly __hash: true;
|
|
111
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
112
|
-
readonly __hex: true;
|
|
113
|
-
}>, {
|
|
114
|
-
readonly __hash: true;
|
|
115
|
-
}>, unknown>>>;
|
|
116
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
117
|
-
readonly __hex: true;
|
|
118
|
-
}>, {
|
|
119
|
-
readonly __hash: true;
|
|
120
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
121
|
-
readonly __hex: true;
|
|
122
|
-
}>, {
|
|
123
|
-
readonly __hash: true;
|
|
124
|
-
}>, unknown>>>;
|
|
85
|
+
_hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
86
|
+
_dataHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
125
87
|
_sequence: z.ZodOptional<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>>]>>;
|
|
126
88
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
127
89
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
@@ -135,39 +97,27 @@ export declare const SignedHydratedTransactionZod: z.ZodTuple<[z.ZodObject<{
|
|
|
135
97
|
from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
136
98
|
script: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
137
99
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
138
|
-
schema: z.ZodString
|
|
139
|
-
|
|
100
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
101
|
+
__schema: true;
|
|
102
|
+
}, string>>]>;
|
|
103
|
+
}, z.core.$strip>>], null>;
|
|
140
104
|
export declare const SignedHydratedTransactionToJsonZod: z.ZodPipe<z.ZodTuple<[z.ZodObject<{
|
|
141
105
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
142
106
|
addresses: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
143
107
|
readonly __address: true;
|
|
144
108
|
}>, string>>>;
|
|
145
109
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
146
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
110
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
111
|
+
__schema: true;
|
|
112
|
+
}, string>>]>>;
|
|
147
113
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
148
114
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
149
115
|
readonly __address: true;
|
|
150
116
|
}>, string>>>;
|
|
151
117
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
152
118
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
153
|
-
_hash: z.ZodOptional<z.
|
|
154
|
-
|
|
155
|
-
}>, {
|
|
156
|
-
readonly __hash: true;
|
|
157
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
158
|
-
readonly __hex: true;
|
|
159
|
-
}>, {
|
|
160
|
-
readonly __hash: true;
|
|
161
|
-
}>, unknown>>>;
|
|
162
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
163
|
-
readonly __hex: true;
|
|
164
|
-
}>, {
|
|
165
|
-
readonly __hash: true;
|
|
166
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
167
|
-
readonly __hex: true;
|
|
168
|
-
}>, {
|
|
169
|
-
readonly __hash: true;
|
|
170
|
-
}>, unknown>>>;
|
|
119
|
+
_hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
120
|
+
_dataHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
171
121
|
_sequence: z.ZodOptional<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>>]>>;
|
|
172
122
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
173
123
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
@@ -181,14 +131,18 @@ export declare const SignedHydratedTransactionToJsonZod: z.ZodPipe<z.ZodTuple<[z
|
|
|
181
131
|
from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
182
132
|
script: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
183
133
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
184
|
-
schema: z.ZodString
|
|
185
|
-
|
|
134
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
135
|
+
__schema: true;
|
|
136
|
+
}, string>>]>;
|
|
137
|
+
}, z.core.$strip>>], null>, z.ZodTransform<import("@xyo-network/xl1-protocol").SignedHydratedTransaction<import("@xyo-network/xl1-protocol").TransactionBoundWitness, import("@xyo-network/payload-model").Payload> | undefined, [{
|
|
186
138
|
schema: "network.xyo.boundwitness";
|
|
187
139
|
addresses: import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
188
140
|
readonly __address: true;
|
|
189
141
|
}>[];
|
|
190
142
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
191
|
-
payload_schemas: string
|
|
143
|
+
payload_schemas: (string | (string & {
|
|
144
|
+
__schema: true;
|
|
145
|
+
}))[];
|
|
192
146
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
193
147
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
194
148
|
nbf: import("@xyo-network/xl1-protocol").BlockNumber;
|
|
@@ -205,21 +159,14 @@ export declare const SignedHydratedTransactionToJsonZod: z.ZodPipe<z.ZodTuple<[z
|
|
|
205
159
|
readonly __address: true;
|
|
206
160
|
}> | undefined;
|
|
207
161
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
208
|
-
_hash?: import("@xylabs/
|
|
209
|
-
|
|
210
|
-
}>, {
|
|
211
|
-
readonly __hash: true;
|
|
212
|
-
}> | undefined;
|
|
213
|
-
_dataHash?: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
214
|
-
readonly __hex: true;
|
|
215
|
-
}>, {
|
|
216
|
-
readonly __hash: true;
|
|
217
|
-
}> | undefined;
|
|
162
|
+
_hash?: import("@xylabs/hex").Hash | undefined;
|
|
163
|
+
_dataHash?: import("@xylabs/hex").Hash | undefined;
|
|
218
164
|
_sequence?: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence | undefined;
|
|
219
165
|
script?: string[] | undefined;
|
|
220
166
|
}, {
|
|
221
|
-
|
|
222
|
-
|
|
167
|
+
schema: string | (string & {
|
|
168
|
+
__schema: true;
|
|
169
|
+
});
|
|
223
170
|
}[]]>>;
|
|
224
171
|
export declare const JsonToSignedHydratedTransactionZod: z.ZodPipe<z.ZodTuple<[z.ZodObject<{
|
|
225
172
|
schema: z.ZodLiteral<"network.xyo.boundwitness">;
|
|
@@ -227,31 +174,17 @@ export declare const JsonToSignedHydratedTransactionZod: z.ZodPipe<z.ZodTuple<[z
|
|
|
227
174
|
readonly __address: true;
|
|
228
175
|
}>, string>>>;
|
|
229
176
|
payload_hashes: z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
230
|
-
payload_schemas: z.ZodArray<z.ZodString
|
|
177
|
+
payload_schemas: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
178
|
+
__schema: true;
|
|
179
|
+
}, string>>]>>;
|
|
231
180
|
previous_hashes: z.ZodArray<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>>;
|
|
232
181
|
$destination: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
233
182
|
readonly __address: true;
|
|
234
183
|
}>, string>>>;
|
|
235
184
|
$sourceQuery: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
236
185
|
$signatures: z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hex, string>>, z.ZodNull]>>;
|
|
237
|
-
_hash: z.ZodOptional<z.
|
|
238
|
-
|
|
239
|
-
}>, {
|
|
240
|
-
readonly __hash: true;
|
|
241
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
242
|
-
readonly __hex: true;
|
|
243
|
-
}>, {
|
|
244
|
-
readonly __hash: true;
|
|
245
|
-
}>, unknown>>>;
|
|
246
|
-
_dataHash: z.ZodOptional<z.ZodType<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
247
|
-
readonly __hex: true;
|
|
248
|
-
}>, {
|
|
249
|
-
readonly __hash: true;
|
|
250
|
-
}>, unknown, z.core.$ZodTypeInternals<import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
251
|
-
readonly __hex: true;
|
|
252
|
-
}>, {
|
|
253
|
-
readonly __hash: true;
|
|
254
|
-
}>, unknown>>>;
|
|
186
|
+
_hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
187
|
+
_dataHash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("@xylabs/hex").Hash, string>>>;
|
|
255
188
|
_sequence: z.ZodOptional<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>>]>>;
|
|
256
189
|
nbf: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
257
190
|
exp: z.ZodPipe<z.ZodNumber, z.ZodTransform<import("@xyo-network/xl1-protocol").BlockNumber, number>>;
|
|
@@ -265,14 +198,18 @@ export declare const JsonToSignedHydratedTransactionZod: z.ZodPipe<z.ZodTuple<[z
|
|
|
265
198
|
from: z.ZodPipe<z.ZodString, z.ZodTransform<import("@xyo-network/xl1-protocol").ChainId, string>>;
|
|
266
199
|
script: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
267
200
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
268
|
-
schema: z.ZodString
|
|
269
|
-
|
|
201
|
+
schema: z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodString, z.ZodTransform<string & {
|
|
202
|
+
__schema: true;
|
|
203
|
+
}, string>>]>;
|
|
204
|
+
}, z.core.$strip>>], null>, z.ZodTransform<(import("@xyo-network/xl1-protocol").SignedHydratedTransaction<import("@xyo-network/xl1-protocol").TransactionBoundWitness, import("@xyo-network/payload-model").Payload> | (import("@xyo-network/payload-model").Payload | undefined)[] | undefined)[], [{
|
|
270
205
|
schema: "network.xyo.boundwitness";
|
|
271
206
|
addresses: import("@xylabs/typeof").Brand<import("@xylabs/hex").Hex, {
|
|
272
207
|
readonly __address: true;
|
|
273
208
|
}>[];
|
|
274
209
|
payload_hashes: import("@xylabs/hex").Hash[];
|
|
275
|
-
payload_schemas: string
|
|
210
|
+
payload_schemas: (string | (string & {
|
|
211
|
+
__schema: true;
|
|
212
|
+
}))[];
|
|
276
213
|
previous_hashes: (import("@xylabs/hex").Hash | null)[];
|
|
277
214
|
$signatures: (import("@xylabs/hex").Hex | null)[];
|
|
278
215
|
nbf: import("@xyo-network/xl1-protocol").BlockNumber;
|
|
@@ -289,20 +226,13 @@ export declare const JsonToSignedHydratedTransactionZod: z.ZodPipe<z.ZodTuple<[z
|
|
|
289
226
|
readonly __address: true;
|
|
290
227
|
}> | undefined;
|
|
291
228
|
$sourceQuery?: import("@xylabs/hex").Hash | undefined;
|
|
292
|
-
_hash?: import("@xylabs/
|
|
293
|
-
|
|
294
|
-
}>, {
|
|
295
|
-
readonly __hash: true;
|
|
296
|
-
}> | undefined;
|
|
297
|
-
_dataHash?: import("@xylabs/typeof").Brand<import("@xylabs/typeof").Brand<Lowercase<string>, {
|
|
298
|
-
readonly __hex: true;
|
|
299
|
-
}>, {
|
|
300
|
-
readonly __hash: true;
|
|
301
|
-
}> | undefined;
|
|
229
|
+
_hash?: import("@xylabs/hex").Hash | undefined;
|
|
230
|
+
_dataHash?: import("@xylabs/hex").Hash | undefined;
|
|
302
231
|
_sequence?: import("@xyo-network/payload-model").LocalSequence | import("@xyo-network/payload-model").QualifiedSequence | undefined;
|
|
303
232
|
script?: string[] | undefined;
|
|
304
233
|
}, {
|
|
305
|
-
|
|
306
|
-
|
|
234
|
+
schema: string | (string & {
|
|
235
|
+
__schema: true;
|
|
236
|
+
});
|
|
307
237
|
}[]]>>;
|
|
308
238
|
//# sourceMappingURL=HydratedTransaction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HydratedTransaction.d.ts","sourceRoot":"","sources":["../../../../../src/types/schema/common/HydratedTransaction.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"HydratedTransaction.d.ts","sourceRoot":"","sources":["../../../../../src/types/schema/common/HydratedTransaction.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAIxB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAGjC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAGzC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAGvC,CAAA;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAM5C,CAAA;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAM5C,CAAA"}
|