@xyo-network/xl1-schema 3.0.6 → 3.0.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.
@@ -1 +1 @@
1
- {"version":3,"file":"BlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/BlockBoundWitness.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAKxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,6DAA6D;AAC7D,eAAO,MAAM,2BAA2B,EAAE,cAAc,CAAC,iBAAiB,CAoBhE,CAAA;AAIV,eAAO,MAAM,8BAA8B,eACmB,CAAA"}
1
+ {"version":3,"file":"BlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/BlockBoundWitness.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAKxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAIzC,6DAA6D;AAC7D,eAAO,MAAM,2BAA2B,EAAE,cAAc,CAAC,iBAAiB,CAoBhE,CAAA;AAIV,eAAO,MAAM,8BAA8B,eACmB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"BlockBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/BlockBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAKzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAKzC,wFAAwF;AACxF,eAAO,MAAM,0CAA0C,EAAE,cAAc,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAWhG,CAAA;AAIV,eAAO,MAAM,6CAA6C,eACmB,CAAA"}
1
+ {"version":3,"file":"BlockBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/BlockBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAKzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAA;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAMzC,wFAAwF;AACxF,eAAO,MAAM,0CAA0C,EAAE,cAAc,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAehG,CAAA;AAIV,eAAO,MAAM,6CAA6C,eACmB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/TransactionBoundWitness.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAMxD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAIzC,mEAAmE;AACnE,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,uBAAuB,CA2B5E,CAAA;AAIV,eAAO,MAAM,oCAAoC,eACmB,CAAA"}
1
+ {"version":3,"file":"TransactionBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/TransactionBoundWitness.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAMxD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAKzC,mEAAmE;AACnE,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,uBAAuB,CA2B5E,CAAA;AAIV,eAAO,MAAM,oCAAoC,eACmB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/TransactionBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAMxD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAIzC,8FAA8F;AAC9F,eAAO,MAAM,gDAAgD,EAAE,cAAc,CAAC,uBAAuB,CAgB3F,CAAA;AAIV,eAAO,MAAM,mDAAmD,eACmB,CAAA"}
1
+ {"version":3,"file":"TransactionBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/TransactionBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAMxD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAC5E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAKzC,8FAA8F;AAC9F,eAAO,MAAM,gDAAgD,EAAE,cAAc,CAAC,uBAAuB,CAgB3F,CAAA;AAIV,eAAO,MAAM,mDAAmD,eACmB,CAAA"}
@@ -7,6 +7,16 @@ import {
7
7
  PayloadBuilder,
8
8
  SchemaSchema
9
9
  } from "@xyo-network/sdk-js";
10
+
11
+ // src/mergeJsonSchemaRequired.ts
12
+ var asRequiredStrings = (required) => {
13
+ if (typeof required === "string") return [required];
14
+ if (!Array.isArray(required)) return [];
15
+ return required.filter((item) => typeof item === "string");
16
+ };
17
+ var mergeJsonSchemaRequired = (...groups) => [...new Set(groups.flatMap(asRequiredStrings))];
18
+
19
+ // src/boundwitness/BlockBoundWitness.ts
10
20
  var BlockBoundWitnessJsonSchema = {
11
21
  ...boundWitnessJsonSchema,
12
22
  $id: "https://schemas.xyo.network/2.0/block",
@@ -26,7 +36,7 @@ var BlockBoundWitnessJsonSchema = {
26
36
  $epoch: { type: "integer" },
27
37
  schema: { type: "string", pattern: BoundWitnessSchema }
28
38
  },
29
- required: [...boundWitnessJsonSchema.required, "block", "chain", "step_hashes", "previous", "$epoch"],
39
+ required: mergeJsonSchemaRequired(boundWitnessJsonSchema.required, "block", "chain", "step_hashes", "previous", "$epoch"),
30
40
  type: "object"
31
41
  };
32
42
  var blockBoundWitnessSchemaBuilder = new PayloadBuilder({ schema: SchemaSchema });
@@ -63,7 +73,11 @@ var BlockBoundWitnessWithStorageMetaJsonSchema = {
63
73
  ...StorageMetaJsonSchema.properties,
64
74
  schema: { type: "string", pattern: BoundWitnessSchema2 }
65
75
  },
66
- required: [.../* @__PURE__ */ new Set([...boundWitnessJsonSchema2.required, ...BlockBoundWitnessJsonSchema.required, ...StorageMetaJsonSchema.required])],
76
+ required: mergeJsonSchemaRequired(
77
+ boundWitnessJsonSchema2.required,
78
+ BlockBoundWitnessJsonSchema.required,
79
+ StorageMetaJsonSchema.required
80
+ ),
67
81
  type: "object"
68
82
  };
