@xyo-network/xl1-schema 1.26.21 → 1.26.24

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,CAmBhE,CAAA;AAEV,iEAAiE;AACjE,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;AAEzC,6DAA6D;AAC7D,eAAO,MAAM,2BAA2B,EAAE,cAAc,CAAC,iBAAiB,CAoBhE,CAAA;AAEV,iEAAiE;AACjE,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,CAUhG,CAAA;AAEV,mFAAmF;AACnF,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;AAKzC,wFAAwF;AACxF,eAAO,MAAM,0CAA0C,EAAE,cAAc,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAWhG,CAAA;AAEV,mFAAmF;AACnF,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,CA0B5E,CAAA;AAEV,uEAAuE;AACvE,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;AAIzC,mEAAmE;AACnE,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,uBAAuB,CA2B5E,CAAA;AAEV,uEAAuE;AACvE,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,CAe3F,CAAA;AAEV,yFAAyF;AACzF,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;AAIzC,8FAA8F;AAC9F,eAAO,MAAM,gDAAgD,EAAE,cAAc,CAAC,uBAAuB,CAgB3F,CAAA;AAEV,yFAAyF;AACzF,eAAO,MAAM,mDAAmD,eACmB,CAAA"}
@@ -26,6 +26,7 @@ var BlockBoundWitnessJsonSchema = {
26
26
  $epoch: { type: "integer" },
27
27
  schema: { type: "string", pattern: BoundWitnessSchema }
28
28
  },
29
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
29
30
  required: [...boundWitnessJsonSchema.required, "block", "chain", "step_hashes", "previous", "$epoch"],
30
31
  type: "object"
31
32
  };
@@ -62,6 +63,7 @@ var BlockBoundWitnessWithStorageMetaJsonSchema = {
62
63
  ...StorageMetaJsonSchema.properties,
63
64
  schema: { type: "string", pattern: BoundWitnessSchema2 }
64
65
  },
66
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
65
67
  required: [.../* @__PURE__ */ new Set([...boundWitnessJsonSchema2.required, ...BlockBoundWitnessJsonSchema.required, ...StorageMetaJsonSchema.required])],
66
68
  type: "object"
67
69
  };
@@ -111,6 +113,7 @@ var TransactionBoundWitnessJsonSchema = {
111
113
  exp: { type: "integer" },
112
114
  schema: { type: "string", pattern: BoundWitnessSchema3 }
113
115
  },
116
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
114
117
  required: [...boundWitnessJsonSchema3.required, "chain", "fees", "nbf", "exp"],
115
118
  type: "object"
116
119
  };
@@ -138,6 +141,7 @@ var TransactionBoundWitnessWithStorageMetaJsonSchema = {
138
141
  exp: { type: "integer" },
139
142
  schema: { type: "string", pattern: BoundWitnessSchema4 }
140
143
  },
144
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
141
145
  required: [...boundWitnessJsonSchema4.required, ...StorageMetaJsonSchema.required, "chain", "gas", "nbf", "exp"],
142
146
  type: "object"
143
147
  };
@@ -161,6 +165,7 @@ var ChainStakeIntentPayloadJsonSchema = {
161
165
  intent: { type: "string", enum: ["producer"] },
162
166
  schema: { type: "string", pattern: ChainStakeIntentSchema }
163
167
  },
168
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
164
169
  required: [...payloadJsonSchema.required, "intent"],
165
170
  type: "object"
166
171
  };
@@ -183,6 +188,7 @@ var HashPayloadJsonSchema = {
183
188
  hash: { type: "string", pattern: HashRegEx3.source },
184
189
  schema: { type: "string", pattern: HashSchema }
185
190
  },
191
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
186
192
  required: [...payloadJsonSchema2.required, "hash"],
187
193
  type: "object"
188
194
  };
@@ -212,6 +218,7 @@ var TransferPayloadJsonSchema = {
212
218
  },
213
219
  schema: { type: "string", pattern: TransferSchema }
214
220
  },
221
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
215
222
  required: [...payloadJsonSchema3.required, "transfers", "epoch"],
