@xyo-network/xl1-schema 1.18.0 → 1.18.2
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 +51 -226
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +12 -12
package/dist/neutral/index.mjs
CHANGED
|
@@ -9,48 +9,24 @@ var BlockBoundWitnessJsonSchema = {
|
|
|
9
9
|
$id: "https://schemas.xyo.network/2.0/block",
|
|
10
10
|
properties: {
|
|
11
11
|
...boundWitnessProperties,
|
|
12
|
-
block: {
|
|
13
|
-
|
|
14
|
-
},
|
|
15
|
-
chain: {
|
|
16
|
-
type: "string",
|
|
17
|
-
pattern: AddressRegEx.source
|
|
18
|
-
},
|
|
12
|
+
block: { type: "integer" },
|
|
13
|
+
chain: { type: "string", pattern: AddressRegEx.source },
|
|
19
14
|
previous: {
|
|
20
15
|
type: "string",
|
|
21
16
|
pattern: HashRegEx.source,
|
|
22
17
|
nullable: true
|
|
23
18
|
},
|
|
24
19
|
step_hashes: {
|
|
25
|
-
items: {
|
|
26
|
-
type: "string",
|
|
27
|
-
pattern: HashRegEx.source
|
|
28
|
-
},
|
|
20
|
+
items: { type: "string", pattern: HashRegEx.source },
|
|
29
21
|
type: "array"
|
|
30
22
|
},
|
|
31
|
-
$epoch: {
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
schema: {
|
|
35
|
-
type: "string",
|
|
36
|
-
pattern: BoundWitnessSchema
|
|
37
|
-
}
|
|
23
|
+
$epoch: { type: "integer" },
|
|
24
|
+
schema: { type: "string", pattern: BoundWitnessSchema }
|
|
38
25
|
},
|
|
39
|
-
required: [
|
|
40
|
-
...boundWitnessJsonSchema.required,
|
|
41
|
-
"block",
|
|
42
|
-
"chain",
|
|
43
|
-
"step_hashes",
|
|
44
|
-
"previous",
|
|
45
|
-
"$epoch"
|
|
46
|
-
],
|
|
26
|
+
required: [...boundWitnessJsonSchema.required, "block", "chain", "step_hashes", "previous", "$epoch"],
|
|
47
27
|
type: "object"
|
|
48
28
|
};
|
|
49
|
-
var BlockBoundWitnessSchemaPayload = new PayloadBuilder({
|
|
50
|
-
schema: SchemaSchema
|
|
51
|
-
}).fields({
|
|
52
|
-
definition: BlockBoundWitnessJsonSchema
|
|
53
|
-
}).build();
|
|
29
|
+
var BlockBoundWitnessSchemaPayload = new PayloadBuilder({ schema: SchemaSchema }).fields({ definition: BlockBoundWitnessJsonSchema }).build();
|
|
54
30
|
|
|
55
31
|
// src/boundwitness/BlockBoundWitnessWithStorageMeta.ts
|
|
56
32
|
import { BoundWitnessSchema as BoundWitnessSchema2 } from "@xyo-network/boundwitness-model";
|
|
@@ -63,24 +39,11 @@ import { HashRegEx as HashRegEx2, HexRegEx } from "@xylabs/sdk-js";
|
|
|
63
39
|
var StorageMetaJsonSchema = {
|
|
64
40
|
$id: "https://schemas.xyo.network/2.0/storage-meta",
|
|
65
41
|
properties: {
|
|
66
|
-
_sequence: {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
},
|
|
70
|
-
_hash: {
|
|
71
|
-
type: "string",
|
|
72
|
-
pattern: HashRegEx2.source
|
|
73
|
-
},
|
|
74
|
-
_dataHash: {
|
|
75
|
-
type: "string",
|
|
76
|
-
pattern: HashRegEx2.source
|
|
77
|
-
}
|
|
42
|
+
_sequence: { type: "string", pattern: HexRegEx.source },
|
|
43
|
+
_hash: { type: "string", pattern: HashRegEx2.source },
|
|
44
|
+
_dataHash: { type: "string", pattern: HashRegEx2.source }
|
|
78
45
|
},
|
|
79
|
-
required: [
|
|
80
|
-
"_sequence",
|
|
81
|
-
"_hash",
|
|
82
|
-
"_dataHash"
|
|
83
|
-
],
|
|
46
|
+
required: ["_sequence", "_hash", "_dataHash"],
|
|
84
47
|
type: "object"
|
|
85
48
|
};
|
|
86
49
|
|
|
@@ -91,25 +54,12 @@ var BlockBoundWitnessWithStorageMetaJsonSchema = {
|
|
|
91
54
|
...boundWitnessProperties2,
|
|
92
55
|
...BlockBoundWitnessJsonSchema.properties,
|
|
93
56
|
...StorageMetaJsonSchema.properties,
|
|
94
|
-
schema: {
|
|
95
|
-
type: "string",
|
|
96
|
-
pattern: BoundWitnessSchema2
|
|
97
|
-
}
|
|
57
|
+
schema: { type: "string", pattern: BoundWitnessSchema2 }
|
|
98
58
|
},
|
|
99
|
-
required: [
|
|
100
|
-
.../* @__PURE__ */ new Set([
|
|
101
|
-
...boundWitnessJsonSchema2.required,
|
|
102
|
-
...BlockBoundWitnessJsonSchema.required,
|
|
103
|
-
...StorageMetaJsonSchema.required
|
|
104
|
-
])
|
|
105
|
-
],
|
|
59
|
+
required: [.../* @__PURE__ */ new Set([...boundWitnessJsonSchema2.required, ...BlockBoundWitnessJsonSchema.required, ...StorageMetaJsonSchema.required])],
|
|
106
60
|
type: "object"
|
|
107
61
|
};
|
|
108
|
-
var BlockBoundWitnessWithStorageMetaSchemaPayload = new PayloadBuilder2({
|
|
109
|
-
schema: SchemaSchema2
|
|
110
|
-
}).fields({
|
|
111
|
-
definition: BlockBoundWitnessWithStorageMetaJsonSchema
|
|
112
|
-
}).build();
|
|
62
|
+
var BlockBoundWitnessWithStorageMetaSchemaPayload = new PayloadBuilder2({ schema: SchemaSchema2 }).fields({ definition: BlockBoundWitnessWithStorageMetaJsonSchema }).build();
|
|
113
63
|
|
|
114
64
|
// src/boundwitness/TransactionBoundWitness.ts
|
|
115
65
|
import { AddressRegEx as AddressRegEx2 } from "@xylabs/sdk-js";
|
|
@@ -123,18 +73,8 @@ import { SchemaSchema as SchemaSchema3 } from "@xyo-network/schema-payload-plugi
|
|
|
123
73
|
var ExecutableJsonSchema = {
|
|
124
74
|
$id: "https://schemas.xyo.network/2.0/executable",
|
|
125
75
|
additionalProperties: true,
|
|
126
|
-
properties: {
|
|
127
|
-
|
|
128
|
-
items: {
|
|
129
|
-
type: "string",
|
|
130
|
-
pattern: String.raw`^elevate\|`
|
|
131
|
-
},
|
|
132
|
-
type: "array"
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
required: [
|
|
136
|
-
"script"
|
|
137
|
-
],
|
|
76
|
+
properties: { script: { items: { type: "string", pattern: String.raw`^elevate\|` }, type: "array" } },
|
|
77
|
+
required: ["script"],
|
|
138
78
|
type: "object"
|
|
139
79
|
};
|
|
140
80
|
|
|
@@ -146,64 +86,27 @@ var TransactionBoundWitnessJsonSchema = {
|
|
|
146
86
|
properties: {
|
|
147
87
|
...boundWitnessJsonSchema3.properties,
|
|
148
88
|
...ExecutableJsonSchema.properties,
|
|
149
|
-
chain: {
|
|
150
|
-
type: "string",
|
|
151
|
-
pattern: AddressRegEx2.source
|
|
152
|
-
},
|
|
89
|
+
chain: { type: "string", pattern: AddressRegEx2.source },
|
|
153
90
|
fees: {
|
|
154
91
|
type: "object",
|
|
155
92
|
properties: {
|
|
156
|
-
base: {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
}
|
|
160
|
-
gasLimit: {
|
|
161
|
-
type: "string",
|
|
162
|
-
pattern: Uint256RegEx.source
|
|
163
|
-
},
|
|
164
|
-
gasPrice: {
|
|
165
|
-
type: "string",
|
|
166
|
-
pattern: Uint256RegEx.source
|
|
167
|
-
},
|
|
168
|
-
priority: {
|
|
169
|
-
type: "string",
|
|
170
|
-
pattern: Uint256RegEx.source
|
|
171
|
-
}
|
|
93
|
+
base: { type: "string", pattern: Uint256RegEx.source },
|
|
94
|
+
gasLimit: { type: "string", pattern: Uint256RegEx.source },
|
|
95
|
+
gasPrice: { type: "string", pattern: Uint256RegEx.source },
|
|
96
|
+
priority: { type: "string", pattern: Uint256RegEx.source }
|
|
172
97
|
},
|
|
173
|
-
required: [
|
|
174
|
-
"base"
|
|
175
|
-
],
|
|
98
|
+
required: ["base"],
|
|
176
99
|
additionalProperties: false
|
|
177
100
|
},
|
|
178
|
-
from: {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
nbf: {
|
|
183
|
-
type: "integer"
|
|
184
|
-
},
|
|
185
|
-
exp: {
|
|
186
|
-
type: "integer"
|
|
187
|
-
},
|
|
188
|
-
schema: {
|
|
189
|
-
type: "string",
|
|
190
|
-
pattern: BoundWitnessSchema3
|
|
191
|
-
}
|
|
101
|
+
from: { type: "string", pattern: AddressRegEx2.source },
|
|
102
|
+
nbf: { type: "integer" },
|
|
103
|
+
exp: { type: "integer" },
|
|
104
|
+
schema: { type: "string", pattern: BoundWitnessSchema3 }
|
|
192
105
|
},
|
|
193
|
-
required: [
|
|
194
|
-
...boundWitnessJsonSchema3.required,
|
|
195
|
-
"chain",
|
|
196
|
-
"fees",
|
|
197
|
-
"nbf",
|
|
198
|
-
"exp"
|
|
199
|
-
],
|
|
106
|
+
required: [...boundWitnessJsonSchema3.required, "chain", "fees", "nbf", "exp"],
|
|
200
107
|
type: "object"
|
|
201
108
|
};
|
|
202
|
-
var TransactionBoundWitnessSchemaPayload = new PayloadBuilder3({
|
|
203
|
-
schema: SchemaSchema3
|
|
204
|
-
}).fields({
|
|
205
|
-
definition: TransactionBoundWitnessJsonSchema
|
|
206
|
-
}).build();
|
|
109
|
+
var TransactionBoundWitnessSchemaPayload = new PayloadBuilder3({ schema: SchemaSchema3 }).fields({ definition: TransactionBoundWitnessJsonSchema }).build();
|
|
207
110
|
|
|
208
111
|
// src/boundwitness/TransactionBoundWitnessWithStorageMeta.ts
|
|
209
112
|
import { AddressRegEx as AddressRegEx3 } from "@xylabs/sdk-js";
|
|
@@ -219,40 +122,16 @@ var TransactionBoundWitnessWithStorageMetaJsonSchema = {
|
|
|
219
122
|
properties: {
|
|
220
123
|
...boundWitnessJsonSchema4.properties,
|
|
221
124
|
...StorageMetaJsonSchema.properties,
|
|
222
|
-
chain: {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
},
|
|
226
|
-
|
|
227
|
-
type: "string",
|
|
228
|
-
pattern: Uint256RegEx2.source
|
|
229
|
-
},
|
|
230
|
-
nbf: {
|
|
231
|
-
type: "integer"
|
|
232
|
-
},
|
|
233
|
-
exp: {
|
|
234
|
-
type: "integer"
|
|
235
|
-
},
|
|
236
|
-
schema: {
|
|
237
|
-
type: "string",
|
|
238
|
-
pattern: BoundWitnessSchema4
|
|
239
|
-
}
|
|
125
|
+
chain: { type: "string", pattern: AddressRegEx3.source },
|
|
126
|
+
gas: { type: "string", pattern: Uint256RegEx2.source },
|
|
127
|
+
nbf: { type: "integer" },
|
|
128
|
+
exp: { type: "integer" },
|
|
129
|
+
schema: { type: "string", pattern: BoundWitnessSchema4 }
|
|
240
130
|
},
|
|
241
|
-
required: [
|
|
242
|
-
...boundWitnessJsonSchema4.required,
|
|
243
|
-
...StorageMetaJsonSchema.required,
|
|
244
|
-
"chain",
|
|
245
|
-
"gas",
|
|
246
|
-
"nbf",
|
|
247
|
-
"exp"
|
|
248
|
-
],
|
|
131
|
+
required: [...boundWitnessJsonSchema4.required, ...StorageMetaJsonSchema.required, "chain", "gas", "nbf", "exp"],
|
|
249
132
|
type: "object"
|
|
250
133
|
};
|
|
251
|
-
var TransactionBoundWitnessWithStorageMetaSchemaPayload = new PayloadBuilder4({
|
|
252
|
-
schema: SchemaSchema4
|
|
253
|
-
}).fields({
|
|
254
|
-
definition: TransactionBoundWitnessWithStorageMetaJsonSchema
|
|
255
|
-
}).build();
|
|
134
|
+
var TransactionBoundWitnessWithStorageMetaSchemaPayload = new PayloadBuilder4({ schema: SchemaSchema4 }).fields({ definition: TransactionBoundWitnessWithStorageMetaJsonSchema }).build();
|
|
256
135
|
|
|
257
136
|
// src/payload/ChainStakeIntent.ts
|
|
258
137
|
import { AddressRegEx as AddressRegEx4 } from "@xylabs/sdk-js";
|
|
@@ -266,32 +145,14 @@ var ChainStakeIntentPayloadJsonSchema = {
|
|
|
266
145
|
additionalProperties: false,
|
|
267
146
|
properties: {
|
|
268
147
|
...payloadJsonSchema.properties,
|
|
269
|
-
from: {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
},
|
|
273
|
-
intent: {
|
|
274
|
-
type: "string",
|
|
275
|
-
enum: [
|
|
276
|
-
"producer"
|
|
277
|
-
]
|
|
278
|
-
},
|
|
279
|
-
schema: {
|
|
280
|
-
type: "string",
|
|
281
|
-
pattern: ChainStakeIntentSchema
|
|
282
|
-
}
|
|
148
|
+
from: { type: "string", pattern: AddressRegEx4.source },
|
|
149
|
+
intent: { type: "string", enum: ["producer"] },
|
|
150
|
+
schema: { type: "string", pattern: ChainStakeIntentSchema }
|
|
283
151
|
},
|
|
284
|
-
required: [
|
|
285
|
-
...payloadJsonSchema.required,
|
|
286
|
-
"intent"
|
|
287
|
-
],
|
|
152
|
+
required: [...payloadJsonSchema.required, "intent"],
|
|
288
153
|
type: "object"
|
|
289
154
|
};
|
|
290
|
-
var ChainStakeIntentPayloadJsonSchemaPayload = new PayloadBuilder5({
|
|
291
|
-
schema: SchemaSchema5
|
|
292
|
-
}).fields({
|
|
293
|
-
definition: ChainStakeIntentPayloadJsonSchema
|
|
294
|
-
}).build();
|
|
155
|
+
var ChainStakeIntentPayloadJsonSchemaPayload = new PayloadBuilder5({ schema: SchemaSchema5 }).fields({ definition: ChainStakeIntentPayloadJsonSchema }).build();
|
|
295
156
|
|
|
296
157
|
// src/payload/HashPayload.ts
|
|
297
158
|
import { HashRegEx as HashRegEx3 } from "@xylabs/sdk-js";
|
|
@@ -305,26 +166,13 @@ var HashPayloadJsonSchema = {
|
|
|
305
166
|
additionalProperties: false,
|
|
306
167
|
properties: {
|
|
307
168
|
...payloadJsonSchema2.properties,
|
|
308
|
-
hash: {
|
|
309
|
-
|
|
310
|
-
pattern: HashRegEx3.source
|
|
311
|
-
},
|
|
312
|
-
schema: {
|
|
313
|
-
type: "string",
|
|
314
|
-
pattern: HashSchema
|
|
315
|
-
}
|
|
169
|
+
hash: { type: "string", pattern: HashRegEx3.source },
|
|
170
|
+
schema: { type: "string", pattern: HashSchema }
|
|
316
171
|
},
|
|
317
|
-
required: [
|
|
318
|
-
...payloadJsonSchema2.required,
|
|
319
|
-
"hash"
|
|
320
|
-
],
|
|
172
|
+
required: [...payloadJsonSchema2.required, "hash"],
|
|
321
173
|
type: "object"
|
|
322
174
|
};
|
|
323
|
-
var HashPayloadJsonSchemaPayload = new PayloadBuilder6({
|
|
324
|
-
schema: SchemaSchema6
|
|
325
|
-
}).fields({
|
|
326
|
-
definition: HashPayloadJsonSchema
|
|
327
|
-
}).build();
|
|
175
|
+
var HashPayloadJsonSchemaPayload = new PayloadBuilder6({ schema: SchemaSchema6 }).fields({ definition: HashPayloadJsonSchema }).build();
|
|
328
176
|
|
|
329
177
|
// src/payload/TransferPayload.ts
|
|
330
178
|
import { AddressRegEx as AddressRegEx5 } from "@xylabs/sdk-js";
|
|
@@ -338,42 +186,19 @@ var TransferPayloadJsonSchema = {
|
|
|
338
186
|
additionalProperties: false,
|
|
339
187
|
properties: {
|
|
340
188
|
...payloadJsonSchema3.properties,
|
|
341
|
-
from: {
|
|
342
|
-
|
|
343
|
-
pattern: AddressRegEx5.source
|
|
344
|
-
},
|
|
345
|
-
epoch: {
|
|
346
|
-
type: "number"
|
|
347
|
-
},
|
|
189
|
+
from: { type: "string", pattern: AddressRegEx5.source },
|
|
190
|
+
epoch: { type: "number" },
|
|
348
191
|
transfers: {
|
|
349
192
|
type: "object",
|
|
350
|
-
propertyNames: {
|
|
351
|
-
|
|
352
|
-
},
|
|
353
|
-
patternProperties: {
|
|
354
|
-
[AddressRegEx5.source]: {
|
|
355
|
-
type: "string",
|
|
356
|
-
pattern: Uint256RegEx3.source
|
|
357
|
-
}
|
|
358
|
-
}
|
|
193
|
+
propertyNames: { pattern: AddressRegEx5.source },
|
|
194
|
+
patternProperties: { [AddressRegEx5.source]: { type: "string", pattern: Uint256RegEx3.source } }
|
|
359
195
|
},
|
|
360
|
-
schema: {
|
|
361
|
-
type: "string",
|
|
362
|
-
pattern: TransferSchema
|
|
363
|
-
}
|
|
196
|
+
schema: { type: "string", pattern: TransferSchema }
|
|
364
197
|
},
|
|
365
|
-
required: [
|
|
366
|
-
...payloadJsonSchema3.required,
|
|
367
|
-
"transfers",
|
|
368
|
-
"epoch"
|
|
369
|
-
],
|
|
198
|
+
required: [...payloadJsonSchema3.required, "transfers", "epoch"],
|
|
370
199
|
type: "object"
|
|
371
200
|
};
|
|
372
|
-
var TransferPayloadJsonSchemaPayload = new PayloadBuilder7({
|
|
373
|
-
schema: SchemaSchema7
|
|
374
|
-
}).fields({
|
|
375
|
-
definition: TransferPayloadJsonSchema
|
|
376
|
-
}).build();
|
|
201
|
+
var TransferPayloadJsonSchemaPayload = new PayloadBuilder7({ schema: SchemaSchema7 }).fields({ definition: TransferPayloadJsonSchema }).build();
|
|
377
202
|
export {
|
|
378
203
|
BlockBoundWitnessJsonSchema,
|
|
379
204
|
BlockBoundWitnessSchemaPayload,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/boundwitness/BlockBoundWitness.ts","../../src/boundwitness/BlockBoundWitnessWithStorageMeta.ts","../../src/StorageMeta.ts","../../src/boundwitness/TransactionBoundWitness.ts","../../src/Executable.ts","../../src/boundwitness/TransactionBoundWitnessWithStorageMeta.ts","../../src/payload/ChainStakeIntent.ts","../../src/payload/HashPayload.ts","../../src/payload/TransferPayload.ts"],"sourcesContent":["import { AddressRegEx, HashRegEx } from '@xylabs/sdk-js'\nimport { BoundWitnessSchema } from '@xyo-network/boundwitness-model'\nimport { boundWitnessJsonSchema, boundWitnessProperties } from '@xyo-network/boundwitness-wrapper'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport type { BlockBoundWitness } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nexport const BlockBoundWitnessJsonSchema: JSONSchemaType<BlockBoundWitness> = {\n ...boundWitnessJsonSchema,\n $id: 'https://schemas.xyo.network/2.0/block',\n properties: {\n ...boundWitnessProperties,\n block: { type: 'integer' },\n chain: { type: 'string', pattern: AddressRegEx.source },\n previous: {\n type: 'string', pattern: HashRegEx.source, nullable: true,\n },\n step_hashes: {\n items: { type: 'string', pattern: HashRegEx.source },\n type: 'array',\n },\n $epoch: { type: 'integer' },\n schema: { type: 'string', pattern: BoundWitnessSchema },\n },\n required: [...boundWitnessJsonSchema.required, 'block', 'chain', 'step_hashes', 'previous', '$epoch'],\n type: 'object',\n} as const\n\nexport const BlockBoundWitnessSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: BlockBoundWitnessJsonSchema }).build()\n","import { BoundWitnessSchema } from '@xyo-network/boundwitness-model'\nimport { boundWitnessJsonSchema, boundWitnessProperties } from '@xyo-network/boundwitness-wrapper'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport type { WithStorageMeta } from '@xyo-network/payload-model'\nimport type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport type { BlockBoundWitness } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { StorageMetaJsonSchema } from '../StorageMeta.ts'\nimport { BlockBoundWitnessJsonSchema } from './BlockBoundWitness.ts'\n\nexport const BlockBoundWitnessWithStorageMetaJsonSchema: JSONSchemaType<WithStorageMeta<BlockBoundWitness>> = {\n $id: 'https://schemas.xyo.network/2.0/block-with-storage-meta',\n properties: {\n ...boundWitnessProperties,\n ...BlockBoundWitnessJsonSchema.properties,\n ...StorageMetaJsonSchema.properties,\n schema: { type: 'string', pattern: BoundWitnessSchema },\n },\n required: [...new Set([...boundWitnessJsonSchema.required, ...BlockBoundWitnessJsonSchema.required, ...StorageMetaJsonSchema.required])],\n type: 'object',\n} as const\n\nexport const BlockBoundWitnessWithStorageMetaSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: BlockBoundWitnessWithStorageMetaJsonSchema }).build()\n","import { HashRegEx, HexRegEx } from '@xylabs/sdk-js'\nimport type { StorageMeta } from '@xyo-network/payload-model'\nimport type { JSONSchemaType } from 'ajv'\n\nexport const StorageMetaJsonSchema: JSONSchemaType<StorageMeta> = {\n $id: 'https://schemas.xyo.network/2.0/storage-meta',\n properties: {\n _sequence: { type: 'string', pattern: HexRegEx.source },\n _hash: { type: 'string', pattern: HashRegEx.source },\n _dataHash: { type: 'string', pattern: HashRegEx.source },\n },\n required: ['_sequence', '_hash', '_dataHash'],\n type: 'object',\n} as const\n","import { AddressRegEx } from '@xylabs/sdk-js'\nimport { BoundWitnessSchema } from '@xyo-network/boundwitness-model'\nimport { boundWitnessJsonSchema } from '@xyo-network/boundwitness-wrapper'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport { Uint256RegEx } from '@xyo-network/payload-wrapper'\nimport type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport type { TransactionBoundWitness } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { ExecutableJsonSchema } from '../Executable.ts'\n\nexport const TransactionBoundWitnessJsonSchema: JSONSchemaType<TransactionBoundWitness> = {\n ...boundWitnessJsonSchema,\n $id: 'https://schemas.xyo.network/2.0/transaction',\n additionalProperties: false,\n properties: {\n ...boundWitnessJsonSchema.properties,\n ...ExecutableJsonSchema.properties,\n chain: { type: 'string', pattern: AddressRegEx.source },\n fees: {\n type: 'object',\n properties: {\n base: { type: 'string', pattern: Uint256RegEx.source },\n gasLimit: { type: 'string', pattern: Uint256RegEx.source },\n gasPrice: { type: 'string', pattern: Uint256RegEx.source },\n priority: { type: 'string', pattern: Uint256RegEx.source },\n },\n required: ['base'],\n additionalProperties: false,\n },\n from: { type: 'string', pattern: AddressRegEx.source },\n nbf: { type: 'integer' },\n exp: { type: 'integer' },\n schema: { type: 'string', pattern: BoundWitnessSchema },\n },\n required: [...boundWitnessJsonSchema.required, 'chain', 'fees', 'nbf', 'exp'],\n type: 'object',\n} as const\n\nexport const TransactionBoundWitnessSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: TransactionBoundWitnessJsonSchema }).build()\n","import type { Executable } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nexport const ExecutableJsonSchema: JSONSchemaType<Executable> = {\n $id: 'https://schemas.xyo.network/2.0/executable',\n additionalProperties: true,\n properties: { script: { items: { type: 'string', pattern: String.raw`^elevate\\|` }, type: 'array' } },\n required: ['script'],\n type: 'object',\n} as const\n","import { AddressRegEx } from '@xylabs/sdk-js'\nimport { BoundWitnessSchema } from '@xyo-network/boundwitness-model'\nimport { boundWitnessJsonSchema } from '@xyo-network/boundwitness-wrapper'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport { Uint256RegEx } from '@xyo-network/payload-wrapper'\nimport type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport type { TransactionBoundWitness } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { StorageMetaJsonSchema } from '../StorageMeta.ts'\n\nexport const TransactionBoundWitnessWithStorageMetaJsonSchema: JSONSchemaType<TransactionBoundWitness> = {\n ...boundWitnessJsonSchema,\n $id: 'https://schemas.xyo.network/2.0/transaction-with-storage-meta',\n additionalProperties: false,\n properties: {\n ...boundWitnessJsonSchema.properties,\n ...StorageMetaJsonSchema.properties,\n chain: { type: 'string', pattern: AddressRegEx.source },\n gas: { type: 'string', pattern: Uint256RegEx.source },\n nbf: { type: 'integer' },\n exp: { type: 'integer' },\n schema: { type: 'string', pattern: BoundWitnessSchema },\n },\n required: [...boundWitnessJsonSchema.required, ...StorageMetaJsonSchema.required, 'chain', 'gas', 'nbf', 'exp'],\n type: 'object',\n} as const\n\nexport const TransactionBoundWitnessWithStorageMetaSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: TransactionBoundWitnessWithStorageMetaJsonSchema }).build()\n","import { AddressRegEx } from '@xylabs/sdk-js'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport { payloadJsonSchema } from '@xyo-network/payload-wrapper'\nimport type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport type { ChainStakeIntent } from '@xyo-network/xl1-protocol'\nimport { ChainStakeIntentSchema } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nexport const ChainStakeIntentPayloadJsonSchema: JSONSchemaType<ChainStakeIntent> = {\n ...payloadJsonSchema,\n $id: 'https://schemas.xyo.network/2.0/payload/chain-stake-intent',\n additionalProperties: false,\n properties: {\n ...payloadJsonSchema.properties,\n from: { type: 'string', pattern: AddressRegEx.source },\n intent: { type: 'string', enum: ['producer'] },\n schema: { type: 'string', pattern: ChainStakeIntentSchema },\n },\n required: [...payloadJsonSchema.required, 'intent'],\n type: 'object',\n}\n\nexport const ChainStakeIntentPayloadJsonSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: ChainStakeIntentPayloadJsonSchema }).build()\n","import { HashRegEx } from '@xylabs/sdk-js'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport { payloadJsonSchema } from '@xyo-network/payload-wrapper'\nimport type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport type { HashPayload } from '@xyo-network/xl1-protocol'\nimport { HashSchema } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nexport const HashPayloadJsonSchema: JSONSchemaType<HashPayload> = {\n ...payloadJsonSchema,\n $id: 'https://schemas.xyo.network/2.0/payload/hash',\n additionalProperties: false,\n properties: {\n ...payloadJsonSchema.properties,\n hash: { type: 'string', pattern: HashRegEx.source },\n schema: { type: 'string', pattern: HashSchema },\n },\n required: [...payloadJsonSchema.required, 'hash'],\n type: 'object',\n}\n\nexport const HashPayloadJsonSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: HashPayloadJsonSchema }).build()\n","import { AddressRegEx } from '@xylabs/sdk-js'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport { payloadJsonSchema, Uint256RegEx } from '@xyo-network/payload-wrapper'\nimport type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport type { Transfer } from '@xyo-network/xl1-protocol'\nimport { TransferSchema } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nexport const TransferPayloadJsonSchema: JSONSchemaType<Transfer> = {\n ...payloadJsonSchema,\n $id: 'https://schemas.xyo.network/2.0/payload/transfer',\n additionalProperties: false,\n properties: {\n ...payloadJsonSchema.properties,\n from: { type: 'string', pattern: AddressRegEx.source },\n epoch: { type: 'number' },\n transfers: {\n type: 'object',\n propertyNames: { pattern: AddressRegEx.source },\n patternProperties: { [AddressRegEx.source]: { type: 'string', pattern: Uint256RegEx.source } },\n },\n schema: { type: 'string', pattern: TransferSchema },\n },\n required: [...payloadJsonSchema.required, 'transfers', 'epoch'],\n type: 'object',\n}\n\nexport const TransferPayloadJsonSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: TransferPayloadJsonSchema }).build()\n"],"mappings":";AAAA,SAASA,cAAcC,iBAAiB;AACxC,SAASC,0BAA0B;AACnC,SAASC,wBAAwBC,8BAA8B;AAC/D,SAASC,sBAAsB;AAE/B,SAASC,oBAAoB;AAItB,IAAMC,8BAAiE;EAC5E,GAAGJ;EACHK,KAAK;EACLC,YAAY;IACV,GAAGL;IACHM,OAAO;MAAEC,MAAM;IAAU;IACzBC,OAAO;MAAED,MAAM;MAAUE,SAASb,aAAac;IAAO;IACtDC,UAAU;MACRJ,MAAM;MAAUE,SAASZ,UAAUa;MAAQE,UAAU;IACvD;IACAC,aAAa;MACXC,OAAO;QAAEP,MAAM;QAAUE,S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EAAEC,YAAYhB;AAA0B,CAAA,EAAGiB,MAAK;","names":["AddressRegEx","HashRegEx","BoundWitnessSchema","boundWitnessJsonSchema","boundWitnessProperties","PayloadBuilder","SchemaSchema","BlockBoundWitnessJsonSchema","$id","properties","block","type","chain","pattern","source","previous","nullable","step_hashes","items","$epoch","schema","required","BlockBoundWitnessSchemaPayload","fields","definition","build","BoundWitnessSchema","boundWitnessJsonSchema","boundWitnessProperties","PayloadBuilder","SchemaSchema","HashRegEx","HexRegEx","StorageMetaJsonSchema","$id","properties","_sequence","type","pattern","source","_hash","_dataHash","required","BlockBoundWitnessWithStorageMetaJsonSchema","$id","properties","boundWitnessProperties","BlockBoundWitnessJsonSchema","StorageMetaJsonSchema","schema","type","pattern","BoundWitnessSchema","required","Set","boundWitnessJsonSchema","BlockBoundWitnessWithStorageMetaSchemaPayload","PayloadBuilder","SchemaSchema","fields","definition","build","AddressRegEx","BoundWitnessSchema","boundWitnessJsonSchema","PayloadBuilder","Uint256RegEx","SchemaSchema","ExecutableJsonSchema","$id","additionalProperties","properties","script","items","type","pattern","String","raw","required","TransactionBoundWitnessJsonSchema","boundWitnessJsonSchema","$id","additionalProperties","properties","ExecutableJsonSchema","chain","type","pattern","AddressRegEx","source","fees","base","Uint256RegEx","gasLimit","gasPrice","priority","required","from","nbf","exp","schema","BoundWitnessSchema","TransactionBoundWitnessSchemaPayload","PayloadBuilder","SchemaSchema","fields","definition","build","AddressRegEx","BoundWitnessSchema","boundWitnessJsonSchema","PayloadBuilder","Uint256RegEx","SchemaSchema","TransactionBoundWitnessWithStorageMetaJsonSchema","boundWitnessJsonSchema","$id","additionalProperties","properties","StorageMetaJsonSchema","chain","type","pattern","AddressRegEx","source","gas","Uint256RegEx","nbf","exp","schema","BoundWitnessSchema","required","TransactionBoundWitnessWithStorageMetaSchemaPayload","PayloadBuilder","SchemaSchema","fields","definition","build","AddressRegEx","PayloadBuilder","payloadJsonSchema","SchemaSchema","ChainStakeIntentSchema","ChainStakeIntentPayloadJsonSchema","$id","additionalProperties","properties","from","type","pattern","source","intent","enum","schema","required","ChainStakeIntentPayloadJsonSchemaPayload","fields","definition","build","HashRegEx","PayloadBuilder","payloadJsonSchema","SchemaSchema","HashSchema","HashPayloadJsonSchema","$id","additionalProperties","properties","hash","type","pattern","source","schema","required","HashPayloadJsonSchemaPayload","fields","definition","build","AddressRegEx","PayloadBuilder","payloadJsonSchema","Uint256RegEx","SchemaSchema","TransferSchema","TransferPayloadJsonSchema","$id","additionalProperties","properties","from","type","pattern","source","epoch","transfers","propertyNames","patternProperties","schema","required","TransferPayloadJsonSchemaPayload","fields","definition","build"]}
|
|
1
|
+
{"version":3,"sources":["../../src/boundwitness/BlockBoundWitness.ts","../../src/boundwitness/BlockBoundWitnessWithStorageMeta.ts","../../src/StorageMeta.ts","../../src/boundwitness/TransactionBoundWitness.ts","../../src/Executable.ts","../../src/boundwitness/TransactionBoundWitnessWithStorageMeta.ts","../../src/payload/ChainStakeIntent.ts","../../src/payload/HashPayload.ts","../../src/payload/TransferPayload.ts"],"sourcesContent":["import { AddressRegEx, HashRegEx } from '@xylabs/sdk-js'\nimport { BoundWitnessSchema } from '@xyo-network/boundwitness-model'\nimport { boundWitnessJsonSchema, boundWitnessProperties } from '@xyo-network/boundwitness-wrapper'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport type { BlockBoundWitness } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nexport const BlockBoundWitnessJsonSchema: JSONSchemaType<BlockBoundWitness> = {\n ...boundWitnessJsonSchema,\n $id: 'https://schemas.xyo.network/2.0/block',\n properties: {\n ...boundWitnessProperties,\n block: { type: 'integer' },\n chain: { type: 'string', pattern: AddressRegEx.source },\n previous: {\n type: 'string', pattern: HashRegEx.source, nullable: true,\n },\n step_hashes: {\n items: { type: 'string', pattern: HashRegEx.source },\n type: 'array',\n },\n $epoch: { type: 'integer' },\n schema: { type: 'string', pattern: BoundWitnessSchema },\n },\n required: [...boundWitnessJsonSchema.required, 'block', 'chain', 'step_hashes', 'previous', '$epoch'],\n type: 'object',\n} as const\n\nexport const BlockBoundWitnessSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: BlockBoundWitnessJsonSchema }).build()\n","import { BoundWitnessSchema } from '@xyo-network/boundwitness-model'\nimport { boundWitnessJsonSchema, boundWitnessProperties } from '@xyo-network/boundwitness-wrapper'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport type { WithStorageMeta } from '@xyo-network/payload-model'\nimport type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport type { BlockBoundWitness } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { StorageMetaJsonSchema } from '../StorageMeta.ts'\nimport { BlockBoundWitnessJsonSchema } from './BlockBoundWitness.ts'\n\nexport const BlockBoundWitnessWithStorageMetaJsonSchema: JSONSchemaType<WithStorageMeta<BlockBoundWitness>> = {\n $id: 'https://schemas.xyo.network/2.0/block-with-storage-meta',\n properties: {\n ...boundWitnessProperties,\n ...BlockBoundWitnessJsonSchema.properties,\n ...StorageMetaJsonSchema.properties,\n schema: { type: 'string', pattern: BoundWitnessSchema },\n },\n required: [...new Set([...boundWitnessJsonSchema.required, ...BlockBoundWitnessJsonSchema.required, ...StorageMetaJsonSchema.required])],\n type: 'object',\n} as const\n\nexport const BlockBoundWitnessWithStorageMetaSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: BlockBoundWitnessWithStorageMetaJsonSchema }).build()\n","import { HashRegEx, HexRegEx } from '@xylabs/sdk-js'\nimport type { StorageMeta } from '@xyo-network/payload-model'\nimport type { JSONSchemaType } from 'ajv'\n\nexport const StorageMetaJsonSchema: JSONSchemaType<StorageMeta> = {\n $id: 'https://schemas.xyo.network/2.0/storage-meta',\n properties: {\n _sequence: { type: 'string', pattern: HexRegEx.source },\n _hash: { type: 'string', pattern: HashRegEx.source },\n _dataHash: { type: 'string', pattern: HashRegEx.source },\n },\n required: ['_sequence', '_hash', '_dataHash'],\n type: 'object',\n} as const\n","import { AddressRegEx } from '@xylabs/sdk-js'\nimport { BoundWitnessSchema } from '@xyo-network/boundwitness-model'\nimport { boundWitnessJsonSchema } from '@xyo-network/boundwitness-wrapper'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport { Uint256RegEx } from '@xyo-network/payload-wrapper'\nimport type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport type { TransactionBoundWitness } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { ExecutableJsonSchema } from '../Executable.ts'\n\nexport const TransactionBoundWitnessJsonSchema: JSONSchemaType<TransactionBoundWitness> = {\n ...boundWitnessJsonSchema,\n $id: 'https://schemas.xyo.network/2.0/transaction',\n additionalProperties: false,\n properties: {\n ...boundWitnessJsonSchema.properties,\n ...ExecutableJsonSchema.properties,\n chain: { type: 'string', pattern: AddressRegEx.source },\n fees: {\n type: 'object',\n properties: {\n base: { type: 'string', pattern: Uint256RegEx.source },\n gasLimit: { type: 'string', pattern: Uint256RegEx.source },\n gasPrice: { type: 'string', pattern: Uint256RegEx.source },\n priority: { type: 'string', pattern: Uint256RegEx.source },\n },\n required: ['base'],\n additionalProperties: false,\n },\n from: { type: 'string', pattern: AddressRegEx.source },\n nbf: { type: 'integer' },\n exp: { type: 'integer' },\n schema: { type: 'string', pattern: BoundWitnessSchema },\n },\n required: [...boundWitnessJsonSchema.required, 'chain', 'fees', 'nbf', 'exp'],\n type: 'object',\n} as const\n\nexport const TransactionBoundWitnessSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: TransactionBoundWitnessJsonSchema }).build()\n","import type { Executable } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nexport const ExecutableJsonSchema: JSONSchemaType<Executable> = {\n $id: 'https://schemas.xyo.network/2.0/executable',\n additionalProperties: true,\n properties: { script: { items: { type: 'string', pattern: String.raw`^elevate\\|` }, type: 'array' } },\n required: ['script'],\n type: 'object',\n} as const\n","import { AddressRegEx } from '@xylabs/sdk-js'\nimport { BoundWitnessSchema } from '@xyo-network/boundwitness-model'\nimport { boundWitnessJsonSchema } from '@xyo-network/boundwitness-wrapper'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport { Uint256RegEx } from '@xyo-network/payload-wrapper'\nimport type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport type { TransactionBoundWitness } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { StorageMetaJsonSchema } from '../StorageMeta.ts'\n\nexport const TransactionBoundWitnessWithStorageMetaJsonSchema: JSONSchemaType<TransactionBoundWitness> = {\n ...boundWitnessJsonSchema,\n $id: 'https://schemas.xyo.network/2.0/transaction-with-storage-meta',\n additionalProperties: false,\n properties: {\n ...boundWitnessJsonSchema.properties,\n ...StorageMetaJsonSchema.properties,\n chain: { type: 'string', pattern: AddressRegEx.source },\n gas: { type: 'string', pattern: Uint256RegEx.source },\n nbf: { type: 'integer' },\n exp: { type: 'integer' },\n schema: { type: 'string', pattern: BoundWitnessSchema },\n },\n required: [...boundWitnessJsonSchema.required, ...StorageMetaJsonSchema.required, 'chain', 'gas', 'nbf', 'exp'],\n type: 'object',\n} as const\n\nexport const TransactionBoundWitnessWithStorageMetaSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: TransactionBoundWitnessWithStorageMetaJsonSchema }).build()\n","import { AddressRegEx } from '@xylabs/sdk-js'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport { payloadJsonSchema } from '@xyo-network/payload-wrapper'\nimport type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport type { ChainStakeIntent } from '@xyo-network/xl1-protocol'\nimport { ChainStakeIntentSchema } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nexport const ChainStakeIntentPayloadJsonSchema: JSONSchemaType<ChainStakeIntent> = {\n ...payloadJsonSchema,\n $id: 'https://schemas.xyo.network/2.0/payload/chain-stake-intent',\n additionalProperties: false,\n properties: {\n ...payloadJsonSchema.properties,\n from: { type: 'string', pattern: AddressRegEx.source },\n intent: { type: 'string', enum: ['producer'] },\n schema: { type: 'string', pattern: ChainStakeIntentSchema },\n },\n required: [...payloadJsonSchema.required, 'intent'],\n type: 'object',\n}\n\nexport const ChainStakeIntentPayloadJsonSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: ChainStakeIntentPayloadJsonSchema }).build()\n","import { HashRegEx } from '@xylabs/sdk-js'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport { payloadJsonSchema } from '@xyo-network/payload-wrapper'\nimport type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport type { HashPayload } from '@xyo-network/xl1-protocol'\nimport { HashSchema } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nexport const HashPayloadJsonSchema: JSONSchemaType<HashPayload> = {\n ...payloadJsonSchema,\n $id: 'https://schemas.xyo.network/2.0/payload/hash',\n additionalProperties: false,\n properties: {\n ...payloadJsonSchema.properties,\n hash: { type: 'string', pattern: HashRegEx.source },\n schema: { type: 'string', pattern: HashSchema },\n },\n required: [...payloadJsonSchema.required, 'hash'],\n type: 'object',\n}\n\nexport const HashPayloadJsonSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: HashPayloadJsonSchema }).build()\n","import { AddressRegEx } from '@xylabs/sdk-js'\nimport { PayloadBuilder } from '@xyo-network/payload-builder'\nimport { payloadJsonSchema, Uint256RegEx } from '@xyo-network/payload-wrapper'\nimport type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport type { Transfer } from '@xyo-network/xl1-protocol'\nimport { TransferSchema } from '@xyo-network/xl1-protocol'\nimport type { JSONSchemaType } from 'ajv'\n\nexport const TransferPayloadJsonSchema: JSONSchemaType<Transfer> = {\n ...payloadJsonSchema,\n $id: 'https://schemas.xyo.network/2.0/payload/transfer',\n additionalProperties: false,\n properties: {\n ...payloadJsonSchema.properties,\n from: { type: 'string', pattern: AddressRegEx.source },\n epoch: { type: 'number' },\n transfers: {\n type: 'object',\n propertyNames: { pattern: AddressRegEx.source },\n patternProperties: { [AddressRegEx.source]: { type: 'string', pattern: Uint256RegEx.source } },\n },\n schema: { type: 'string', pattern: TransferSchema },\n },\n required: [...payloadJsonSchema.required, 'transfers', 'epoch'],\n type: 'object',\n}\n\nexport const TransferPayloadJsonSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: TransferPayloadJsonSchema }).build()\n"],"mappings":";AAAA,SAAS,cAAc,iBAAiB;AACxC,SAAS,0BAA0B;AACnC,SAAS,wBAAwB,8BAA8B;AAC/D,SAAS,sBAAsB;AAE/B,SAAS,oBAAoB;AAItB,IAAM,8BAAiE;AAAA,EAC5E,GAAG;AAAA,EACH,KAAK;AAAA,EACL,YAAY;AAAA,IACV,GAAG;AAAA,IACH,OAAO,EAAE,MAAM,UAAU;AAAA,IACzB,OAAO,EAAE,MAAM,UAAU,SAAS,aAAa,OAAO;AAAA,IACtD,UAAU;AAAA,MACR,MAAM;AAAA,MAAU,SAAS,UAAU;AAAA,MAAQ,UAAU;AAAA,IACvD;AAAA,IACA,aAAa;AAAA,MACX,OAAO,EAAE,MAAM,UAAU,SAAS,UAAU,OAAO;AAAA,MAC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D,OAAO,EAAE,MAAM,SAAS;AAAA,IACxB,WAAW;AAAA,MACT,MAAM;AAAA,MACN,eAAe,EAAE,SAASA,cAAa,OAAO;AAAA,MAC9C,mBAAmB,EAAE,CAACA,cAAa,MAAM,GAAG,EAAE,MAAM,UAAU,SAASG,cAAa,OAAO,EAAE;AAAA,IAC/F;AAAA,IACA,QAAQ,EAAE,MAAM,UAAU,SAAS,eAAe;AAAA,EACpD;AAAA,EACA,UAAU,CAAC,GAAGD,mBAAkB,UAAU,aAAa,OAAO;AAAA,EAC9D,MAAM;AACR;AAEO,IAAM,mCAAmC,IAAID,gBAA8B,EAAE,QAAQG,cAAa,CAAC,EACvG,OAAO,EAAE,YAAY,0BAA0B,CAAC,EAAE,MAAM;","names":["BoundWitnessSchema","boundWitnessJsonSchema","boundWitnessProperties","PayloadBuilder","SchemaSchema","HashRegEx","boundWitnessProperties","BoundWitnessSchema","boundWitnessJsonSchema","PayloadBuilder","SchemaSchema","AddressRegEx","BoundWitnessSchema","boundWitnessJsonSchema","PayloadBuilder","SchemaSchema","boundWitnessJsonSchema","AddressRegEx","BoundWitnessSchema","PayloadBuilder","SchemaSchema","AddressRegEx","BoundWitnessSchema","boundWitnessJsonSchema","PayloadBuilder","Uint256RegEx","SchemaSchema","boundWitnessJsonSchema","AddressRegEx","Uint256RegEx","BoundWitnessSchema","PayloadBuilder","SchemaSchema","AddressRegEx","PayloadBuilder","SchemaSchema","HashRegEx","PayloadBuilder","payloadJsonSchema","SchemaSchema","AddressRegEx","PayloadBuilder","payloadJsonSchema","Uint256RegEx","SchemaSchema"]}
|
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-schema",
|
|
4
|
-
"version": "1.18.
|
|
4
|
+
"version": "1.18.2",
|
|
5
5
|
"description": "XYO Layer One SDK Schema",
|
|
6
6
|
"homepage": "https://xylabs.com",
|
|
7
7
|
"bugs": {
|
|
@@ -39,24 +39,24 @@
|
|
|
39
39
|
"!**/*.test.*"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@xylabs/sdk-js": "~5.0.
|
|
43
|
-
"@xyo-network/boundwitness-model": "~5.2.
|
|
44
|
-
"@xyo-network/boundwitness-wrapper": "~5.2.
|
|
45
|
-
"@xyo-network/payload-builder": "~5.2.
|
|
46
|
-
"@xyo-network/payload-model": "~5.2.
|
|
47
|
-
"@xyo-network/payload-wrapper": "~5.2.
|
|
48
|
-
"@xyo-network/schema-payload-plugin": "~5.2.
|
|
49
|
-
"@xyo-network/xl1-protocol": "~1.
|
|
42
|
+
"@xylabs/sdk-js": "~5.0.61",
|
|
43
|
+
"@xyo-network/boundwitness-model": "~5.2.19",
|
|
44
|
+
"@xyo-network/boundwitness-wrapper": "~5.2.19",
|
|
45
|
+
"@xyo-network/payload-builder": "~5.2.19",
|
|
46
|
+
"@xyo-network/payload-model": "~5.2.19",
|
|
47
|
+
"@xyo-network/payload-wrapper": "~5.2.19",
|
|
48
|
+
"@xyo-network/schema-payload-plugin": "~5.2.19",
|
|
49
|
+
"@xyo-network/xl1-protocol": "~1.18.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@types/node": "~25.0.
|
|
52
|
+
"@types/node": "~25.0.3",
|
|
53
53
|
"@xylabs/ts-scripts-yarn3": "~7.2.32",
|
|
54
54
|
"@xylabs/tsconfig": "~7.2.32",
|
|
55
|
-
"@xyo-network/account": "~5.2.
|
|
55
|
+
"@xyo-network/account": "~5.2.19",
|
|
56
56
|
"ajv": "~8.17.1",
|
|
57
57
|
"eslint": "^9.39.2",
|
|
58
58
|
"typescript": "~5.9.3",
|
|
59
|
-
"vitest": "~4.0.
|
|
59
|
+
"vitest": "~4.0.16"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=22.3 <23"
|