69
83
  var blockBoundWitnessWithStorageMetaSchemaBuilder = new PayloadBuilder2({ schema: SchemaSchema2 });
@@ -114,7 +128,7 @@ var TransactionBoundWitnessJsonSchema = {
114
128
  exp: { type: "integer" },
115
129
  schema: { type: "string", pattern: BoundWitnessSchema3 }
116
130
  },
117
- required: [...boundWitnessJsonSchema3.required, "chain", "fees", "nbf", "exp"],
131
+ required: mergeJsonSchemaRequired(boundWitnessJsonSchema3.required, "chain", "fees", "nbf", "exp"),
118
132
  type: "object"
119
133
  };
120
134
  var transactionBoundWitnessSchemaBuilder = new PayloadBuilder3({ schema: SchemaSchema3 });
@@ -142,7 +156,7 @@ var TransactionBoundWitnessWithStorageMetaJsonSchema = {
142
156
  exp: { type: "integer" },
143
157
  schema: { type: "string", pattern: BoundWitnessSchema4 }
144
158
  },
145
- required: [...boundWitnessJsonSchema4.required, ...StorageMetaJsonSchema.required, "chain", "gas", "nbf", "exp"],
159
+ required: mergeJsonSchemaRequired(boundWitnessJsonSchema4.required, StorageMetaJsonSchema.required, "chain", "gas", "nbf", "exp"),
146
160
  type: "object"
147
161
  };
148
162
  var transactionBoundWitnessWithStorageMetaSchemaBuilder = new PayloadBuilder4({ schema: SchemaSchema4 });
@@ -166,7 +180,7 @@ var ChainStakeIntentPayloadJsonSchema = {
166
180
  intent: { type: "string", enum: ["producer"] },
167
181
  schema: { type: "string", pattern: ChainStakeIntentSchema }
168
182
  },
169
- required: [...payloadJsonSchema.required, "intent"],
183
+ required: mergeJsonSchemaRequired(payloadJsonSchema.required, "intent"),
170
184
  type: "object"
171
185
  };
172
186
  var chainStakeIntentPayloadJsonSchemaBuilder = new PayloadBuilder5({ schema: SchemaSchema5 });
@@ -189,7 +203,7 @@ var HashPayloadJsonSchema = {
189
203
  hash: { type: "string", pattern: HashRegEx3.source },
190
204
  schema: { type: "string", pattern: HashSchema }
191
205
  },
192
- required: [...payloadJsonSchema2.required, "hash"],
206
+ required: mergeJsonSchemaRequired(payloadJsonSchema2.required, "hash"),
193
207
  type: "object"
194
208
  };
195
209
  var hashPayloadJsonSchemaBuilder = new PayloadBuilder6({ schema: SchemaSchema6 });
@@ -219,7 +233,7 @@ var TransferPayloadJsonSchema = {
219
233
  },
220
234
  schema: { type: "string", pattern: TransferSchema }
221
235
  },
222
- required: [...payloadJsonSchema3.required, "transfers", "epoch"],
236
+ required: mergeJsonSchemaRequired(payloadJsonSchema3.required, "transfers", "epoch"),
223
237
  type: "object"
224
238
  };
