@xyo-network/system-payload-plugins 2.32.0 → 2.33.0-rc.1

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.
Files changed (2) hide show
  1. package/dist/docs.json +269 -352
  2. package/package.json +4 -3
package/dist/docs.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "fileName": "plugins/packages/system/src/index.ts",
18
18
  "line": 9,
19
19
  "character": 0,
20
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/0a471bd/packages/plugins/packages/system/src/index.ts#L9"
20
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/cd475ec/packages/plugins/packages/system/src/index.ts#L9"
21
21
  }
22
22
  ],
23
23
  "target": 1
@@ -516,7 +516,7 @@
516
516
  }
517
517
  },
518
518
  {
519
- "id": 62,
519
+ "id": 70,
520
520
  "name": "bindHashes",
521
521
  "kind": 2048,
522
522
  "kindString": "Method",
@@ -524,20 +524,20 @@
524
524
  "sources": [
525
525
  {
526
526
  "fileName": "modules/packages/module/dist/esm/XyoModule.d.ts",
527
- "line": 21,
527
+ "line": 22,
528
528
  "character": 4
529
529
  }
530
530
  ],
531
531
  "signatures": [
532
532
  {
533
- "id": 63,
533
+ "id": 71,
534
534
  "name": "bindHashes",
535
535
  "kind": 4096,
536
536
  "kindString": "Call signature",
537
537
  "flags": {},
538
538
  "parameters": [
539
539
  {
540
- "id": 64,
540
+ "id": 72,
541
541
  "name": "hashes",
542
542
  "kind": 32768,
543
543
  "kindString": "Parameter",
@@ -551,7 +551,7 @@
551
551
  }
552
552
  },
553
553
  {
554
- "id": 65,
554
+ "id": 73,
555
555
  "name": "schema",
556
556
  "kind": 32768,
557
557
  "kindString": "Parameter",
@@ -563,128 +563,32 @@
563
563
  "name": "string"
564
564
  }
565
565
  }
566
+ },
567
+ {
568
+ "id": 74,
569
+ "name": "queryAccount",
570
+ "kind": 32768,
571
+ "kindString": "Parameter",
572
+ "flags": {},
573
+ "type": {
574
+ "type": "reference",
575
+ "name": "XyoAccount"
576
+ }
566
577
  }
567
578
  ],
568
579
  "type": {
569
580
  "type": "reference",
570
581
  "typeArguments": [
571
582
  {
572
- "type": "reference",
573
- "name": "XyoBoundWitness"
583
+ "type": "intrinsic",
584
+ "name": "unknown"
574
585
  },
575
586
  {
576
- "type": "reflection",
577
- "declaration": {
578
- "id": 66,
579
- "name": "__type",
580
- "kind": 65536,
581
- "kindString": "Type literal",
582
- "flags": {},
583
- "children": [
584
- {
585
- "id": 68,
586
- "name": "previousHash",
587
- "kind": 1024,
588
- "kindString": "Property",
589
- "flags": {
590
- "isOptional": true
591
- },
592
- "sources": [
593
- {
594
- "fileName": "modules/packages/module/dist/esm/XyoModule.d.ts",
595
- "line": 23,
596
- "character": 8
597
- }
598
- ],
599
- "type": {
600
- "type": "intrinsic",
601
- "name": "string"
602
- }
603
- },
604
- {
605
- "id": 67,
606
- "name": "schema",
607
- "kind": 1024,
608
- "kindString": "Property",
609
- "flags": {},
610
- "sources": [
611
- {
612
- "fileName": "modules/packages/module/dist/esm/XyoModule.d.ts",
613
- "line": 22,
614
- "character": 8
615
- }
616
- ],
617
- "type": {
618
- "type": "intrinsic",
619
- "name": "string"
620
- }
621
- },
622
- {
623
- "id": 69,
624
- "name": "sources",
625
- "kind": 1024,
626
- "kindString": "Property",
627
- "flags": {
628
- "isOptional": true
629
- },
630
- "sources": [
631
- {
632
- "fileName": "modules/packages/module/dist/esm/XyoModule.d.ts",
633
- "line": 24,
634
- "character": 8
635
- }
636
- ],
637
- "type": {
638
- "type": "array",
639
- "elementType": {
640
- "type": "intrinsic",
641
- "name": "string"
642
- }
643
- }
644
- },
645
- {
646
- "id": 70,
647
- "name": "timestamp",
648
- "kind": 1024,
649
- "kindString": "Property",
650
- "flags": {
651
- "isOptional": true
652
- },
653
- "sources": [
654
- {
655
- "fileName": "modules/packages/module/dist/esm/XyoModule.d.ts",
656
- "line": 25,
657
- "character": 8
658
- }
659
- ],
660
- "type": {
661
- "type": "intrinsic",
662
- "name": "number"
663
- }
664
- }
665
- ],
666
- "groups": [
667
- {
668
- "title": "Properties",
669
- "children": [
670
- 68,
671
- 67,
672
- 69,
673
- 70
674
- ]
675
- }
676
- ],
677
- "sources": [
678
- {
679
- "fileName": "modules/packages/module/dist/esm/XyoModule.d.ts",
680
- "line": 21,
681
- "character": 165
682
- }
683
- ]
684
- }
587
+ "type": "reference",
588
+ "name": "XyoAccount"
685
589
  }
686
590
  ],
687
- "name": "XyoBoundWitnessWithMeta"
591
+ "name": "PromiseEx"
688
592
  },
