@xyo-network/xl1-protocol 1.18.21 → 1.18.22

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.
@@ -0,0 +1,3 @@
1
+ export * from './signedHydratedTransaction.ts';
2
+ export * from './unsignedHydratedTransaction.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/zod/spec/fixtures/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAA;AAC9C,cAAc,kCAAkC,CAAA"}
@@ -0,0 +1,44 @@
1
+ export declare const signedHydratedTransactionWithHashMeta: ({
2
+ schema: string;
3
+ addresses: string[];
4
+ payload_hashes: string[];
5
+ payload_schemas: string[];
6
+ previous_hashes: null[];
7
+ $signatures: string[];
8
+ nbf: number;
9
+ exp: number;
10
+ fees: {
11
+ base: string;
12
+ gasLimit: string;
13
+ gasPrice: string;
14
+ priority: string;
15
+ };
16
+ chain: string;
17
+ from: string;
18
+ _dataHash: string;
19
+ _hash: string;
20
+ _sequence: string;
21
+ } | {
22
+ askPrice: number;
23
+ askPriceRate: null;
24
+ askQtyBookTotal: number;
25
+ askQuantity: number;
26
+ bidPrice: number;
27
+ bidPriceRate: null;
28
+ bidQtyBookTotal: number;
29
+ bidQuantity: number;
30
+ high: null;
31
+ lastPrice: null;
32
+ lastQuantity: null;
33
+ low: null;
34
+ open: null;
35
+ prevClosePx: number;
36
+ schema: string;
37
+ symbol: string;
38
+ timestamp: string;
39
+ volume: number;
40
+ _dataHash: string;
41
+ _hash: string;
42
+ _sequence: string;
43
+ }[])[];
44
+ //# sourceMappingURL=signedHydratedTransaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signedHydratedTransaction.d.ts","sourceRoot":"","sources":["../../../../../src/zod/spec/fixtures/signedHydratedTransaction.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAyDjD,CAAA"}
@@ -0,0 +1,34 @@
1
+ export declare const unsignedHydratedTransactionWithHashMeta: ({
2
+ $signatures: never[];
3
+ addresses: never[];
4
+ chain: string;
5
+ exp: number;
6
+ fees: {
7
+ base: string;
8
+ gasLimit: string;
9
+ gasPrice: string;
10
+ priority: string;
11
+ };
12
+ from: string;
13
+ nbf: number;
14
+ payload_hashes: string[];
15
+ payload_schemas: string[];
16
+ previous_hashes: never[];
17
+ schema: string;
18
+ script: string[];
19
+ _dataHash: string;
20
+ _hash: string;
21
+ } | ({
22
+ hash: string;
23
+ schema: string;
24
+ _dataHash: string;
25
+ _hash: string;
26
+ salt?: undefined;
27
+ } | {
28
+ salt: string;
29
+ schema: string;
30
+ _dataHash: string;
31
+ _hash: string;
32
+ hash?: undefined;
33
+ })[])[];
34
+ //# sourceMappingURL=unsignedHydratedTransaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unsignedHydratedTransaction.d.ts","sourceRoot":"","sources":["../../../../../src/zod/spec/fixtures/unsignedHydratedTransaction.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6DnD,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-protocol",
4
- "version": "1.18.21",
4
+ "version": "1.18.22",
5
5
  "description": "XYO Layer One Protocol",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -0,0 +1,2 @@