225
239
  var transferPayloadJsonSchemaBuilder = new PayloadBuilder7({ schema: SchemaSchema7 });
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
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"],
4
- "sourcesContent": ["import { AddressRegEx, HashRegEx } from '@xylabs/sdk-js'\nimport type { SchemaPayload } from '@xyo-network/sdk-js'\nimport {\n boundWitnessJsonSchema, boundWitnessProperties, BoundWitnessSchema,\n PayloadBuilder, SchemaSchema,\n} from '@xyo-network/sdk-js'\nimport type { BlockBoundWitness } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\n/** JSON schema for validating BlockBoundWitness payloads. */\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\n required: [...boundWitnessJsonSchema.required, 'block', 'chain', 'step_hashes', 'previous', '$epoch'],\n type: 'object',\n} as const\n\n/** Pre-built schema payload for BlockBoundWitness validation. */\nconst blockBoundWitnessSchemaBuilder = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\nexport const BlockBoundWitnessSchemaPayload = blockBoundWitnessSchemaBuilder\n .fields({ definition: BlockBoundWitnessJsonSchema }).build()\n", "import type { SchemaPayload, WithStorageMeta } from '@xyo-network/sdk-js'\nimport {\n boundWitnessJsonSchema, boundWitnessProperties, BoundWitnessSchema,\n PayloadBuilder, SchemaSchema,\n} from '@xyo-network/sdk-js'\nimport type { BlockBoundWitness } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { StorageMetaJsonSchema } from '../StorageMeta.ts'\nimport { BlockBoundWitnessJsonSchema } from './BlockBoundWitness.ts'\n\n/** JSON schema for validating BlockBoundWitness payloads including storage metadata. */\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\n required: [...new Set([...boundWitnessJsonSchema.required, ...BlockBoundWitnessJsonSchema.required, ...StorageMetaJsonSchema.required])],\n type: 'object',\n} as const\n\n/** Pre-built schema payload for BlockBoundWitness with storage meta validation. */\nconst blockBoundWitnessWithStorageMetaSchemaBuilder = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\nexport const BlockBoundWitnessWithStorageMetaSchemaPayload = blockBoundWitnessWithStorageMetaSchemaBuilder\n .fields({ definition: BlockBoundWitnessWithStorageMetaJsonSchema }).build()\n", "import { HashRegEx, HexRegEx } from '@xylabs/sdk-js'\nimport type { StorageMeta } from '@xyo-network/sdk-js'\nimport type { JSONSchemaType } from 'ajv'\n\n/** JSON schema for validating storage metadata fields (_sequence, _hash, _dataHash). */\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 type { SchemaPayload } from '@xyo-network/sdk-js'\nimport {\n boundWitnessJsonSchema, BoundWitnessSchema,\n PayloadBuilder, SchemaSchema,\n Uint256RegEx, XyoAddressRegEx,\n} from '@xyo-network/sdk-js'\nimport type { TransactionBoundWitness } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { ExecutableJsonSchema } from '../Executable.ts'\n\n/** JSON schema for validating TransactionBoundWitness payloads. */\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: XyoAddressRegEx.source },\n nbf: { type: 'integer' },\n exp: { type: 'integer' },\n schema: { type: 'string', pattern: BoundWitnessSchema },\n },\n\n required: [...boundWitnessJsonSchema.required, 'chain', 'fees', 'nbf', 'exp'],\n type: 'object',\n} as const\n\n/** Pre-built schema payload for TransactionBoundWitness validation. */\nconst transactionBoundWitnessSchemaBuilder = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\nexport const TransactionBoundWitnessSchemaPayload = transactionBoundWitnessSchemaBuilder\n .fields({ definition: TransactionBoundWitnessJsonSchema }).build()\n", "import type { Executable } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\n/** JSON schema for validating Executable payloads containing elevation scripts. */\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 type { SchemaPayload } from '@xyo-network/sdk-js'\nimport {\n boundWitnessJsonSchema, BoundWitnessSchema,\n PayloadBuilder, SchemaSchema,\n Uint256RegEx,\n} from '@xyo-network/sdk-js'\nimport type { TransactionBoundWitness } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { StorageMetaJsonSchema } from '../StorageMeta.ts'\n\n/** JSON schema for validating TransactionBoundWitness payloads including storage metadata. */\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\n required: [...boundWitnessJsonSchema.required, ...StorageMetaJsonSchema.required, 'chain', 'gas', 'nbf', 'exp'],\n type: 'object',\n} as const\n\n/** Pre-built schema payload for TransactionBoundWitness with storage meta validation. */\nconst transactionBoundWitnessWithStorageMetaSchemaBuilder = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\nexport const TransactionBoundWitnessWithStorageMetaSchemaPayload = transactionBoundWitnessWithStorageMetaSchemaBuilder\n .fields({ definition: TransactionBoundWitnessWithStorageMetaJsonSchema }).build()\n", "import type { SchemaPayload } from '@xyo-network/sdk-js'\nimport {\n PayloadBuilder, payloadJsonSchema, SchemaSchema, XyoAddressRegEx,\n} from '@xyo-network/sdk-js'\nimport type { ChainStakeIntent } from '@xyo-network/xl1-protocol-lib'\nimport { ChainStakeIntentSchema } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\n/** JSON schema for validating ChainStakeIntent payloads. */\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: XyoAddressRegEx.source },\n intent: { type: 'string', enum: ['producer'] },\n schema: { type: 'string', pattern: ChainStakeIntentSchema },\n },\n\n required: [...payloadJsonSchema.required, 'intent'],\n type: 'object',\n}\n\n/** Pre-built schema payload for ChainStakeIntent validation. */\nconst chainStakeIntentPayloadJsonSchemaBuilder = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\nexport const ChainStakeIntentPayloadJsonSchemaPayload = chainStakeIntentPayloadJsonSchemaBuilder\n .fields({ definition: ChainStakeIntentPayloadJsonSchema }).build()\n", "import { HashRegEx } from '@xylabs/sdk-js'\nimport type { SchemaPayload } from '@xyo-network/sdk-js'\nimport {\n PayloadBuilder, payloadJsonSchema, SchemaSchema,\n} from '@xyo-network/sdk-js'\nimport type { HashPayload } from '@xyo-network/xl1-protocol-lib'\nimport { HashSchema } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\n/** JSON schema for validating Hash payloads. */\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\n required: [...payloadJsonSchema.required, 'hash'],\n type: 'object',\n}\n\n/** Pre-built schema payload for Hash validation. */\nconst hashPayloadJsonSchemaBuilder = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\nexport const HashPayloadJsonSchemaPayload = hashPayloadJsonSchemaBuilder\n .fields({ definition: HashPayloadJsonSchema }).build()\n", "import type { SchemaPayload } from '@xyo-network/sdk-js'\nimport {\n PayloadBuilder, payloadJsonSchema, SchemaSchema,\n Uint256RegEx, XyoAddressRegEx,\n} from '@xyo-network/sdk-js'\nimport type { Transfer } from '@xyo-network/xl1-protocol-lib'\nimport { TransferSchema } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\n/** JSON schema for validating Transfer payloads. */\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: XyoAddressRegEx.source },\n epoch: { type: 'number' },\n transfers: {\n type: 'object',\n propertyNames: { pattern: XyoAddressRegEx.source },\n patternProperties: { [XyoAddressRegEx.source]: { type: 'string', pattern: Uint256RegEx.source } },\n },\n schema: { type: 'string', pattern: TransferSchema },\n },\n\n required: [...payloadJsonSchema.required, 'transfers', 'epoch'],\n type: 'object',\n}\n\n/** Pre-built schema payload for Transfer validation. */\nconst transferPayloadJsonSchemaBuilder = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\nexport const TransferPayloadJsonSchemaPayload = transferPayloadJsonSchemaBuilder\n .fields({ definition: TransferPayloadJsonSchema }).build()\n"],
5
- "mappings": ";AAAA,SAAS,cAAc,iBAAiB;AAExC;AAAA,EACE;AAAA,EAAwB;AAAA,EAAwB;AAAA,EAChD;AAAA,EAAgB;AAAA,OACX;AAKA,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,MACnD,MA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M,UAAU,SAASG,iBAAgB,OAAO;AAAA,IACxD,OAAO,EAAE,MAAM,SAAS;AAAA,IACxB,WAAW;AAAA,MACT,MAAM;AAAA,MACN,eAAe,EAAE,SAASA,iBAAgB,OAAO;AAAA,MACjD,mBAAmB,EAAE,CAACA,iBAAgB,MAAM,GAAG,EAAE,MAAM,UAAU,SAASD,cAAa,OAAO,EAAE;AAAA,IAClG;AAAA,IACA,QAAQ,EAAE,MAAM,UAAU,SAAS,eAAe;AAAA,EACpD;AAAA,EAEA,UAAU,CAAC,GAAGF,mBAAkB,UAAU,aAAa,OAAO;AAAA,EAC9D,MAAM;AACR;AAGA,IAAM,mCAAmC,IAAID,gBAA8B,EAAE,QAAQE,cAAa,CAAC;AAC5F,IAAM,mCAAmC,iCAC7C,OAAO,EAAE,YAAY,0BAA0B,CAAC,EAAE,MAAM;",
6
- "names": ["boundWitnessJsonSchema", "boundWitnessProperties", "BoundWitnessSchema", "PayloadBuilder", "SchemaSchema", "HashRegEx", "boundWitnessProperties", "BoundWitnessSchema", "boundWitnessJsonSchema", "PayloadBuilder", "SchemaSchema", "AddressRegEx", "boundWitnessJsonSchema", "BoundWitnessSchema", "PayloadBuilder", "SchemaSchema", "boundWitnessJsonSchema", "AddressRegEx", "BoundWitnessSchema", "PayloadBuilder", "SchemaSchema", "AddressRegEx", "boundWitnessJsonSchema", "BoundWitnessSchema", "PayloadBuilder", "SchemaSchema", "Uint256RegEx", "boundWitnessJsonSchema", "AddressRegEx", "Uint256RegEx", "BoundWitnessSchema", "PayloadBuilder", "SchemaSchema", "PayloadBuilder", "SchemaSchema", "XyoAddressRegEx", "HashRegEx", "PayloadBuilder", "payloadJsonSchema", "SchemaSchema", "PayloadBuilder", "payloadJsonSchema", "SchemaSchema", "Uint256RegEx", "XyoAddressRegEx"]
3
+ "sources": ["../../src/boundwitness/BlockBoundWitness.ts", "../../src/mergeJsonSchemaRequired.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"],
4
+ "sourcesContent": ["import { AddressRegEx, HashRegEx } from '@xylabs/sdk-js'\nimport type { SchemaPayload } from '@xyo-network/sdk-js'\nimport {\n boundWitnessJsonSchema, boundWitnessProperties, BoundWitnessSchema,\n PayloadBuilder, SchemaSchema,\n} from '@xyo-network/sdk-js'\nimport type { BlockBoundWitness } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { mergeJsonSchemaRequired } from '../mergeJsonSchemaRequired.ts'\n\n/** JSON schema for validating BlockBoundWitness payloads. */\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\n required: mergeJsonSchemaRequired<BlockBoundWitness>(boundWitnessJsonSchema.required, 'block', 'chain', 'step_hashes', 'previous', '$epoch'),\n type: 'object',\n} as const\n\n/** Pre-built schema payload for BlockBoundWitness validation. */\nconst blockBoundWitnessSchemaBuilder = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\nexport const BlockBoundWitnessSchemaPayload = blockBoundWitnessSchemaBuilder\n .fields({ definition: BlockBoundWitnessJsonSchema }).build()\n", "import type { JSONSchemaType } from 'ajv'\n\nexport const asRequiredStrings = (required: unknown): readonly string[] => {\n if (typeof required === 'string') return [required]\n if (!Array.isArray(required)) return []\n return required.filter((item): item is string => typeof item === 'string')\n}\n\n/** Merge JSON schema `required` arrays without spreading untyped sdk-js values. */\nexport const mergeJsonSchemaRequired = <T>(\n ...groups: readonly unknown[]\n): JSONSchemaType<T> extends { required: infer R } ? R : never => (\n [...new Set(groups.flatMap(asRequiredStrings))] as JSONSchemaType<T> extends { required: infer R } ? R : never\n)\n", "import type { SchemaPayload, WithStorageMeta } from '@xyo-network/sdk-js'\nimport {\n boundWitnessJsonSchema, boundWitnessProperties, BoundWitnessSchema,\n PayloadBuilder, SchemaSchema,\n} from '@xyo-network/sdk-js'\nimport type { BlockBoundWitness } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { mergeJsonSchemaRequired } from '../mergeJsonSchemaRequired.ts'\nimport { StorageMetaJsonSchema } from '../StorageMeta.ts'\nimport { BlockBoundWitnessJsonSchema } from './BlockBoundWitness.ts'\n\n/** JSON schema for validating BlockBoundWitness payloads including storage metadata. */\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\n required: mergeJsonSchemaRequired<WithStorageMeta<BlockBoundWitness>>(\n boundWitnessJsonSchema.required,\n BlockBoundWitnessJsonSchema.required,\n StorageMetaJsonSchema.required,\n ),\n type: 'object',\n} as const\n\n/** Pre-built schema payload for BlockBoundWitness with storage meta validation. */\nconst blockBoundWitnessWithStorageMetaSchemaBuilder = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\nexport const BlockBoundWitnessWithStorageMetaSchemaPayload = blockBoundWitnessWithStorageMetaSchemaBuilder\n .fields({ definition: BlockBoundWitnessWithStorageMetaJsonSchema }).build()\n", "import { HashRegEx, HexRegEx } from '@xylabs/sdk-js'\nimport type { StorageMeta } from '@xyo-network/sdk-js'\nimport type { JSONSchemaType } from 'ajv'\n\n/** JSON schema for validating storage metadata fields (_sequence, _hash, _dataHash). */\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 type { SchemaPayload } from '@xyo-network/sdk-js'\nimport {\n boundWitnessJsonSchema, BoundWitnessSchema,\n PayloadBuilder, SchemaSchema,\n Uint256RegEx, XyoAddressRegEx,\n} from '@xyo-network/sdk-js'\nimport type { TransactionBoundWitness } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { ExecutableJsonSchema } from '../Executable.ts'\nimport { mergeJsonSchemaRequired } from '../mergeJsonSchemaRequired.ts'\n\n/** JSON schema for validating TransactionBoundWitness payloads. */\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: XyoAddressRegEx.source },\n nbf: { type: 'integer' },\n exp: { type: 'integer' },\n schema: { type: 'string', pattern: BoundWitnessSchema },\n },\n\n required: mergeJsonSchemaRequired<TransactionBoundWitness>(boundWitnessJsonSchema.required, 'chain', 'fees', 'nbf', 'exp'),\n type: 'object',\n} as const\n\n/** Pre-built schema payload for TransactionBoundWitness validation. */\nconst transactionBoundWitnessSchemaBuilder = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\nexport const TransactionBoundWitnessSchemaPayload = transactionBoundWitnessSchemaBuilder\n .fields({ definition: TransactionBoundWitnessJsonSchema }).build()\n", "import type { Executable } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\n/** JSON schema for validating Executable payloads containing elevation scripts. */\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 type { SchemaPayload } from '@xyo-network/sdk-js'\nimport {\n boundWitnessJsonSchema, BoundWitnessSchema,\n PayloadBuilder, SchemaSchema,\n Uint256RegEx,\n} from '@xyo-network/sdk-js'\nimport type { TransactionBoundWitness } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { mergeJsonSchemaRequired } from '../mergeJsonSchemaRequired.ts'\nimport { StorageMetaJsonSchema } from '../StorageMeta.ts'\n\n/** JSON schema for validating TransactionBoundWitness payloads including storage metadata. */\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\n required: mergeJsonSchemaRequired<TransactionBoundWitness>(boundWitnessJsonSchema.required, StorageMetaJsonSchema.required, 'chain', 'gas', 'nbf', 'exp'),\n type: 'object',\n} as const\n\n/** Pre-built schema payload for TransactionBoundWitness with storage meta validation. */\nconst transactionBoundWitnessWithStorageMetaSchemaBuilder = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\nexport const TransactionBoundWitnessWithStorageMetaSchemaPayload = transactionBoundWitnessWithStorageMetaSchemaBuilder\n .fields({ definition: TransactionBoundWitnessWithStorageMetaJsonSchema }).build()\n", "import type { SchemaPayload } from '@xyo-network/sdk-js'\nimport {\n PayloadBuilder, payloadJsonSchema, SchemaSchema, XyoAddressRegEx,\n} from '@xyo-network/sdk-js'\nimport type { ChainStakeIntent } from '@xyo-network/xl1-protocol-lib'\nimport { ChainStakeIntentSchema } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { mergeJsonSchemaRequired } from '../mergeJsonSchemaRequired.ts'\n\n/** JSON schema for validating ChainStakeIntent payloads. */\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: XyoAddressRegEx.source },\n intent: { type: 'string', enum: ['producer'] },\n schema: { type: 'string', pattern: ChainStakeIntentSchema },\n },\n\n required: mergeJsonSchemaRequired<ChainStakeIntent>(payloadJsonSchema.required, 'intent'),\n type: 'object',\n}\n\n/** Pre-built schema payload for ChainStakeIntent validation. */\nconst chainStakeIntentPayloadJsonSchemaBuilder = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\nexport const ChainStakeIntentPayloadJsonSchemaPayload = chainStakeIntentPayloadJsonSchemaBuilder\n .fields({ definition: ChainStakeIntentPayloadJsonSchema }).build()\n", "import { HashRegEx } from '@xylabs/sdk-js'\nimport type { SchemaPayload } from '@xyo-network/sdk-js'\nimport {\n PayloadBuilder, payloadJsonSchema, SchemaSchema,\n} from '@xyo-network/sdk-js'\nimport type { HashPayload } from '@xyo-network/xl1-protocol-lib'\nimport { HashSchema } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { mergeJsonSchemaRequired } from '../mergeJsonSchemaRequired.ts'\n\n/** JSON schema for validating Hash payloads. */\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\n required: mergeJsonSchemaRequired<HashPayload>(payloadJsonSchema.required, 'hash'),\n type: 'object',\n}\n\n/** Pre-built schema payload for Hash validation. */\nconst hashPayloadJsonSchemaBuilder = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\nexport const HashPayloadJsonSchemaPayload = hashPayloadJsonSchemaBuilder\n .fields({ definition: HashPayloadJsonSchema }).build()\n", "import type { SchemaPayload } from '@xyo-network/sdk-js'\nimport {\n PayloadBuilder, payloadJsonSchema, SchemaSchema,\n Uint256RegEx, XyoAddressRegEx,\n} from '@xyo-network/sdk-js'\nimport type { Transfer } from '@xyo-network/xl1-protocol-lib'\nimport { TransferSchema } from '@xyo-network/xl1-protocol-lib'\nimport type { JSONSchemaType } from 'ajv'\n\nimport { mergeJsonSchemaRequired } from '../mergeJsonSchemaRequired.ts'\n\n/** JSON schema for validating Transfer payloads. */\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: XyoAddressRegEx.source },\n epoch: { type: 'number' },\n transfers: {\n type: 'object',\n propertyNames: { pattern: XyoAddressRegEx.source },\n patternProperties: { [XyoAddressRegEx.source]: { type: 'string', pattern: Uint256RegEx.source } },\n },\n schema: { type: 'string', pattern: TransferSchema },\n },\n\n required: mergeJsonSchemaRequired<Transfer>(payloadJsonSchema.required, 'transfers', 'epoch'),\n type: 'object',\n}\n\n/** Pre-built schema payload for Transfer validation. */\nconst transferPayloadJsonSchemaBuilder = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\nexport const TransferPayloadJsonSchemaPayload = transferPayloadJsonSchemaBuilder\n .fields({ definition: TransferPayloadJsonSchema }).build()\n"],
5
+ "mappings": ";AAAA,SAAS,cAAc,iBAAiB;AAExC;AAAA,EACE;AAAA,EAAwB;AAAA,EAAwB;AAAA,EAChD;AAAA,EAAgB;AAAA,OACX;;;ACHA,IAAM,oBAAoB,CAAC,aAAyC;AACzE,MAAI,OAAO,aAAa,SAAU,QAAO,CAAC,QAAQ;AAClD,MAAI,CAAC,MAAM,QAAQ,QAAQ,EAAG,QAAO,CAAC;AACtC,SAAO,SAAS,OAAO,CAAC,SAAyB,OAAO,SAAS,QAAQ;AAC3E;AAGO,IAAM,0BAA0B,IAClC,WAEH,CAAC,GAAG,IAAI,IAAI,OAAO,QAAQ,iBAAiB,CAAC,CAAC;;;ADAzC,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,MACnD,MAAM;AAAA,IACR;AAAA,IACA,QAAQ,EAAE,MAAM,UAAU;AAAA,IAC1B,QAAQ,EAAE,MAAM,UAAU,SAAS,mBAAmB;AAAA,EACxD;AAAA,EAEA,UAAU,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GAAG,EAAE,MAAM,UAAU,SAASC,cAAa,OAAO,EAAE;AAAA,IAClG;AAAA,IACA,QAAQ,EAAE,MAAM,UAAU,SAAS,eAAe;AAAA,EACpD;AAAA,EAEA,UAAU,wBAAkCF,mBAAkB,UAAU,aAAa,OAAO;AAAA,EAC5F,MAAM;AACR;AAGA,IAAM,mCAAmC,IAAIG,gBAA8B,EAAE,QAAQC,cAAa,CAAC;AAC5F,IAAM,mCAAmC,iCAC7C,OAAO,EAAE,YAAY,0BAA0B,CAAC,EAAE,MAAM;",
6
+ "names": ["boundWitnessJsonSchema", "boundWitnessProperties", "BoundWitnessSchema", "PayloadBuilder", "SchemaSchema", "HashRegEx", "boundWitnessProperties", "BoundWitnessSchema", "boundWitnessJsonSchema", "PayloadBuilder", "SchemaSchema", "AddressRegEx", "boundWitnessJsonSchema", "BoundWitnessSchema", "PayloadBuilder", "SchemaSchema", "boundWitnessJsonSchema", "AddressRegEx", "BoundWitnessSchema", "PayloadBuilder", "SchemaSchema", "AddressRegEx", "boundWitnessJsonSchema", "BoundWitnessSchema", "PayloadBuilder", "SchemaSchema", "Uint256RegEx", "boundWitnessJsonSchema", "AddressRegEx", "Uint256RegEx", "BoundWitnessSchema", "PayloadBuilder", "SchemaSchema", "PayloadBuilder", "SchemaSchema", "XyoAddressRegEx", "XyoAddressRegEx", "PayloadBuilder", "SchemaSchema", "HashRegEx", "PayloadBuilder", "payloadJsonSchema", "SchemaSchema", "payloadJsonSchema", "HashRegEx", "PayloadBuilder", "SchemaSchema", "PayloadBuilder", "payloadJsonSchema", "SchemaSchema", "Uint256RegEx", "XyoAddressRegEx", "payloadJsonSchema", "XyoAddressRegEx", "Uint256RegEx", "PayloadBuilder", "SchemaSchema"]
7
7
  }