689
593
  "inheritedFrom": {
690
594
  "type": "reference",
@@ -698,7 +602,79 @@
698
602
  }
699
603
  },
700
604
  {
701
- "id": 71,
605
+ "id": 66,
606
+ "name": "bindHashesInternal",
607
+ "kind": 2048,
608
+ "kindString": "Method",
609
+ "flags": {},
610
+ "sources": [
611
+ {
612
+ "fileName": "modules/packages/module/dist/esm/XyoModule.d.ts",
613
+ "line": 21,
614
+ "character": 4
615
+ }
616
+ ],
617
+ "signatures": [
618
+ {
619
+ "id": 67,
620
+ "name": "bindHashesInternal",
621
+ "kind": 4096,
622
+ "kindString": "Call signature",
623
+ "flags": {},
624
+ "parameters": [
625
+ {
626
+ "id": 68,
627
+ "name": "hashes",
628
+ "kind": 32768,
629
+ "kindString": "Parameter",
630
+ "flags": {},
631
+ "type": {
632
+ "type": "array",
633
+ "elementType": {
634
+ "type": "intrinsic",
635
+ "name": "string"
636
+ }
637
+ }
638
+ },
639
+ {
640
+ "id": 69,
641
+ "name": "schema",
642
+ "kind": 32768,
643
+ "kindString": "Parameter",
644
+ "flags": {},
645
+ "type": {
646
+ "type": "array",
647
+ "elementType": {
648
+ "type": "intrinsic",
649
+ "name": "string"
650
+ }
651
+ }
652
+ }
653
+ ],
654
+ "type": {
655
+ "type": "reference",
656
+ "typeArguments": [
657
+ {
658
+ "type": "reference",
659
+ "id": 22,
660
+ "name": "T"
661
+ }
662
+ ],
663
+ "name": "XyoModuleQueryResult"
664
+ },
665
+ "inheritedFrom": {
666
+ "type": "reference",
667
+ "name": "XyoWitness.bindHashesInternal"
668
+ }
669
+ }
670
+ ],
671
+ "inheritedFrom": {
672
+ "type": "reference",
673
+ "name": "XyoWitness.bindHashesInternal"
674
+ }
675
+ },
676
+ {
677
+ "id": 78,
702
678
  "name": "bindPayloads",
703
679
  "kind": 2048,
704
680
  "kindString": "Method",
@@ -706,20 +682,20 @@
706
682
  "sources": [
707
683
  {
708
684
  "fileName": "modules/packages/module/dist/esm/XyoModule.d.ts",
709
- "line": 27,
685
+ "line": 24,
710
686
  "character": 4
711
687
  }
712
688
  ],
713
689
  "signatures": [
714
690
  {
715
- "id": 72,
691
+ "id": 79,
716
692
  "name": "bindPayloads",
717
693
  "kind": 4096,
718
694
  "kindString": "Call signature",
719
695
  "flags": {},
720
696
  "parameters": [
721
697
  {
722
- "id": 73,
698
+ "id": 80,
723
699
  "name": "payloads",
724
700
  "kind": 32768,
725
701
  "kindString": "Parameter",
@@ -734,119 +710,26 @@
734
710
  "value": null
735
711
  },
736
712
  {
737
- "type": "reflection",
738
- "declaration": {
739
- "id": 74,
740
- "name": "__type",
741
- "kind": 65536,
742
- "kindString": "Type literal",
743
- "flags": {},
744
- "children": [
745
- {
746
- "id": 76,
747
- "name": "previousHash",
748
- "kind": 1024,
749
- "kindString": "Property",
750
- "flags": {
751
- "isOptional": true
752
- },
753
- "sources": [
754
- {
755
- "fileName": "sdk/packages/payload/dist/esm/models/Base.d.ts",
756
- "line": 9,
757
- "character": 4
758
- }
759
- ],
760
- "type": {
761
- "type": "intrinsic",
762
- "name": "string"
763
- }
764
- },
765
- {
766
- "id": 75,
767
- "name": "schema",
768
- "kind": 1024,
769
- "kindString": "Property",
770
- "flags": {},
771
- "sources": [
772
- {
773
- "fileName": "sdk/packages/payload/dist/esm/models/Base.d.ts",
774
- "line": 8,
775
- "character": 4
776
- }
777
- ],
778
- "type": {
779
- "type": "intrinsic",
780
- "name": "string"
781
- }
782
- },
783
- {
784
- "id": 77,
785
- "name": "sources",
786
- "kind": 1024,
787
- "kindString": "Property",
788
- "flags": {
789
- "isOptional": true
790
- },
791
- "sources": [
792
- {
793
- "fileName": "sdk/packages/payload/dist/esm/models/Base.d.ts",
794
- "line": 10,
795
- "character": 4
796
- }
797
- ],
798
- "type": {
799
- "type": "array",
800
- "elementType": {
801
- "type": "intrinsic",
802
- "name": "string"
803
- }
804
- }
805
- },
806
- {
807
- "id": 78,
808
- "name": "timestamp",
809
- "kind": 1024,
810
- "kindString": "Property",
811
- "flags": {
812
- "isOptional": true
813
- },
814
- "sources": [
815
- {
816
- "fileName": "sdk/packages/payload/dist/esm/models/Base.d.ts",
817
- "line": 11,
818
- "character": 4
819
- }
820
- ],
821
- "type": {
822
- "type": "intrinsic",
823
- "name": "number"
824
- }
825
- }
826
- ],
827
- "groups": [
828
- {
829
- "title": "Properties",
830
- "children": [
831
- 76,
832
- 75,
833
- 77,
834
- 78
835
- ]
836
- }
837
- ],
838
- "sources": [
839
- {
840
- "fileName": "sdk/packages/payload/dist/esm/models/Base.d.ts",
841
- "line": 7,
842
- "character": 107
843
- }
844
- ]
845
- }
713
+ "type": "reference",
714
+ "id": 22,
715
+ "name": "T"
846
716
  }
847
717
  ]
848
718
  }
849
719
  }
720
+ },
721
+ {
722
+ "id": 81,
723
+ "name": "account",
724
+ "kind": 32768,
725
+ "kindString": "Parameter",
726
+ "flags": {
727
+ "isOptional": true
728
+ },
729
+ "type": {
730
+ "type": "reference",
731
+ "name": "XyoAccount"
732
+ }
850
733
  }
