@xyo-network/xl1-schema 1.24.2 → 1.24.3

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":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAEvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,eAAO,MAAM,2BAA2B,EAAE,cAAc,CAAC,iBAAiB,CAmBhE,CAAA;AAEV,eAAO,MAAM,8BAA8B,eACmB,CAAA"}
1
+ {"version":3,"file":"BlockBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/BlockBoundWitness.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAKvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,eAAO,MAAM,2BAA2B,EAAE,cAAc,CAAC,iBAAiB,CAmBhE,CAAA;AAEV,eAAO,MAAM,8BAA8B,eACmB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"BlockBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/BlockBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAEvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAKzC,eAAO,MAAM,0CAA0C,EAAE,cAAc,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAUhG,CAAA;AAEV,eAAO,MAAM,6CAA6C,eACmB,CAAA"}
1
+ {"version":3,"file":"BlockBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/BlockBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAKvE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAKzC,eAAO,MAAM,0CAA0C,EAAE,cAAc,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAUhG,CAAA;AAEV,eAAO,MAAM,6CAA6C,eACmB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/TransactionBoundWitness.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAEvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAIzC,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,uBAAuB,CA0B5E,CAAA;AAEV,eAAO,MAAM,oCAAoC,eACmB,CAAA"}
1
+ {"version":3,"file":"TransactionBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/TransactionBoundWitness.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAKvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAIzC,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,uBAAuB,CA0B5E,CAAA;AAEV,eAAO,MAAM,oCAAoC,eACmB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/TransactionBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAEvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAIzC,eAAO,MAAM,gDAAgD,EAAE,cAAc,CAAC,uBAAuB,CAe3F,CAAA;AAEV,eAAO,MAAM,mDAAmD,eACmB,CAAA"}
1
+ {"version":3,"file":"TransactionBoundWitnessWithStorageMeta.d.ts","sourceRoot":"","sources":["../../../src/boundwitness/TransactionBoundWitnessWithStorageMeta.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAKvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAIzC,eAAO,MAAM,gDAAgD,EAAE,cAAc,CAAC,uBAAuB,CAe3F,CAAA;AAEV,eAAO,MAAM,mDAAmD,eACmB,CAAA"}
@@ -1,9 +1,12 @@
1
1
  // src/boundwitness/BlockBoundWitness.ts
2
2
  import { AddressRegEx, HashRegEx } from "@xylabs/sdk-js";
3
3
  import { BoundWitnessSchema } from "@xyo-network/boundwitness-model";
4
- import { boundWitnessJsonSchema, boundWitnessProperties } from "@xyo-network/boundwitness-wrapper";
5
- import { PayloadBuilder } from "@xyo-network/payload-builder";
6
4
  import { SchemaSchema } from "@xyo-network/schema-payload-plugin";
5
+ import {
6
+ boundWitnessJsonSchema,
7
+ boundWitnessProperties,
8
+ PayloadBuilder
9
+ } from "@xyo-network/sdk-js";
7
10
  var BlockBoundWitnessJsonSchema = {
8
11
  ...boundWitnessJsonSchema,
9
12
  $id: "https://schemas.xyo.network/2.0/block",
@@ -30,9 +33,12 @@ var BlockBoundWitnessSchemaPayload = new PayloadBuilder({ schema: SchemaSchema }
30
33
 
31
34
  // src/boundwitness/BlockBoundWitnessWithStorageMeta.ts
32
35
  import { BoundWitnessSchema as BoundWitnessSchema2 } from "@xyo-network/boundwitness-model";
33
- import { boundWitnessJsonSchema as boundWitnessJsonSchema2, boundWitnessProperties as boundWitnessProperties2 } from "@xyo-network/boundwitness-wrapper";
34
- import { PayloadBuilder as PayloadBuilder2 } from "@xyo-network/payload-builder";
35
36
  import { SchemaSchema as SchemaSchema2 } from "@xyo-network/schema-payload-plugin";
37
+ import {
38
+ boundWitnessJsonSchema as boundWitnessJsonSchema2,
39
+ boundWitnessProperties as boundWitnessProperties2,
40
+ PayloadBuilder as PayloadBuilder2
41
+ } from "@xyo-network/sdk-js";
36
42
 
37
43
  // src/StorageMeta.ts
38
44
  import { HashRegEx as HashRegEx2, HexRegEx } from "@xylabs/sdk-js";
@@ -64,10 +70,12 @@ var BlockBoundWitnessWithStorageMetaSchemaPayload = new PayloadBuilder2({ schema
64
70
  // src/boundwitness/TransactionBoundWitness.ts
65
71
  import { AddressRegEx as AddressRegEx2 } from "@xylabs/sdk-js";
66
72
  import { BoundWitnessSchema as BoundWitnessSchema3 } from "@xyo-network/boundwitness-model";
67
- import { boundWitnessJsonSchema as boundWitnessJsonSchema3 } from "@xyo-network/boundwitness-wrapper";
68
- import { PayloadBuilder as PayloadBuilder3 } from "@xyo-network/payload-builder";
69
- import { Uint256RegEx } from "@xyo-network/payload-wrapper";
70
73
  import { SchemaSchema as SchemaSchema3 } from "@xyo-network/schema-payload-plugin";
74
+ import {
75
+ boundWitnessJsonSchema as boundWitnessJsonSchema3,
76
+ PayloadBuilder as PayloadBuilder3,
77
+ Uint256RegEx
78
+ } from "@xyo-network/sdk-js";
71
79
 
72
80
  // src/Executable.ts
73
81
  var ExecutableJsonSchema = {
@@ -111,10 +119,12 @@ var TransactionBoundWitnessSchemaPayload = new PayloadBuilder3({ schema: SchemaS
111
119
  // src/boundwitness/TransactionBoundWitnessWithStorageMeta.ts
112
120
  import { AddressRegEx as AddressRegEx3 } from "@xylabs/sdk-js";
113
121
  import { BoundWitnessSchema as BoundWitnessSchema4 } from "@xyo-network/boundwitness-model";
114
- import { boundWitnessJsonSchema as boundWitnessJsonSchema4 } from "@xyo-network/boundwitness-wrapper";
115
- import { PayloadBuilder as PayloadBuilder4 } from "@xyo-network/payload-builder";
116
- import { Uint256RegEx as Uint256RegEx2 } from "@xyo-network/payload-wrapper";
117
122
  import { SchemaSchema as SchemaSchema4 } from "@xyo-network/schema-payload-plugin";
123
+ import {
124
+ boundWitnessJsonSchema as boundWitnessJsonSchema4,
125
+ PayloadBuilder as PayloadBuilder4,
126
+ Uint256RegEx as Uint256RegEx2
127
+ } from "@xyo-network/sdk-js";
118
128
  var TransactionBoundWitnessWithStorageMetaJsonSchema = {
119
129
  ...boundWitnessJsonSchema4,
120
130
  $id: "https://schemas.xyo.network/2.0/transaction-with-storage-meta",
@@ -135,9 +145,8 @@ var TransactionBoundWitnessWithStorageMetaSchemaPayload = new PayloadBuilder4({
135
145
 
136
146
  // src/payload/ChainStakeIntent.ts
137
147
  import { AddressRegEx as AddressRegEx4 } from "@xylabs/sdk-js";
138
- import { PayloadBuilder as PayloadBuilder5 } from "@xyo-network/payload-builder";
139
- import { payloadJsonSchema } from "@xyo-network/payload-wrapper";
140
148
  import { SchemaSchema as SchemaSchema5 } from "@xyo-network/schema-payload-plugin";
149
+ import { PayloadBuilder as PayloadBuilder5, payloadJsonSchema } from "@xyo-network/sdk-js";
141
150
  import { ChainStakeIntentSchema } from "@xyo-network/xl1-protocol";
142
151
  var ChainStakeIntentPayloadJsonSchema = {
143
152
  ...payloadJsonSchema,
@@ -156,9 +165,8 @@ var ChainStakeIntentPayloadJsonSchemaPayload = new PayloadBuilder5({ schema: Sch
156
165
 
157
166
  // src/payload/HashPayload.ts
158
167
  import { HashRegEx as HashRegEx3 } from "@xylabs/sdk-js";
159
- import { PayloadBuilder as PayloadBuilder6 } from "@xyo-network/payload-builder";
160
- import { payloadJsonSchema as payloadJsonSchema2 } from "@xyo-network/payload-wrapper";
161
168
  import { SchemaSchema as SchemaSchema6 } from "@xyo-network/schema-payload-plugin";
169
+ import { PayloadBuilder as PayloadBuilder6, payloadJsonSchema as payloadJsonSchema2 } from "@xyo-network/sdk-js";
162
170
  import { HashSchema } from "@xyo-network/xl1-protocol";
163
171
  var HashPayloadJsonSchema = {
164
172
  ...payloadJsonSchema2,
@@ -176,9 +184,12 @@ var HashPayloadJsonSchemaPayload = new PayloadBuilder6({ schema: SchemaSchema6 }
176
184
 
177
185
  // src/payload/TransferPayload.ts
178
186
  import { AddressRegEx as AddressRegEx5 } from "@xylabs/sdk-js";
179
- import { PayloadBuilder as PayloadBuilder7 } from "@xyo-network/payload-builder";
180
- import { payloadJsonSchema as payloadJsonSchema3, Uint256RegEx as Uint256RegEx3 } from "@xyo-network/payload-wrapper";
181
187
  import { SchemaSchema as SchemaSchema7 } from "@xyo-network/schema-payload-plugin";
188
+ import {
189
+ PayloadBuilder as PayloadBuilder7,
190
+ payloadJsonSchema as payloadJsonSchema3,
191
+ Uint256RegEx as Uint256RegEx3
192
+ } from "@xyo-network/sdk-js";
182
193
  import { TransferSchema } from "@xyo-network/xl1-protocol";
183
194
  var TransferPayloadJsonSchema = {
184
195
  ...payloadJsonSchema3,
@@ -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,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,MACnD,MAAM;AAAA,IACR;AAAA,IACA,QAAQ,EAAE,MAAM,UAAU;AAAA,IAC1B,QAAQ,EAAE,MAAM,UAAU,SAAS,mBAAmB;AAAA,EACxD;AAAA,EACA,UAAU,CAAC,GAAG,uBAAuB,UAAU,SAAS,SAAS,eAAe,YAAY,QAAQ;AAAA,EACpG,MAAM;AACR;AAEO,IAAM,iCAAiC,IAAI,eAA8B,EAAE,QAAQ,aAAa,CAAC,EACrG,OAAO,EAAE,YAAY,4BAA4B,CAAC,EAAE,MAAM;;;AC/B7D,SAAS,sBAAAA,2BAA0B;AACnC,SAAS,0BAAAC,yBAAwB,0BAAAC,+BAA8B;AAC/D,SAAS,kBAAAC,uBAAsB;AAG/B,SAAS,gBAAAC,qBAAoB;;;ACL7B,SAAS,aAAAC,YAAW,gBAAgB;AAI7B,IAAM,wBAAqD;AAAA,EAChE,KAAK;AAAA,EACL,YAAY;AAAA,IACV,WAAW,EAAE,MAAM,UAAU,S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AAM,EAAE,MAAM,UAAU,SAASF,WAAU,OAAO;AAAA,IAClD,QAAQ,EAAE,MAAM,UAAU,SAAS,WAAW;AAAA,EAChD;AAAA,EACA,UAAU,CAAC,GAAGE,mBAAkB,UAAU,MAAM;AAAA,EAChD,MAAM;AACR;AAEO,IAAM,+BAA+B,IAAID,gBAA8B,EAAE,QAAQE,cAAa,CAAC,EACnG,OAAO,EAAE,YAAY,sBAAsB,CAAC,EAAE,MAAM;;;ACvBvD,SAAS,gBAAAC,qBAAoB;AAC7B,SAAS,kBAAAC,uBAAsB;AAC/B,SAAS,qBAAAC,oBAAmB,gBAAAC,qBAAoB;AAEhD,SAAS,gBAAAC,qBAAoB;AAE7B,SAAS,sBAAsB;AAGxB,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,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"]}
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 type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport {\n boundWitnessJsonSchema, boundWitnessProperties, PayloadBuilder,\n} from '@xyo-network/sdk-js'\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 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 {\n boundWitnessJsonSchema, boundWitnessProperties, PayloadBuilder,\n} from '@xyo-network/sdk-js'\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 type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport {\n boundWitnessJsonSchema, PayloadBuilder, Uint256RegEx,\n} from '@xyo-network/sdk-js'\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 type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport {\n boundWitnessJsonSchema, PayloadBuilder, Uint256RegEx,\n} from '@xyo-network/sdk-js'\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 type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport { PayloadBuilder, payloadJsonSchema } from '@xyo-network/sdk-js'\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 type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport { PayloadBuilder, payloadJsonSchema } from '@xyo-network/sdk-js'\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 type { SchemaPayload } from '@xyo-network/schema-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\nimport {\n PayloadBuilder, payloadJsonSchema, Uint256RegEx,\n} from '@xyo-network/sdk-js'\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;AAEnC,SAAS,oBAAoB;AAC7B;AAAA,EACE;AAAA,EAAwB;AAAA,EAAwB;AAAA,OAC3C;AAIA,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,UAAU,CAAC,GAAG,uBAAuB,UAAU,SAAS,SAAS,eAAe,YAAY,QAAQ;AAAA,EACpG,MAAM;AACR;AAEO,IA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AAA,EACpD;AAAA,EACA,UAAU,CAAC,GAAGD,mBAAkB,UAAU,aAAa,OAAO;AAAA,EAC9D,MAAM;AACR;AAEO,IAAM,mCAAmC,IAAID,gBAA8B,EAAE,QAAQD,cAAa,CAAC,EACvG,OAAO,EAAE,YAAY,0BAA0B,CAAC,EAAE,MAAM;","names":["BoundWitnessSchema","SchemaSchema","boundWitnessJsonSchema","boundWitnessProperties","PayloadBuilder","HashRegEx","boundWitnessProperties","BoundWitnessSchema","boundWitnessJsonSchema","PayloadBuilder","SchemaSchema","AddressRegEx","BoundWitnessSchema","SchemaSchema","boundWitnessJsonSchema","PayloadBuilder","boundWitnessJsonSchema","AddressRegEx","BoundWitnessSchema","PayloadBuilder","SchemaSchema","AddressRegEx","BoundWitnessSchema","SchemaSchema","boundWitnessJsonSchema","PayloadBuilder","Uint256RegEx","boundWitnessJsonSchema","AddressRegEx","Uint256RegEx","BoundWitnessSchema","PayloadBuilder","SchemaSchema","AddressRegEx","SchemaSchema","PayloadBuilder","HashRegEx","SchemaSchema","PayloadBuilder","payloadJsonSchema","AddressRegEx","SchemaSchema","PayloadBuilder","payloadJsonSchema","Uint256RegEx"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ChainStakeIntent.d.ts","sourceRoot":"","sources":["../../../src/payload/ChainStakeIntent.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAEvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAEjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,gBAAgB,CAY9E,CAAA;AAED,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,oCAAoC,CAAA;AAGvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAEjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,gBAAgB,CAY9E,CAAA;AAED,eAAO,MAAM,wCAAwC,eACe,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"HashPayload.d.ts","sourceRoot":"","sources":["../../../src/payload/HashPayload.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAEvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAE5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,WAAW,CAW7D,CAAA;AAED,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,oCAAoC,CAAA;AAGvE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAE5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,eAAO,MAAM,qBAAqB,EAAE,cAAc,CAAC,WAAW,CAW7D,CAAA;AAED,eAAO,MAAM,4BAA4B,eACe,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"TransferPayload.d.ts","sourceRoot":"","sources":["../../../src/payload/TransferPayload.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAEvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AAEzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,eAAO,MAAM,yBAAyB,EAAE,cAAc,CAAC,QAAQ,CAiB9D,CAAA;AAED,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,oCAAoC,CAAA;AAKvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AAEzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAA;AAEzC,eAAO,MAAM,yBAAyB,EAAE,cAAc,CAAC,QAAQ,CAiB9D,CAAA;AAED,eAAO,MAAM,gCAAgC,eACe,CAAA"}
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.24.2",
4
+ "version": "1.24.3",
5
5
  "description": "XYO Layer One SDK Schema",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -41,12 +41,10 @@
41
41
  "dependencies": {
42
42
  "@xylabs/sdk-js": "~5.0.79",
43
43
  "@xyo-network/boundwitness-model": "~5.3.2",
44
- "@xyo-network/boundwitness-wrapper": "~5.3.2",
45
- "@xyo-network/payload-builder": "~5.3.2",
46
44
  "@xyo-network/payload-model": "~5.3.2",
47
- "@xyo-network/payload-wrapper": "~5.3.2",
48
45
  "@xyo-network/schema-payload-plugin": "~5.3.2",
49
- "@xyo-network/xl1-protocol": "~1.24.2"
46
+ "@xyo-network/sdk-js": "~5.3.2",
47
+ "@xyo-network/xl1-protocol": "~1.24.3"
50
48
  },
51
49
  "devDependencies": {
52
50
  "@types/node": "~25.2.3",
@@ -1,9 +1,10 @@
1
1
  import { AddressRegEx, HashRegEx } from '@xylabs/sdk-js'
2
2
  import { BoundWitnessSchema } from '@xyo-network/boundwitness-model'
3
- import { boundWitnessJsonSchema, boundWitnessProperties } from '@xyo-network/boundwitness-wrapper'
4
- import { PayloadBuilder } from '@xyo-network/payload-builder'
5
3
  import type { SchemaPayload } from '@xyo-network/schema-payload-plugin'
6
4
  import { SchemaSchema } from '@xyo-network/schema-payload-plugin'
5
+ import {
6
+ boundWitnessJsonSchema, boundWitnessProperties, PayloadBuilder,
7
+ } from '@xyo-network/sdk-js'
7
8
  import type { BlockBoundWitness } from '@xyo-network/xl1-protocol'
8
9
  import type { JSONSchemaType } from 'ajv'
9
10
 
@@ -1,9 +1,10 @@
1
1
  import { BoundWitnessSchema } from '@xyo-network/boundwitness-model'
2
- import { boundWitnessJsonSchema, boundWitnessProperties } from '@xyo-network/boundwitness-wrapper'
3
- import { PayloadBuilder } from '@xyo-network/payload-builder'
4
2
  import type { WithStorageMeta } from '@xyo-network/payload-model'
5
3
  import type { SchemaPayload } from '@xyo-network/schema-payload-plugin'
6
4
  import { SchemaSchema } from '@xyo-network/schema-payload-plugin'
5
+ import {
6
+ boundWitnessJsonSchema, boundWitnessProperties, PayloadBuilder,
7
+ } from '@xyo-network/sdk-js'
7
8
  import type { BlockBoundWitness } from '@xyo-network/xl1-protocol'
8
9
  import type { JSONSchemaType } from 'ajv'
9
10
 
@@ -1,10 +1,10 @@
1
1
  import { AddressRegEx } from '@xylabs/sdk-js'
2
2
  import { BoundWitnessSchema } from '@xyo-network/boundwitness-model'
3
- import { boundWitnessJsonSchema } from '@xyo-network/boundwitness-wrapper'
4
- import { PayloadBuilder } from '@xyo-network/payload-builder'
5
- import { Uint256RegEx } from '@xyo-network/payload-wrapper'
6
3
  import type { SchemaPayload } from '@xyo-network/schema-payload-plugin'
7
4
  import { SchemaSchema } from '@xyo-network/schema-payload-plugin'
5
+ import {
6
+ boundWitnessJsonSchema, PayloadBuilder, Uint256RegEx,
7
+ } from '@xyo-network/sdk-js'
8
8
  import type { TransactionBoundWitness } from '@xyo-network/xl1-protocol'
9
9
  import type { JSONSchemaType } from 'ajv'
10
10
 
@@ -1,10 +1,10 @@
1
1
  import { AddressRegEx } from '@xylabs/sdk-js'
2
2
  import { BoundWitnessSchema } from '@xyo-network/boundwitness-model'
3
- import { boundWitnessJsonSchema } from '@xyo-network/boundwitness-wrapper'
4
- import { PayloadBuilder } from '@xyo-network/payload-builder'
5
- import { Uint256RegEx } from '@xyo-network/payload-wrapper'
6
3
  import type { SchemaPayload } from '@xyo-network/schema-payload-plugin'
7
4
  import { SchemaSchema } from '@xyo-network/schema-payload-plugin'
5
+ import {
6
+ boundWitnessJsonSchema, PayloadBuilder, Uint256RegEx,
7
+ } from '@xyo-network/sdk-js'
8
8
  import type { TransactionBoundWitness } from '@xyo-network/xl1-protocol'
9
9
  import type { JSONSchemaType } from 'ajv'
10
10
 
@@ -1,8 +1,7 @@
1
1
  import { AddressRegEx } from '@xylabs/sdk-js'
2
- import { PayloadBuilder } from '@xyo-network/payload-builder'
3
- import { payloadJsonSchema } from '@xyo-network/payload-wrapper'
4
2
  import type { SchemaPayload } from '@xyo-network/schema-payload-plugin'
5
3
  import { SchemaSchema } from '@xyo-network/schema-payload-plugin'
4
+ import { PayloadBuilder, payloadJsonSchema } from '@xyo-network/sdk-js'
6
5
  import type { ChainStakeIntent } from '@xyo-network/xl1-protocol'
7
6
  import { ChainStakeIntentSchema } from '@xyo-network/xl1-protocol'
8
7
  import type { JSONSchemaType } from 'ajv'
@@ -1,8 +1,7 @@
1
1
  import { HashRegEx } from '@xylabs/sdk-js'
2
- import { PayloadBuilder } from '@xyo-network/payload-builder'
3
- import { payloadJsonSchema } from '@xyo-network/payload-wrapper'
4
2
  import type { SchemaPayload } from '@xyo-network/schema-payload-plugin'
5
3
  import { SchemaSchema } from '@xyo-network/schema-payload-plugin'
4
+ import { PayloadBuilder, payloadJsonSchema } from '@xyo-network/sdk-js'
6
5
  import type { HashPayload } from '@xyo-network/xl1-protocol'
7
6
  import { HashSchema } from '@xyo-network/xl1-protocol'
8
7
  import type { JSONSchemaType } from 'ajv'
@@ -1,8 +1,9 @@
1
1
  import { AddressRegEx } from '@xylabs/sdk-js'
2
- import { PayloadBuilder } from '@xyo-network/payload-builder'
3
- import { payloadJsonSchema, Uint256RegEx } from '@xyo-network/payload-wrapper'
4
2
  import type { SchemaPayload } from '@xyo-network/schema-payload-plugin'
5
3
  import { SchemaSchema } from '@xyo-network/schema-payload-plugin'
4
+ import {
5
+ PayloadBuilder, payloadJsonSchema, Uint256RegEx,
6
+ } from '@xyo-network/sdk-js'
6
7
  import type { Transfer } from '@xyo-network/xl1-protocol'
7
8
  import { TransferSchema } from '@xyo-network/xl1-protocol'
8
9
  import type { JSONSchemaType } from 'ajv'