@@ -0,0 +1,7 @@
1
+ import type { JSONSchemaType } from 'ajv';
2
+ export declare const asRequiredStrings: (required: unknown) => readonly string[];
3
+ /** Merge JSON schema `required` arrays without spreading untyped sdk-js values. */
4
+ export declare const mergeJsonSchemaRequired: <T>(...groups: readonly unknown[]) => JSONSchemaType<T> extends {
5
+ required: infer R;
6
+ } ? R : never;
7
+ //# sourceMappingURL=mergeJsonSchemaRequired.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mergeJsonSchemaRequired.d.ts","sourceRoot":"","sources":["../../src/mergeJsonSchemaRequired.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,eAAO,MAAM,iBAAiB,GAAI,UAAU,OAAO,KAAG,SAAS,MAAM,EAIpE,CAAA;AAED,mFAAmF;AACnF,eAAO,MAAM,uBAAuB,GAAI,CAAC,EACvC,GAAG,QAAQ,SAAS,OAAO,EAAE,KAC5B,cAAc,CAAC,CAAC,CAAC,SAAS;IAAE,QAAQ,EAAE,MAAM,CAAC,CAAA;CAAE,GAAG,CAAC,GAAG,KAExD,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChainStakeIntent.d.ts","sourceRoot":"","sources":["../../../src/payload/ChainStakeIntent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAIxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAErE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,4DAA4D;AAC5D,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,gBAAgB,CAa9E,CAAA;AAID,eAAO,MAAM,wCAAwC,eACe,CAAA"}
1
+ {"version":3,"file":"ChainStakeIntent.d.ts","sourceRoot":"","sources":["../../../src/payload/ChainStakeIntent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAIxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAErE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAIzC,4DAA4D;AAC5D,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,gBAAgB,CAa9E,CAAA;AAID,eAAO,MAAM,wCAAwC,eACe,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"HashPayload.d.ts","sourceRoot":"","sources":["../../../src/payload/HashPayload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAIxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAEhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,gDAAgD;AAChD,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,WAAW,CAY7D,CAAA;AAID,eAAO,MAAM,4BAA4B,eACe,CAAA"}
1
+ {"version":3,"file":"HashPayload.d.ts","sourceRoot":"","sources":["../../../src/payload/HashPayload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAIxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAEhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAIzC,gDAAgD;AAChD,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,WAAW,CAY7D,CAAA;AAID,eAAO,MAAM,4BAA4B,eACe,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"TransferPayload.d.ts","sourceRoot":"","sources":["../../../src/payload/TransferPayload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAKxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,oDAAoD;AACpD,eAAO,MAAM,yBAAyB,EAAE,cAAc,CAAC,QAAQ,CAkB9D,CAAA;AAID,eAAO,MAAM,gCAAgC,eACe,CAAA"}
1
+ {"version":3,"file":"TransferPayload.d.ts","sourceRoot":"","sources":["../../../src/payload/TransferPayload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAKxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAA;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAIzC,oDAAoD;AACpD,eAAO,MAAM,yBAAyB,EAAE,cAAc,CAAC,QAAQ,CAkB9D,CAAA;AAID,eAAO,MAAM,gCAAgC,eACe,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/xl1-schema",
3
- "version": "3.0.6",
3
+ "version": "3.0.7",
4
4
  "description": "XYO Layer One SDK Schema",
5
5
  "homepage": "https://xylabs.com",
6
6
  "bugs": {
@@ -34,7 +34,7 @@
34
34
  "README.md"
35
35
  ],
36
36
  "dependencies": {
37
- "@xyo-network/xl1-protocol-lib": "~3.0.6"
37
+ "@xyo-network/xl1-protocol-lib": "~3.0.7"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@bitauth/libauth": "~3.0.0",
@@ -44,11 +44,11 @@
44
44
  "@opentelemetry/sdk-trace-base": "^2.8.0",
45
45
  "@scure/base": "~2.2.0",
46
46
  "@scure/bip39": "~2.2.0",
47
- "@xylabs/geo": "^6.1.3",
48
- "@xylabs/sdk-js": "^6.1.3",
49
- "@xylabs/threads": "^6.1.3",
50
- "@xylabs/toolchain": "~8.2.18",
51
- "@xylabs/tsconfig": "~8.2.18",
47
+ "@xylabs/geo": "^6.1.4",
48
+ "@xylabs/sdk-js": "^6.1.4",
49
+ "@xylabs/threads": "^6.1.4",
50
+ "@xylabs/toolchain": "~8.3.0",
51
+ "@xylabs/tsconfig": "~8.3.0",
52
52
  "@xyo-network/sdk-js": "^6.1.0",
53
53
  "@xyo-network/sdk-protocol-js": "~6.1.1",
54
54
  "ajv": "^8.20.0",
@@ -61,7 +61,7 @@
61
61
  "lru-cache": "^11.5.1",
62
62
  "observable-fns": "~0.6.1",
63
63
  "typescript": "~6.0.3",
64
- "vite": "^8.0.16",
64
+ "vite": "^8.1.0",
65
65
  "vitest": "~4.1.9",
66
66
  "webextension-polyfill": "^0.12.0",
67
67
  "zod": "~4.4.3"