851
734
  ],
852
735
  "type": {
@@ -854,131 +737,99 @@
854
737
  "typeArguments": [
855
738
  {
856
739
  "type": "reference",
857
- "name": "XyoBoundWitness"
740
+ "typeArguments": [
741
+ {
742
+ "type": "reference",
743
+ "id": 22,
744
+ "name": "T"
745
+ }
746
+ ],
747
+ "name": "XyoModuleQueryResult"
858
748
  },
859
749
  {
860
- "type": "reflection",
861
- "declaration": {
862
- "id": 79,
863
- "name": "__type",
864
- "kind": 65536,
865
- "kindString": "Type literal",
866
- "flags": {},
867
- "children": [
868
- {
869
- "id": 81,
870
- "name": "previousHash",
871
- "kind": 1024,
872
- "kindString": "Property",
873
- "flags": {
874
- "isOptional": true
875
- },
876
- "sources": [
877
- {
878
- "fileName": "modules/packages/module/dist/esm/XyoModule.d.ts",
879
- "line": 29,
880
- "character": 8
881
- }
882
- ],
883
- "type": {
884
- "type": "intrinsic",
885
- "name": "string"
886
- }
887
- },
888
- {
889
- "id": 80,
890
- "name": "schema",
891
- "kind": 1024,
892
- "kindString": "Property",
893
- "flags": {},
894
- "sources": [
895
- {
896
- "fileName": "modules/packages/module/dist/esm/XyoModule.d.ts",
897
- "line": 28,
898
- "character": 8
899
- }
900
- ],
901
- "type": {
902
- "type": "intrinsic",
903
- "name": "string"
904
- }
905
- },
750
+ "type": "reference",
751
+ "name": "XyoAccount"
752
+ }
753
+ ],
754
+ "name": "PromiseEx"
755
+ },
756
+ "inheritedFrom": {
757
+ "type": "reference",
758
+ "name": "XyoWitness.bindPayloads"
759
+ }
760
+ }
761
+ ],
762
+ "inheritedFrom": {
763
+ "type": "reference",
764
+ "name": "XyoWitness.bindPayloads"
765
+ }
766
+ },
767
+ {
768
+ "id": 75,
769
+ "name": "bindPayloadsInternal",
770
+ "kind": 2048,
771
+ "kindString": "Method",
772
+ "flags": {},
773
+ "sources": [
774
+ {
775
+ "fileName": "modules/packages/module/dist/esm/XyoModule.d.ts",
776
+ "line": 23,
777
+ "character": 4
778
+ }
779
+ ],
780
+ "signatures": [
781
+ {
782
+ "id": 76,
783
+ "name": "bindPayloadsInternal",
784
+ "kind": 4096,
785
+ "kindString": "Call signature",
786
+ "flags": {},
787
+ "parameters": [
788
+ {
789
+ "id": 77,
790
+ "name": "payloads",
791
+ "kind": 32768,
792
+ "kindString": "Parameter",
793
+ "flags": {},
794
+ "type": {
795
+ "type": "array",
796
+ "elementType": {
797
+ "type": "union",
798
+ "types": [
906
799
  {
907
- "id": 82,
908
- "name": "sources",
909
- "kind": 1024,
910
- "kindString": "Property",
911
- "flags": {
912
- "isOptional": true
913
- },
914
- "sources": [
915
- {
916
- "fileName": "modules/packages/module/dist/esm/XyoModule.d.ts",
917
- "line": 30,
918
- "character": 8
919
- }
920
- ],
921
- "type": {
922
- "type": "array",
923
- "elementType": {
924
- "type": "intrinsic",
925
- "name": "string"
926
- }
927
- }
800
+ "type": "literal",
801
+ "value": null
928
802
  },
929
803
  {
930
- "id": 83,
931
- "name": "timestamp",
932
- "kind": 1024,
933
- "kindString": "Property",
934
- "flags": {
935
- "isOptional": true
936
- },
937
- "sources": [
938
- {
939
- "fileName": "modules/packages/module/dist/esm/XyoModule.d.ts",
940
- "line": 31,
941
- "character": 8
942
- }
943
- ],
944
- "type": {
945
- "type": "intrinsic",
946
- "name": "number"
947
- }
948
- }
949
- ],
950
- "groups": [
951
- {
952
- "title": "Properties",
953
- "children": [
954
- 81,
955
- 80,
956
- 82,
957
- 83
958
- ]
959
- }
960
- ],
961
- "sources": [
962
- {
963
- "fileName": "modules/packages/module/dist/esm/XyoModule.d.ts",
964
- "line": 27,
965
- "character": 164
804
+ "type": "reference",
805
+ "id": 22,
806
+ "name": "T"
966
807
  }
967
808
  ]
968
809
  }
969
810
  }
811
+ }
812
+ ],
813
+ "type": {
814
+ "type": "reference",
815
+ "typeArguments": [
816
+ {
817
+ "type": "reference",
818
+ "id": 22,
819
+ "name": "T"
820
+ }
970
821
  ],
971
- "name": "XyoBoundWitnessWithMeta"
822
+ "name": "XyoModuleQueryResult"
972
823
  },
973
824
  "inheritedFrom": {
974
825
  "type": "reference",
975
- "name": "XyoWitness.bindPayloads"
826
+ "name": "XyoWitness.bindPayloadsInternal"
976
827
  }
977
828
  }
978
829
  ],
979
830
  "inheritedFrom": {
980
831
  "type": "reference",
981
- "name": "XyoWitness.bindPayloads"
832
+ "name": "XyoWitness.bindPayloadsInternal"
982
833
  }
983
834
  },