1
+ export * from './signedHydratedTransaction.ts'
2
+ export * from './unsignedHydratedTransaction.ts'
@@ -0,0 +1,58 @@
1
+ export const signedHydratedTransactionWithHashMeta = [
2
+ {
3
+ schema: 'network.xyo.boundwitness',
4
+ addresses: [
5
+ 'ae2966ff28d3b82e91dbec3fb1e285152ba2e782',
6
+ ],
7
+ payload_hashes: [
8
+ '7c4deb6830f9c2f45d61691467825dd1ec08c22b1ac178d8b0737af714a4a636',
9
+ 'b0a65744aac6d5a1cc79af5e51d6631618c2b6672f294b1972760019a9b4e174',
10
+ ],
11
+ payload_schemas: [
12
+ 'network.xyo.boundwitness',
13
+ 'network.xyo.stock.market.tzero.snapshot',
14
+ ],
15
+ previous_hashes: [
16
+ null,
17
+ ],
18
+ $signatures: [
19
+ 'fa229bc173704cdbe226f44e15f1f7a7df44fdfe575ffc96ce6f24574b21065f02c3a4d8f84beb01dfd26d70128ca0cb2f69b4f9ec912c2310e4ee5f999619d3',
20
+ ],
21
+ nbf: 250_042,
22
+ exp: 250_052,
23
+ fees: {
24
+ base: 'e8d4a51000',
25
+ gasLimit: '038d7ea4c68000',
26
+ gasPrice: '02540be400',
27
+ priority: '00',
28
+ },
29
+ chain: 'dd381fbb392c85160d8b0453e446757b12384046',
30
+ from: 'ae2966ff28d3b82e91dbec3fb1e285152ba2e782',
31
+ _dataHash: 'c3afe940115d0bc2581567d59586f42e5be3f2fe6b42520834a0ec3920dee98b',
32
+ _hash: 'f8b6222c9361e60ddff5982b4e88d3746c2e072edaf58611368b0ad651ee67c2',
33
+ _sequence: '00000000000000000000000051ee67c2',
34
+ },
35
+ [{
36
+ askPrice: 0.28,
37
+ askPriceRate: null,
38
+ askQtyBookTotal: 140_619,
39
+ askQuantity: 716,
40
+ bidPrice: 0.18,
41
+ bidPriceRate: null,
42
+ bidQtyBookTotal: 7688,
43
+ bidQuantity: 2,
44
+ high: null,
45
+ lastPrice: null,
46
+ lastQuantity: null,
47
+ low: null,
48
+ open: null,
49
+ prevClosePx: 0.28,
50
+ schema: 'network.xyo.stock.market.tzero.snapshot',
51
+ symbol: 'XYLB',
52
+ timestamp: '2026-01-19T17:22:02.108746148-05:00',
53
+ volume: 0,
54
+ _dataHash: 'b0a65744aac6d5a1cc79af5e51d6631618c2b6672f294b1972760019a9b4e174',
55
+ _hash: 'b0a65744aac6d5a1cc79af5e51d6631618c2b6672f294b1972760019a9b4e174',
56
+ _sequence: '0000019bd859cdf500000001a9b4e174',
57
+ }],
58
+ ]
@@ -0,0 +1,62 @@
1
+ export const unsignedHydratedTransactionWithHashMeta = [
2
+ {
3
+ $signatures: [],
4
+ addresses: [],
5
+ chain: '944ac6a2ffc27ab773f34193e43f20ab7542b0ea',
6
+ exp: 11,
7
+ fees: {
8
+ base: 'e8d4a51000',
9
+ gasLimit: '038d7ea4c68000',
10
+ gasPrice: '02540be400',
11
+ priority: '00',
12
+ },
13
+ from: 'c5c9d2a8e8d0b0eba521aec623ffcb9e0982f513',
14
+ nbf: 1,
15
+ payload_hashes: [
16
+ '01bbcd4c58fd88488882ba54e13e92603f13c34695eda64780502acc80c3fcc1',
17
+ 'ff127a824dc672ff5b7a32d2c7deffcdde3cc417ad112510532f24a2e948516a',
18
+ '92693e6fefeed94eb80872ba9e2c86d7861fc84e4bc5b775ebe9966e68c26767',
19
+ '85009387d332dffa781bbf6fa107715f36f9d6b3294c5cc8fd1ce8ada207d2bb',
20
+ ],
21
+ payload_schemas: [
22
+ 'network.xyo.hash',
23
+ 'network.xyo.hash',
24
+ 'network.xyo.id',
25
+ 'network.xyo.id',
26
+ ],
27
+ previous_hashes: [],
28
+ schema: 'network.xyo.boundwitness',
29
+ script: [
30
+ 'elevate|01bbcd4c58fd88488882ba54e13e92603f13c34695eda64780502acc80c3fcc1',
31
+ 'elevate|ff127a824dc672ff5b7a32d2c7deffcdde3cc417ad112510532f24a2e948516a',
32
+ ],
33
+ _dataHash: '214029ca586455e66fea02896c6d69739e400917c08e4e8ec1e9818c4a19bb17',
34
+ _hash: '59aacdd66055a63e6a0686a33f155be5b6afca0630a9abfee7ae9e79f057eec8',
35
+ },
36
+ [
37
+ {
38
+ hash: '92693e6fefeed94eb80872ba9e2c86d7861fc84e4bc5b775ebe9966e68c26767',
39
+ schema: 'network.xyo.hash',
40
+ _dataHash: '01bbcd4c58fd88488882ba54e13e92603f13c34695eda64780502acc80c3fcc1',
41
+ _hash: '01bbcd4c58fd88488882ba54e13e92603f13c34695eda64780502acc80c3fcc1',
42
+ },
43
+ {
44
+ hash: '85009387d332dffa781bbf6fa107715f36f9d6b3294c5cc8fd1ce8ada207d2bb',
45
+ schema: 'network.xyo.hash',
46
+ _dataHash: 'ff127a824dc672ff5b7a32d2c7deffcdde3cc417ad112510532f24a2e948516a',
47
+ _hash: 'ff127a824dc672ff5b7a32d2c7deffcdde3cc417ad112510532f24a2e948516a',
48
+ },
49
+ {
50
+ salt: 'Hello from Sample 0 - 2026-01-15T22:41:36.587Z',
51
+ schema: 'network.xyo.id',
52
+ _dataHash: '92693e6fefeed94eb80872ba9e2c86d7861fc84e4bc5b775ebe9966e68c26767',
53
+ _hash: '92693e6fefeed94eb80872ba9e2c86d7861fc84e4bc5b775ebe9966e68c26767',
54
+ },
55
+ {
56
+ salt: 'Hello from Sample 1 - 2026-01-15T22:41:36.587Z',
57
+ schema: 'network.xyo.id',
58
+ _dataHash: '85009387d332dffa781bbf6fa107715f36f9d6b3294c5cc8fd1ce8ada207d2bb',
59
+ _hash: '85009387d332dffa781bbf6fa107715f36f9d6b3294c5cc8fd1ce8ada207d2bb',
60
+ },
61
+ ],
62
+ ]