216
223
  type: "object"
217
224
  };
@@ -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 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 required: [...boundWitnessJsonSchema.required, 'block', 'chain', 'step_hashes', 'previous', '$epoch'],\n type: 'object',\n} as const\n\n/** Pre-built schema payload for BlockBoundWitness validation. */\nexport const BlockBoundWitnessSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\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 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. */\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/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,\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: 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\n/** Pre-built schema payload for TransactionBoundWitness validation. */\nexport const TransactionBoundWitnessSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\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 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. */\nexport const TransactionBoundWitnessWithStorageMetaSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: TransactionBoundWitnessWithStorageMetaJsonSchema }).build()\n","import { AddressRegEx } 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 { 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: 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\n/** Pre-built schema payload for ChainStakeIntent validation. */\nexport const ChainStakeIntentPayloadJsonSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\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 required: [...payloadJsonSchema.required, 'hash'],\n type: 'object',\n}\n\n/** Pre-built schema payload for Hash validation. */\nexport const HashPayloadJsonSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: HashPayloadJsonSchema }).build()\n","import { AddressRegEx } from '@xylabs/sdk-js'\nimport type { SchemaPayload } from '@xyo-network/sdk-js'\nimport {\n PayloadBuilder, payloadJsonSchema, SchemaSchema,\n Uint256RegEx,\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: 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\n/** Pre-built schema payload for Transfer validation. */\nexport const TransferPayloadJsonSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: TransferPayloadJsonSchema }).build()\n"],"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,MAAM;AAAA,IACR;AAAA,IACA,QAAQ,EAAE,MAAM,UAAU;AAAA,IAC1B,QAAQ,EAAE,MAAM,UAAU,SAAS,mBAAmB;AAAA,EACxD;AAAA,EACA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,EAAE,MAAM,UAAU,SAAS,eAAe;AAAA,EACpD;AAAA,EACA,UAAU,CAAC,GAAGF,mBAAkB,UAAU,aAAa,OAAO;AAAA,EAC9D,MAAM;AACR;AAGO,IAAM,mCAAmC,IAAID,gBAA8B,EAAE,QAAQE,cAAa,CAAC,EACvG,OAAO,EAAE,YAAY,0BAA0B,CAAC,EAAE,MAAM;","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","AddressRegEx","PayloadBuilder","SchemaSchema","HashRegEx","PayloadBuilder","payloadJsonSchema","SchemaSchema","AddressRegEx","PayloadBuilder","payloadJsonSchema","SchemaSchema","Uint256RegEx"]}
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 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 // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\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. */\nexport const BlockBoundWitnessSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\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 // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\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. */\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/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,\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: AddressRegEx.source },\n nbf: { type: 'integer' },\n exp: { type: 'integer' },\n schema: { type: 'string', pattern: BoundWitnessSchema },\n },\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n required: [...boundWitnessJsonSchema.required, 'chain', 'fees', 'nbf', 'exp'],\n type: 'object',\n} as const\n\n/** Pre-built schema payload for TransactionBoundWitness validation. */\nexport const TransactionBoundWitnessSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\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 // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\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. */\nexport const TransactionBoundWitnessWithStorageMetaSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: TransactionBoundWitnessWithStorageMetaJsonSchema }).build()\n","import { AddressRegEx } 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 { 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: AddressRegEx.source },\n intent: { type: 'string', enum: ['producer'] },\n schema: { type: 'string', pattern: ChainStakeIntentSchema },\n },\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n required: [...payloadJsonSchema.required, 'intent'],\n type: 'object',\n}\n\n/** Pre-built schema payload for ChainStakeIntent validation. */\nexport const ChainStakeIntentPayloadJsonSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\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 // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n required: [...payloadJsonSchema.required, 'hash'],\n type: 'object',\n}\n\n/** Pre-built schema payload for Hash validation. */\nexport const HashPayloadJsonSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: HashPayloadJsonSchema }).build()\n","import { AddressRegEx } from '@xylabs/sdk-js'\nimport type { SchemaPayload } from '@xyo-network/sdk-js'\nimport {\n PayloadBuilder, payloadJsonSchema, SchemaSchema,\n Uint256RegEx,\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: 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 // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n required: [...payloadJsonSchema.required, 'transfers', 'epoch'],\n type: 'object',\n}\n\n/** Pre-built schema payload for Transfer validation. */\nexport const TransferPayloadJsonSchemaPayload = new PayloadBuilder<SchemaPayload>({ schema: SchemaSchema })\n .fields({ definition: TransferPayloadJsonSchema }).build()\n"],"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,MAAM;AAAA,IACR;AAAA,IACA,QAAQ,EAAE,MAAM,UAAU;AAAA,IAC1B,QAAQ,EAAE,MAAM,UAAU,SAAS,mBAAmB;AAAA,EACxD;AAAA;AAAA,EAEA,UAAU,CAAC,GAAG,uBAAuB,UAAU,SAAS,SAAS,eAAe,YAAY,QAAQ;AAAA,EACpG,MAAM;AACR;AAGO,IAAM,iCAAiC,IAAI,eAA8B,EAAE,QAAQ,aAAa,CAAC,EACrG,OAAO,EAAE,YAAY,4BAA4B,CAAC,EAAE,MAAM;;;ACjC7D;AAAA,EACE,0BAAAA;AAAA,EAAwB,0BAAAC;AAAA,EAAwB,sBAAAC;AAAA,EAChD,kBAAAC;AAAA,EAAgB,gBAAAC;AAAA,OACX;;;ACJP,SAAS,aAAAC,YAAW,gBAAgB;AAK7B,IAAM,wBAAqD;AAAA,EAChE,KAAK;AAAA,EACL,YAAY;AAAA,IACV,WAAW,EAAE,MAAM,UAAU,SAAS,SAAS,OAAO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,EAAE,MAAM,UAAU,SAAS,WAAW;AAAA,EAChD;AAAA;AAAA,EAEA,UAAU,CAAC,GAAGE,mBAAkB,UAAU,MAAM;AAAA,EAChD,MAAM;AACR;AAGO,IAAM,+BAA+B,IAAID,gBAA8B,EAAE,QAAQE,cAAa,CAAC,EACnG,OAAO,EAAE,YAAY,sBAAsB,CAAC,EAAE,MAAM;;;AC1BvD,SAAS,gBAAAC,qBAAoB;AAE7B;AAAA,EACE,kBAAAC;AAAA,EAAgB,qBAAAC;AAAA,EAAmB,gBAAAC;AAAA,EACnC,gBAAAC;AAAA,OACK;AAEP,SAAS,sBAAsB;AAIxB,IAAM,4BAAsD;AAAA,EACjE,GAAGF;AAAA,EACH,KAAK;AAAA,EACL,sBAAsB;AAAA,EACtB,YAAY;AAAA,IACV,GAAGA,mBAAkB;AAAA,IACrB,MAAM,EAAE,MAAM,UAAU,SAASF,cAAa,OAAO;AAAA,IACrD,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,SAASI,cAAa,OAAO,EAAE;AAAA,IAC/F;AAAA,IACA,QAAQ,EAAE,MAAM,UAAU,SAAS,eAAe;AAAA,EACpD;AAAA;AAAA,EAEA,UAAU,CAAC,GAAGF,mBAAkB,UAAU,aAAa,OAAO;AAAA,EAC9D,MAAM;AACR;AAGO,IAAM,mCAAmC,IAAID,gBAA8B,EAAE,QAAQE,cAAa,CAAC,EACvG,OAAO,EAAE,YAAY,0BAA0B,CAAC,EAAE,MAAM;","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","AddressRegEx","PayloadBuilder","SchemaSchema","HashRegEx","PayloadBuilder","payloadJsonSchema","SchemaSchema","AddressRegEx","PayloadBuilder","payloadJsonSchema","SchemaSchema","Uint256RegEx"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ChainStakeIntent.d.ts","sourceRoot":"","sources":["../../../src/payload/ChainStakeIntent.ts"],"names":[],"mappings":"AACA,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,CAY9E,CAAA;AAED,gEAAgE;AAChE,eAAO,MAAM,wCAAwC,eACe,CAAA"}
1
+ {"version":3,"file":"ChainStakeIntent.d.ts","sourceRoot":"","sources":["../../../src/payload/ChainStakeIntent.ts"],"names":[],"mappings":"AACA,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;AAED,gEAAgE;AAChE,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,CAW7D,CAAA;AAED,oDAAoD;AACpD,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;AAEzC,gDAAgD;AAChD,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,WAAW,CAY7D,CAAA;AAED,oDAAoD;AACpD,eAAO,MAAM,4BAA4B,eACe,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"TransferPayload.d.ts","sourceRoot":"","sources":["../../../src/payload/TransferPayload.ts"],"names":[],"mappings":"AACA,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,CAiB9D,CAAA;AAED,wDAAwD;AACxD,eAAO,MAAM,gCAAgC,eACe,CAAA"}
1
+ {"version":3,"file":"TransferPayload.d.ts","sourceRoot":"","sources":["../../../src/payload/TransferPayload.ts"],"names":[],"mappings":"AACA,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;AAED,wDAAwD;AACxD,eAAO,MAAM,gCAAgC,eACe,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/xl1-schema",
3
- "version": "1.26.21",
3
+ "version": "1.26.24",
4
4
  "description": "XYO Layer One SDK Schema",
5
5
  "homepage": "https://xylabs.com",
6
6
  "bugs": {
@@ -22,12 +22,10 @@
22
22
  "exports": {
23
23
  ".": {
24
24
  "types": "./dist/neutral/index.d.ts",
25
- "import": "./dist/neutral/index.mjs",
26
25
  "default": "./dist/neutral/index.mjs"
27
26
  },
28
27
  "./package.json": "./package.json"
29
28
  },
30
- "types": "./dist/neutral/index.d.ts",
31
29
  "files": [
32
30
  "dist",
33
31
  "!**/*.bench.*",
@@ -37,15 +35,15 @@
37
35
  ],
38
36
  "dependencies": {
39
37
  "ajv": "~8.18.0",
40
- "@xyo-network/xl1-protocol-lib": "~1.26.21"
38
+ "@xyo-network/xl1-protocol-lib": "~1.26.24"
41
39
  },
42
40
  "devDependencies": {
43
41
  "@opentelemetry/api": "^1.9.1",
44
- "@types/node": "^25.5.2",
42
+ "@types/node": "^25.6.0",
45
43
  "@xylabs/sdk-js": "^5.0.95",
46
- "@xylabs/ts-scripts-common": "~7.9.0",
47
- "@xylabs/ts-scripts-pnpm": "~7.9.0",
48
- "@xylabs/tsconfig": "~7.9.0",
44
+ "@xylabs/ts-scripts-common": "~7.9.9",
45
+ "@xylabs/ts-scripts-pnpm": "~7.9.9",
46
+ "@xylabs/tsconfig": "~7.9.9",
49
47
  "@xyo-network/account": "~5.3.30",
50
48
  "@xyo-network/account-model": "~5.3.30",
51
49
  "@xyo-network/api-models": "~5.3.30",
@@ -96,13 +94,13 @@
96
94
  "@xyo-network/wasm": "~5.3.30",
97
95
  "@xyo-network/witness-adhoc": "~5.3.30",
98
96
  "@xyo-network/witness-model": "~5.3.30",
99
- "axios": "^1.14.0",
97
+ "axios": "^1.15.0",
100
98
  "esbuild": "^0.28.0",
101
99
  "ethers": "^6",
102
100
  "pako": "~2.1.0",
103
101
  "typescript": "~5.9.3",
104
- "vite": "^8.0.7",
105
- "vitest": "~4.1.3",
102
+ "vite": "^8.0.8",
103
+ "vitest": "~4.1.4",
106
104
  "zod": "~4.3.6"
107
105
  },
108
106
  "peerDependencies": {