984
835
  {
@@ -1001,6 +852,21 @@
1001
852
  "kind": 4096,
1002
853
  "kindString": "Call signature",
1003
854
  "flags": {},
855
+ "parameters": [
856
+ {
857
+ "id": 56,
858
+ "name": "_queryAccount",
859
+ "kind": 32768,
860
+ "kindString": "Parameter",
861
+ "flags": {
862
+ "isOptional": true
863
+ },
864
+ "type": {
865
+ "type": "reference",
866
+ "name": "XyoAccount"
867
+ }
868
+ }
869
+ ],
1004
870
  "type": {
1005
871
  "type": "intrinsic",
1006
872
  "name": "void"
@@ -1017,7 +883,7 @@
1017
883
  }
1018
884
  },
1019
885
  {
1020
- "id": 56,
886
+ "id": 57,
1021
887
  "name": "initialize",
1022
888
  "kind": 2048,
1023
889
  "kindString": "Method",
@@ -1031,11 +897,26 @@
1031
897
  ],
1032
898
  "signatures": [
1033
899
  {
1034
- "id": 57,
900
+ "id": 58,
1035
901
  "name": "initialize",
1036
902
  "kind": 4096,
1037
903
  "kindString": "Call signature",
1038
904
  "flags": {},
905
+ "parameters": [
906
+ {
907
+ "id": 59,
908
+ "name": "_queryAccount",
909
+ "kind": 32768,
910
+ "kindString": "Parameter",
911
+ "flags": {
912
+ "isOptional": true
913
+ },
914
+ "type": {
915
+ "type": "reference",
916
+ "name": "XyoAccount"
917
+ }
918
+ }
919
+ ],
1039
920
  "type": {
1040
921
  "type": "intrinsic",
1041
922
  "name": "void"
@@ -1102,6 +983,10 @@
1102
983
  "type": "reference",
1103
984
  "id": 22,
1104
985
  "name": "T"
986
+ },
987
+ {
988
+ "type": "intrinsic",
989
+ "name": "never"
1105
990
  }
1106
991
  ],
1107
992
  "name": "Promisable"
@@ -1274,7 +1159,7 @@
1274
1159
  }
