@xyo-network/xl1-protocol 1.14.2 → 1.14.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.
package/dist/neutral/index.mjs
CHANGED
|
@@ -835,6 +835,7 @@ import {
|
|
|
835
835
|
zodIsFactory as zodIsFactory5,
|
|
836
836
|
zodToFactory as zodToFactory11
|
|
837
837
|
} from "@xylabs/zod";
|
|
838
|
+
import { HashMetaZod as HashMetaZod2, StorageMetaZod as StorageMetaZod3 } from "@xyo-network/payload-model";
|
|
838
839
|
import * as z21 from "zod";
|
|
839
840
|
|
|
840
841
|
// src/zod/TransactionFees.ts
|
|
@@ -894,14 +895,62 @@ var TransactionBoundWitnessZod = BoundWitnessZod.extend(BlockDurationZod.shape).
|
|
|
894
895
|
var isTransactionBoundWitness = zodIsFactory5(TransactionBoundWitnessZod);
|
|
895
896
|
var asTransactionBoundWitness = zodAsFactory11(TransactionBoundWitnessZod, "asTransactionBoundWitness");
|
|
896
897
|
var toTransactionBoundWitness = zodToFactory11(TransactionBoundWitnessZod, "toTransactionBoundWitness");
|
|
898
|
+
var TransactionBoundWitnessWithHashMetaZod = TransactionBoundWitnessZod.extend(HashMetaZod2.shape);
|
|
899
|
+
var isTransactionBoundWitnessWithHashMeta = zodIsFactory5(TransactionBoundWitnessWithHashMetaZod);
|
|
900
|
+
var asTransactionBoundWitnessWithHashMeta = zodAsFactory11(TransactionBoundWitnessWithHashMetaZod, "asTransactionBoundWitnessWithHashMeta");
|
|
901
|
+
var toTransactionBoundWitnessWithHashMeta = zodToFactory11(TransactionBoundWitnessWithHashMetaZod, "toTransactionBoundWitnessWithHashMeta");
|
|
902
|
+
var TransactionBoundWitnessWithStorageMetaZod = TransactionBoundWitnessZod.extend(StorageMetaZod3.shape);
|
|
903
|
+
var isTransactionBoundWitnessWithStorageMeta = zodIsFactory5(TransactionBoundWitnessWithStorageMetaZod);
|
|
904
|
+
var asTransactionBoundWitnessWithStorageMeta = zodAsFactory11(TransactionBoundWitnessWithStorageMetaZod, "asTransactionBoundWitnessWithStorageMeta");
|
|
905
|
+
var toTransactionBoundWitnessWithStorageMeta = zodToFactory11(TransactionBoundWitnessWithStorageMetaZod, "toTransactionBoundWitnessWithStorageMeta");
|
|
897
906
|
var UnsignedTransactionBoundWitnessZod = UnsignedBoundWitnessZod.extend(BlockDurationZod.shape).extend(TransactionFeesZod.shape).extend(TransactionBoundWitnessFields.shape).extend(BlockScriptsZod.shape);
|
|
898
907
|
var isUnsignedTransactionBoundWitness = zodIsFactory5(UnsignedTransactionBoundWitnessZod);
|
|
899
908
|
var asUnsignedTransactionBoundWitness = zodAsFactory11(UnsignedTransactionBoundWitnessZod, "asUnsignedTransactionBoundWitness");
|
|
900
909
|
var toUnsignedTransactionBoundWitness = zodToFactory11(UnsignedTransactionBoundWitnessZod, "toUnsignedTransactionBoundWitness");
|
|
910
|
+
var UnsignedTransactionBoundWitnessWithHashMetaZod = UnsignedTransactionBoundWitnessZod.extend(HashMetaZod2.shape);
|
|
911
|
+
var isUnsignedTransactionBoundWitnessWithHashMeta = zodIsFactory5(UnsignedTransactionBoundWitnessWithHashMetaZod);
|
|
912
|
+
var asUnsignedTransactionBoundWitnessWithHashMeta = zodAsFactory11(
|
|
913
|
+
UnsignedTransactionBoundWitnessWithHashMetaZod,
|
|
914
|
+
"asUnsignedTransactionBoundWitnessWithHashMeta"
|
|
915
|
+
);
|
|
916
|
+
var toUnsignedTransactionBoundWitnessWithHashMeta = zodToFactory11(
|
|
917
|
+
UnsignedTransactionBoundWitnessWithHashMetaZod,
|
|
918
|
+
"toUnsignedTransactionBoundWitnessWithHashMeta"
|
|
919
|
+
);
|
|
920
|
+
var UnsignedTransactionBoundWitnessWithStorageMetaZod = UnsignedTransactionBoundWitnessZod.extend(StorageMetaZod3.shape);
|
|
921
|
+
var isUnsignedTransactionBoundWitnessWithStorageMeta = zodIsFactory5(UnsignedTransactionBoundWitnessWithStorageMetaZod);
|
|
922
|
+
var asUnsignedTransactionBoundWitnessWithStorageMeta = zodAsFactory11(
|
|
923
|
+
UnsignedTransactionBoundWitnessWithStorageMetaZod,
|
|
924
|
+
"asUnsignedTransactionBoundWitnessWithStorageMeta"
|
|
925
|
+
);
|
|
926
|
+
var toUnsignedTransactionBoundWitnessWithStorageMeta = zodToFactory11(
|
|
927
|
+
UnsignedTransactionBoundWitnessWithStorageMetaZod,
|
|
928
|
+
"toUnsignedTransactionBoundWitnessWithStorageMeta"
|
|
929
|
+
);
|
|
901
930
|
var SignedTransactionBoundWitnessZod = SignedBoundWitnessZod.extend(BlockDurationZod.shape).extend(TransactionFeesZod.shape).extend(TransactionBoundWitnessFields.shape).extend(BlockScriptsZod.shape);
|
|
902
931
|
var isSignedTransactionBoundWitness = zodIsFactory5(SignedTransactionBoundWitnessZod);
|
|
903
932
|
var asSignedTransactionBoundWitness = zodAsFactory11(SignedTransactionBoundWitnessZod, "asSignedTransactionBoundWitness");
|
|
904
933
|
var toSignedTransactionBoundWitness = zodToFactory11(SignedTransactionBoundWitnessZod, "toSignedTransactionBoundWitness");
|
|
934
|
+
var SignedTransactionBoundWitnessWithHashMetaZod = SignedTransactionBoundWitnessZod.extend(HashMetaZod2.shape);
|
|
935
|
+
var isSignedTransactionBoundWitnessWithHashMeta = zodIsFactory5(SignedTransactionBoundWitnessWithHashMetaZod);
|
|
936
|
+
var asSignedTransactionBoundWitnessWithHashMeta = zodAsFactory11(
|
|
937
|
+
SignedTransactionBoundWitnessWithHashMetaZod,
|
|
938
|
+
"asSignedTransactionBoundWitnessWithHashMeta"
|
|
939
|
+
);
|
|
940
|
+
var toSignedTransactionBoundWitnessWithHashMeta = zodToFactory11(
|
|
941
|
+
SignedTransactionBoundWitnessWithHashMetaZod,
|
|
942
|
+
"toSignedTransactionBoundWitnessWithHashMeta"
|
|
943
|
+
);
|
|
944
|
+
var SignedTransactionBoundWitnessWithStorageMetaZod = SignedTransactionBoundWitnessZod.extend(StorageMetaZod3.shape);
|
|
945
|
+
var isSignedTransactionBoundWitnessWithStorageMeta = zodIsFactory5(SignedTransactionBoundWitnessWithStorageMetaZod);
|
|
946
|
+
var asSignedTransactionBoundWitnessWithStorageMeta = zodAsFactory11(
|
|
947
|
+
SignedTransactionBoundWitnessWithStorageMetaZod,
|
|
948
|
+
"asSignedTransactionBoundWitnessWithStorageMeta"
|
|
949
|
+
);
|
|
950
|
+
var toSignedTransactionBoundWitnessWithStorageMeta = zodToFactory11(
|
|
951
|
+
SignedTransactionBoundWitnessWithStorageMetaZod,
|
|
952
|
+
"toSignedTransactionBoundWitnessWithStorageMeta"
|
|
953
|
+
);
|
|
905
954
|
|
|
906
955
|
// src/zod/HydratedTransaction.ts
|
|
907
956
|
var HydratedTransactionZod = z22.tuple([
|
|
@@ -1384,6 +1433,8 @@ export {
|
|
|
1384
1433
|
SignedHydratedTransactionWithHashMetaZod,
|
|
1385
1434
|
SignedHydratedTransactionWithStorageMetaZod,
|
|
1386
1435
|
SignedHydratedTransactionZod,
|
|
1436
|
+
SignedTransactionBoundWitnessWithHashMetaZod,
|
|
1437
|
+
SignedTransactionBoundWitnessWithStorageMetaZod,
|
|
1387
1438
|
SignedTransactionBoundWitnessZod,
|
|
1388
1439
|
SignedZod,
|
|
1389
1440
|
StakeToJsonZod,
|
|
@@ -1397,6 +1448,8 @@ export {
|
|
|
1397
1448
|
TimeFieldsZod,
|
|
1398
1449
|
TimePayloadZod,
|
|
1399
1450
|
TimeSchema,
|
|
1451
|
+
TransactionBoundWitnessWithHashMetaZod,
|
|
1452
|
+
TransactionBoundWitnessWithStorageMetaZod,
|
|
1400
1453
|
TransactionBoundWitnessZod,
|
|
1401
1454
|
TransactionFeesBigIntToJsonZod,
|
|
1402
1455
|
TransactionFeesBigIntZod,
|
|
@@ -1416,6 +1469,8 @@ export {
|
|
|
1416
1469
|
UnsignedHydratedTransactionWithHashMetaZod,
|
|
1417
1470
|
UnsignedHydratedTransactionWithStorageMetaZod,
|
|
1418
1471
|
UnsignedHydratedTransactionZod,
|
|
1472
|
+
UnsignedTransactionBoundWitnessWithHashMetaZod,
|
|
1473
|
+
UnsignedTransactionBoundWitnessWithStorageMetaZod,
|
|
1419
1474
|
UnsignedTransactionBoundWitnessZod,
|
|
1420
1475
|
UnsignedZod,
|
|
1421
1476
|
ValidationError,
|
|
@@ -1480,12 +1535,16 @@ export {
|
|
|
1480
1535
|
asSignedHydratedTransactionWithHashMeta,
|
|
1481
1536
|
asSignedHydratedTransactionWithStorageMeta,
|
|
1482
1537
|
asSignedTransactionBoundWitness,
|
|
1538
|
+
asSignedTransactionBoundWitnessWithHashMeta,
|
|
1539
|
+
asSignedTransactionBoundWitnessWithStorageMeta,
|
|
1483
1540
|
asStepComplete,
|
|
1484
1541
|
asStepIdentity,
|
|
1485
1542
|
asStepIdentityPayload,
|
|
1486
1543
|
asTimePayload,
|
|
1487
1544
|
asTimePayloadWithStorageMeta,
|
|
1488
1545
|
asTransactionBoundWitness,
|
|
1546
|
+
asTransactionBoundWitnessWithHashMeta,
|
|
1547
|
+
asTransactionBoundWitnessWithStorageMeta,
|
|
1489
1548
|
asTransactionFeesBigInt,
|
|
1490
1549
|
asTransactionFeesHex,
|
|
1491
1550
|
asTransfer,
|
|
@@ -1496,6 +1555,8 @@ export {
|
|
|
1496
1555
|
asUnsignedHydratedTransactionWithHashMeta,
|
|
1497
1556
|
asUnsignedHydratedTransactionWithStorageMeta,
|
|
1498
1557
|
asUnsignedTransactionBoundWitness,
|
|
1558
|
+
asUnsignedTransactionBoundWitnessWithHashMeta,
|
|
1559
|
+
asUnsignedTransactionBoundWitnessWithStorageMeta,
|
|
1499
1560
|
asValidStep,
|
|
1500
1561
|
asXL1,
|
|
1501
1562
|
asXL1BlockNumber,
|
|
@@ -1550,10 +1611,14 @@ export {
|
|
|
1550
1611
|
isSignedHydratedTransactionWithHashMeta,
|
|
1551
1612
|
isSignedHydratedTransactionWithStorageMeta,
|
|
1552
1613
|
isSignedTransactionBoundWitness,
|
|
1614
|
+
isSignedTransactionBoundWitnessWithHashMeta,
|
|
1615
|
+
isSignedTransactionBoundWitnessWithStorageMeta,
|
|
1553
1616
|
isStepComplete,
|
|
1554
1617
|
isStepIdentityPayload,
|
|
1555
1618
|
isTimePayload,
|
|
1556
1619
|
isTransactionBoundWitness,
|
|
1620
|
+
isTransactionBoundWitnessWithHashMeta,
|
|
1621
|
+
isTransactionBoundWitnessWithStorageMeta,
|
|
1557
1622
|
isTransactionFeesBigInt,
|
|
1558
1623
|
isTransactionFeesHex,
|
|
1559
1624
|
isTransfer,
|
|
@@ -1564,6 +1629,8 @@ export {
|
|
|
1564
1629
|
isUnsignedHydratedTransactionWithHashMeta,
|
|
1565
1630
|
isUnsignedHydratedTransactionWithStorageMeta,
|
|
1566
1631
|
isUnsignedTransactionBoundWitness,
|
|
1632
|
+
isUnsignedTransactionBoundWitnessWithHashMeta,
|
|
1633
|
+
isUnsignedTransactionBoundWitnessWithStorageMeta,
|
|
1567
1634
|
isValidStep,
|
|
1568
1635
|
isValidationError,
|
|
1569
1636
|
isXL1,
|
|
@@ -1603,7 +1670,11 @@ export {
|
|
|
1603
1670
|
toSignedHydratedTransactionWithHashMeta,
|
|
1604
1671
|
toSignedHydratedTransactionWithStorageMeta,
|
|
1605
1672
|
toSignedTransactionBoundWitness,
|
|
1673
|
+
toSignedTransactionBoundWitnessWithHashMeta,
|
|
1674
|
+
toSignedTransactionBoundWitnessWithStorageMeta,
|
|
1606
1675
|
toTransactionBoundWitness,
|
|
1676
|
+
toTransactionBoundWitnessWithHashMeta,
|
|
1677
|
+
toTransactionBoundWitnessWithStorageMeta,
|
|
1607
1678
|
toTransactionFeesBigInt,
|
|
1608
1679
|
toTransactionFeesHex,
|
|
1609
1680
|
toUnsignedBlockBoundWitness,
|
|
@@ -1613,6 +1684,8 @@ export {
|
|
|
1613
1684
|
toUnsignedHydratedTransactionWithHashMeta,
|
|
1614
1685
|
toUnsignedHydratedTransactionWithStorageMeta,
|
|
1615
1686
|
toUnsignedTransactionBoundWitness,
|
|
1687
|
+
toUnsignedTransactionBoundWitnessWithHashMeta,
|
|
1688
|
+
toUnsignedTransactionBoundWitnessWithStorageMeta,
|
|
1616
1689
|
toXL1,
|
|
1617
1690
|
toXL1BlockNumber,
|
|
1618
1691
|
toXL1BlockNumberKey,
|