1275
1160
  },
1276
1161
  {
1277
- "id": 60,
1162
+ "id": 63,
1278
1163
  "name": "shutdown",
1279
1164
  "kind": 2048,
1280
1165
  "kindString": "Method",
@@ -1288,11 +1173,26 @@
1288
1173
  ],
1289
1174
  "signatures": [
1290
1175
  {
1291
- "id": 61,
1176
+ "id": 64,
1292
1177
  "name": "shutdown",
1293
1178
  "kind": 4096,
1294
1179
  "kindString": "Call signature",
1295
1180
  "flags": {},
1181
+ "parameters": [
1182
+ {
1183
+ "id": 65,
1184
+ "name": "_queryAccount",
1185
+ "kind": 32768,
1186
+ "kindString": "Parameter",
1187
+ "flags": {
1188
+ "isOptional": true
1189
+ },
1190
+ "type": {
1191
+ "type": "reference",
1192
+ "name": "XyoAccount"
1193
+ }
1194
+ }
1195
+ ],
1296
1196
  "type": {
1297
1197
  "type": "intrinsic",
1298
1198
  "name": "void"
@@ -1309,7 +1209,7 @@
1309
1209
  }
1310
1210
  },
1311
1211
  {
1312
- "id": 58,
1212
+ "id": 60,
1313
1213
  "name": "subscribe",
1314
1214
  "kind": 2048,
1315
1215
  "kindString": "Method",
@@ -1323,11 +1223,26 @@
1323
1223
  ],
1324
1224
  "signatures": [
1325
1225
  {
1326
- "id": 59,
1226
+ "id": 61,
1327
1227
  "name": "subscribe",
1328
1228
  "kind": 4096,
1329
1229
  "kindString": "Call signature",
1330
1230
  "flags": {},
1231
+ "parameters": [
1232
+ {
1233
+ "id": 62,
1234
+ "name": "_queryAccount",
1235
+ "kind": 32768,
1236
+ "kindString": "Parameter",
1237
+ "flags": {
1238
+ "isOptional": true
1239
+ },
1240
+ "type": {
1241
+ "type": "reference",
1242
+ "name": "XyoAccount"
1243
+ }
1244
+ }
1245
+ ],
1331
1246
  "type": {
1332
1247
  "type": "intrinsic",
1333
1248
  "name": "void"
@@ -1370,16 +1285,18 @@
1370
1285
  {
1371
1286
  "title": "Methods",
1372
1287
  "children": [
1373
- 62,
1374
- 71,
1288
+ 70,
1289
+ 66,
1290
+ 78,
1291
+ 75,
1375
1292
  54,
1376
- 56,
1293
+ 57,
1377
1294
  26,
1378
1295
  31,
1379
1296
  33,
1380
1297
  51,
1381
- 60,
1382
- 58
1298
+ 63,
1299
+ 60
1383
1300
  ]
1384
1301
  }
1385
1302
  ],
@@ -1392,7 +1309,7 @@
1392
1309
  ],
1393
1310
  "typeParameters": [
1394
1311
  {
1395
- "id": 84,
1312
+ "id": 82,
1396
1313
  "name": "T",
1397
1314
  "kind": 131072,
1398
1315
  "kindString": "Type parameter",
@@ -1711,7 +1628,7 @@
1711
1628
  "fileName": "plugins/packages/system/src/index.ts",
1712
1629
  "line": 6,
1713
1630
  "character": 13,
1714
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/0a471bd/packages/plugins/packages/system/src/index.ts#L6"
1631
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/cd475ec/packages/plugins/packages/system/src/index.ts#L6"
1715
1632
  }
1716
1633
  ],
1717
1634
  "type": {
@@ -1846,7 +1763,7 @@
1846
1763
  "fileName": "plugins/packages/system/src/index.ts",
1847
1764
  "line": 1,
1848
1765
  "character": 0,
1849
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/0a471bd/packages/plugins/packages/system/src/index.ts#L1"
1766
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/cd475ec/packages/plugins/packages/system/src/index.ts#L1"
1850
1767
  }
1851
1768
  ]
1852
1769
  }
package/package.json CHANGED
@@ -10,8 +10,8 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/info-system-payload-plugins": "^2.32.0",
14
- "@xyo-network/payload-plugin": "^2.32.0",
13
+ "@xyo-network/info-system-payload-plugins": "^2.33.0-rc.1",
14
+ "@xyo-network/payload-plugin": "^2.33.0-rc.1",
15
15
  "tslib": "^2.4.0"
16
16
  },
17
17
  "description": "Primary SDK for using XYO Protocol 2.0",
@@ -47,5 +47,6 @@
47
47
  },
48
48
  "sideEffects": false,
49
49
  "types": "dist/esm/index.d.ts",
50
- "version": "2.32.0"
50
+ "version": "2.33.0-rc.1",
51
+ "stableVersion": "2.32.1"
51
52
  }