@xyo-network/react-node 2.45.0-rc.16 → 2.45.0-rc.18

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 (48) hide show
  1. package/dist/cjs/hooks/index.js +1 -0
  2. package/dist/cjs/hooks/index.js.map +1 -1
  3. package/dist/cjs/hooks/useArchiveArchivists.js +1 -1
  4. package/dist/cjs/hooks/useArchiveArchivists.js.map +1 -1
  5. package/dist/cjs/hooks/useModule.js +45 -3
  6. package/dist/cjs/hooks/useModule.js.map +1 -1
  7. package/dist/cjs/hooks/useModules.js +1 -1
  8. package/dist/cjs/hooks/useModules.js.map +1 -1
  9. package/dist/cjs/hooks/useNode.js +16 -56
  10. package/dist/cjs/hooks/useNode.js.map +1 -1
  11. package/dist/cjs/hooks/useProvidedNode.js +13 -9
  12. package/dist/cjs/hooks/useProvidedNode.js.map +1 -1
  13. package/dist/cjs/hooks/useWrappedModule.js +33 -0
  14. package/dist/cjs/hooks/useWrappedModule.js.map +1 -0
  15. package/dist/docs.json +627 -1510
  16. package/dist/esm/hooks/index.js +1 -0
  17. package/dist/esm/hooks/index.js.map +1 -1
  18. package/dist/esm/hooks/useArchiveArchivists.js +2 -2
  19. package/dist/esm/hooks/useArchiveArchivists.js.map +1 -1
  20. package/dist/esm/hooks/useModule.js +43 -3
  21. package/dist/esm/hooks/useModule.js.map +1 -1
  22. package/dist/esm/hooks/useModules.js +2 -2
  23. package/dist/esm/hooks/useModules.js.map +1 -1
  24. package/dist/esm/hooks/useNode.js +15 -54
  25. package/dist/esm/hooks/useNode.js.map +1 -1
  26. package/dist/esm/hooks/useProvidedNode.js +10 -8
  27. package/dist/esm/hooks/useProvidedNode.js.map +1 -1
  28. package/dist/esm/hooks/useWrappedModule.js +29 -0
  29. package/dist/esm/hooks/useWrappedModule.js.map +1 -0
  30. package/dist/types/hooks/index.d.ts +1 -0
  31. package/dist/types/hooks/index.d.ts.map +1 -1
  32. package/dist/types/hooks/useModule.d.ts +22 -58
  33. package/dist/types/hooks/useModule.d.ts.map +1 -1
  34. package/dist/types/hooks/useNode.d.ts +2 -59
  35. package/dist/types/hooks/useNode.d.ts.map +1 -1
  36. package/dist/types/hooks/useProvidedNode.d.ts +3 -6
  37. package/dist/types/hooks/useProvidedNode.d.ts.map +1 -1
  38. package/dist/types/hooks/useWrappedModule.d.ts +38 -0
  39. package/dist/types/hooks/useWrappedModule.d.ts.map +1 -0
  40. package/package.json +4 -4
  41. package/src/components/Node.stories.tsx +1 -1
  42. package/src/hooks/index.ts +1 -0
  43. package/src/hooks/useArchiveArchivists.tsx +2 -2
  44. package/src/hooks/useModule.tsx +44 -3
  45. package/src/hooks/useModules.ts +2 -2
  46. package/src/hooks/useNode.tsx +14 -77
  47. package/src/hooks/useProvidedNode.tsx +12 -12
  48. package/src/hooks/useWrappedModule.tsx +37 -0
package/dist/docs.json CHANGED
@@ -48,7 +48,7 @@
48
48
  "fileName": "packages/modules/packages/node/src/contexts/ModuleRepository/State.ts",
49
49
  "line": 9,
50
50
  "character": 2,
51
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L9"
51
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L9"
52
52
  }
53
53
  ],
54
54
  "type": {
@@ -64,7 +64,7 @@
64
64
  "fileName": "packages/modules/packages/node/src/contexts/ModuleRepository/State.ts",
65
65
  "line": 9,
66
66
  "character": 20,
67
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L9"
67
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L9"
68
68
  }
69
69
  ],
70
70
  "signatures": [
@@ -114,7 +114,7 @@
114
114
  "fileName": "packages/modules/packages/node/src/contexts/ModuleRepository/State.ts",
115
115
  "line": 10,
116
116
  "character": 2,
117
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L10"
117
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L10"
118
118
  }
119
119
  ],
120
120
  "type": {
@@ -136,7 +136,7 @@
136
136
  "fileName": "packages/modules/packages/node/src/contexts/ModuleRepository/State.ts",
137
137
  "line": 11,
138
138
  "character": 2,
139
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L11"
139
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L11"
140
140
  }
141
141
  ],
142
142
  "type": {
@@ -152,7 +152,7 @@
152
152
  "fileName": "packages/modules/packages/node/src/contexts/ModuleRepository/State.ts",
153
153
  "line": 11,
154
154
  "character": 20,
155
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L11"
155
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L11"
156
156
  }
157
157
  ],
158
158
  "signatures": [
@@ -202,7 +202,7 @@
202
202
  "fileName": "packages/modules/packages/node/src/contexts/ModuleRepository/State.ts",
203
203
  "line": 8,
204
204
  "character": 17,
205
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L8"
205
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L8"
206
206
  }
207
207
  ],
208
208
  "extendedTypes": [
@@ -232,7 +232,7 @@
232
232
  "fileName": "packages/modules/packages/node/src/contexts/Node/State.ts",
233
233
  "line": 4,
234
234
  "character": 2,
235
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/Node/State.ts#L4"
235
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/Node/State.ts#L4"
236
236
  }
237
237
  ],
238
238
  "type": {
@@ -256,7 +256,7 @@
256
256
  "fileName": "packages/modules/packages/node/src/contexts/Node/State.ts",
257
257
  "line": 3,
258
258
  "character": 17,
259
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/Node/State.ts#L3"
259
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/Node/State.ts#L3"
260
260
  }
261
261
  ]
262
262
  },
@@ -271,7 +271,7 @@
271
271
  "fileName": "packages/modules/packages/node/src/components/NodeDrawer.tsx",
272
272
  "line": 10,
273
273
  "character": 17,
274
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/components/NodeDrawer.tsx#L10"
274
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/components/NodeDrawer.tsx#L10"
275
275
  }
276
276
  ],
277
277
  "extendedTypes": [
@@ -321,7 +321,7 @@
321
321
  "fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx",
322
322
  "line": 7,
323
323
  "character": 2,
324
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx#L7"
324
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx#L7"
325
325
  }
326
326
  ],
327
327
  "type": {
@@ -343,7 +343,7 @@
343
343
  "fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx",
344
344
  "line": 6,
345
345
  "character": 17,
346
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx#L6"
346
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx#L6"
347
347
  }
348
348
  ],
349
349
  "extendedTypes": [
@@ -375,7 +375,7 @@
375
375
  "fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts",
376
376
  "line": 5,
377
377
  "character": 2,
378
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts#L5"
378
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts#L5"
379
379
  }
380
380
  ],
381
381
  "type": {
@@ -418,7 +418,7 @@
418
418
  "fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts",
419
419
  "line": 6,
420
420
  "character": 2,
421
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts#L6"
421
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts#L6"
422
422
  }
423
423
  ],
424
424
  "type": {
@@ -458,7 +458,7 @@
458
458
  "fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts",
459
459
  "line": 4,
460
460
  "character": 17,
461
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts#L4"
461
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts#L4"
462
462
  }
463
463
  ],
464
464
  "extendedTypes": [
@@ -488,7 +488,7 @@
488
488
  "fileName": "packages/modules/packages/node/src/contexts/Node/Provider.tsx",
489
489
  "line": 8,
490
490
  "character": 2,
491
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/Node/Provider.tsx#L8"
491
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/Node/Provider.tsx#L8"
492
492
  }
493
493
  ],
494
494
  "type": {
@@ -512,7 +512,7 @@
512
512
  "fileName": "packages/modules/packages/node/src/contexts/Node/Provider.tsx",
513
513
  "line": 7,
514
514
  "character": 17,
515
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/Node/Provider.tsx#L7"
515
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/Node/Provider.tsx#L7"
516
516
  }
517
517
  ]
518
518
  },
@@ -527,7 +527,7 @@
527
527
  "fileName": "packages/modules/packages/node/src/contexts/ModuleRepository/State.ts",
528
528
  "line": 4,
529
529
  "character": 17,
530
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L4"
530
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L4"
531
531
  }
532
532
  ],
533
533
  "indexSignature": {
@@ -556,6 +556,137 @@
556
556
  }
557
557
  }
558
558
  },
559
+ {
560
+ "id": 131,
561
+ "name": "WrapperStatic",
562
+ "kind": 256,
563
+ "kindString": "Interface",
564
+ "flags": {},
565
+ "children": [
566
+ {
567
+ "id": 132,
568
+ "name": "wrap",
569
+ "kind": 1024,
570
+ "kindString": "Property",
571
+ "flags": {},
572
+ "sources": [
573
+ {
574
+ "fileName": "packages/modules/packages/node/src/hooks/useWrappedModule.tsx",
575
+ "line": 9,
576
+ "character": 2,
577
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useWrappedModule.tsx#L9"
578
+ }
579
+ ],
580
+ "type": {
581
+ "type": "reflection",
582
+ "declaration": {
583
+ "id": 133,
584
+ "name": "__type",
585
+ "kind": 65536,
586
+ "kindString": "Type literal",
587
+ "flags": {},
588
+ "sources": [
589
+ {
590
+ "fileName": "packages/modules/packages/node/src/hooks/useWrappedModule.tsx",
591
+ "line": 9,
592
+ "character": 8,
593
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useWrappedModule.tsx#L9"
594
+ }
595
+ ],
596
+ "signatures": [
597
+ {
598
+ "id": 134,
599
+ "name": "__type",
600
+ "kind": 4096,
601
+ "kindString": "Call signature",
602
+ "flags": {},
603
+ "parameters": [
604
+ {
605
+ "id": 135,
606
+ "name": "module",
607
+ "kind": 32768,
608
+ "kindString": "Parameter",
609
+ "flags": {
610
+ "isOptional": true
611
+ },
612
+ "type": {
613
+ "type": "indexedAccess",
614
+ "indexType": {
615
+ "type": "literal",
616
+ "value": "module"
617
+ },
618
+ "objectType": {
619
+ "type": "reference",
620
+ "id": 137,
621
+ "name": "TModuleWrapper"
622
+ }
623
+ }
624
+ },
625
+ {
626
+ "id": 136,
627
+ "name": "account",
628
+ "kind": 32768,
629
+ "kindString": "Parameter",
630
+ "flags": {
631
+ "isOptional": true
632
+ },
633
+ "type": {
634
+ "type": "reference",
635
+ "name": "AccountInstance",
636
+ "qualifiedName": "AccountInstance",
637
+ "package": "@xyo-network/account-model"
638
+ }
639
+ }
640
+ ],
641
+ "type": {
642
+ "type": "reference",
643
+ "id": 137,
644
+ "name": "TModuleWrapper"
645
+ }
646
+ }
647
+ ]
648
+ }
649
+ }
650
+ }
651
+ ],
652
+ "groups": [
653
+ {
654
+ "title": "Properties",
655
+ "children": [
656
+ 132
657
+ ]
658
+ }
659
+ ],
660
+ "sources": [
661
+ {
662
+ "fileName": "packages/modules/packages/node/src/hooks/useWrappedModule.tsx",
663
+ "line": 8,
664
+ "character": 17,
665
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useWrappedModule.tsx#L8"
666
+ }
667
+ ],
668
+ "typeParameters": [
669
+ {
670
+ "id": 137,
671
+ "name": "TModuleWrapper",
672
+ "kind": 131072,
673
+ "kindString": "Type parameter",
674
+ "flags": {},
675
+ "type": {
676
+ "type": "reference",
677
+ "name": "ModuleWrapper",
678
+ "qualifiedName": "ModuleWrapper",
679
+ "package": "@xyo-network/module"
680
+ },
681
+ "default": {
682
+ "type": "reference",
683
+ "name": "ModuleWrapper",
684
+ "qualifiedName": "ModuleWrapper",
685
+ "package": "@xyo-network/module"
686
+ }
687
+ }
688
+ ]
689
+ },
559
690
  {
560
691
  "id": 10,
561
692
  "name": "MemoryNodeProviderProps",
@@ -567,7 +698,7 @@
567
698
  "fileName": "packages/modules/packages/node/src/contexts/MemoryProvider.tsx",
568
699
  "line": 8,
569
700
  "character": 12,
570
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L8"
701
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L8"
571
702
  }
572
703
  ],
573
704
  "type": {
@@ -598,7 +729,7 @@
598
729
  "fileName": "packages/modules/packages/node/src/contexts/MemoryProvider.tsx",
599
730
  "line": 9,
600
731
  "character": 2,
601
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L9"
732
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L9"
602
733
  }
603
734
  ],
604
735
  "type": {
@@ -629,7 +760,7 @@
629
760
  "fileName": "packages/modules/packages/node/src/contexts/MemoryProvider.tsx",
630
761
  "line": 10,
631
762
  "character": 2,
632
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L10"
763
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L10"
633
764
  }
634
765
  ],
635
766
  "type": {
@@ -652,7 +783,7 @@
652
783
  "fileName": "packages/modules/packages/node/src/contexts/MemoryProvider.tsx",
653
784
  "line": 8,
654
785
  "character": 51,
655
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L8"
786
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L8"
656
787
  }
657
788
  ]
658
789
  }
@@ -679,210 +810,6 @@
679
810
  ]
680
811
  }
681
812
  },
682
- {
683
- "id": 115,
684
- "name": "NodeFunc",
685
- "kind": 4194304,
686
- "kindString": "Type alias",
687
- "flags": {},
688
- "sources": [
689
- {
690
- "fileName": "packages/modules/packages/node/src/hooks/useNode.tsx",
691
- "line": 15,
692
- "character": 12,
693
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useNode.tsx#L15"
694
- }
695
- ],
696
- "type": {
697
- "type": "reflection",
698
- "declaration": {
699
- "id": 116,
700
- "name": "__type",
701
- "kind": 65536,
702
- "kindString": "Type literal",
703
- "flags": {},
704
- "sources": [
705
- {
706
- "fileName": "packages/modules/packages/node/src/hooks/useNode.tsx",
707
- "line": 15,
708
- "character": 23,
709
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useNode.tsx#L15"
710
- }
711
- ],
712
- "signatures": [
713
- {
714
- "id": 117,
715
- "name": "__type",
716
- "kind": 4096,
717
- "kindString": "Call signature",
718
- "flags": {},
719
- "type": {
720
- "type": "tuple",
721
- "elements": [
722
- {
723
- "type": "union",
724
- "types": [
725
- {
726
- "type": "reference",
727
- "name": "NodeModule",
728
- "qualifiedName": "NodeModule",
729
- "package": "@xyo-network/node"
730
- },
731
- {
732
- "type": "intrinsic",
733
- "name": "undefined"
734
- }
735
- ]
736
- },
737
- {
738
- "type": "union",
739
- "types": [
740
- {
741
- "type": "reference",
742
- "name": "Error",
743
- "qualifiedName": "Error",
744
- "package": "typescript"
745
- },
746
- {
747
- "type": "intrinsic",
748
- "name": "undefined"
749
- }
750
- ]
751
- }
752
- ]
753
- }
754
- }
755
- ]
756
- }
757
- }
758
- },
759
- {
760
- "id": 108,
761
- "name": "WrapFunc",
762
- "kind": 4194304,
763
- "kindString": "Type alias",
764
- "flags": {},
765
- "sources": [
766
- {
767
- "fileName": "packages/modules/packages/node/src/hooks/useNode.tsx",
768
- "line": 10,
769
- "character": 12,
770
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useNode.tsx#L10"
771
- }
772
- ],
773
- "typeParameters": [
774
- {
775
- "id": 113,
776
- "name": "TModule",
777
- "kind": 131072,
778
- "kindString": "Type parameter",
779
- "flags": {},
780
- "type": {
781
- "type": "reference",
782
- "name": "Module",
783
- "qualifiedName": "Module",
784
- "package": "@xyo-network/module-model"
785
- },
786
- "default": {
787
- "type": "reference",
788
- "name": "Module",
789
- "qualifiedName": "Module",
790
- "package": "@xyo-network/module-model"
791
- }
792
- },
793
- {
794
- "id": 114,
795
- "name": "TWrapper",
796
- "kind": 131072,
797
- "kindString": "Type parameter",
798
- "flags": {},
799
- "type": {
800
- "type": "reference",
801
- "name": "ModuleWrapper",
802
- "qualifiedName": "ModuleWrapper",
803
- "package": "@xyo-network/module"
804
- },
805
- "default": {
806
- "type": "reference",
807
- "name": "ModuleWrapper",
808
- "qualifiedName": "ModuleWrapper",
809
- "package": "@xyo-network/module"
810
- }
811
- }
812
- ],
813
- "type": {
814
- "type": "reflection",
815
- "declaration": {
816
- "id": 109,
817
- "name": "__type",
818
- "kind": 65536,
819
- "kindString": "Type literal",
820
- "flags": {},
821
- "sources": [
822
- {
823
- "fileName": "packages/modules/packages/node/src/hooks/useNode.tsx",
824
- "line": 10,
825
- "character": 104,
826
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useNode.tsx#L10"
827
- }
828
- ],
829
- "signatures": [
830
- {
831
- "id": 110,
832
- "name": "__type",
833
- "kind": 4096,
834
- "kindString": "Call signature",
835
- "flags": {},
836
- "parameters": [
837
- {
838
- "id": 111,
839
- "name": "module",
840
- "kind": 32768,
841
- "kindString": "Parameter",
842
- "flags": {
843
- "isOptional": true
844
- },
845
- "type": {
846
- "type": "reference",
847
- "id": 113,
848
- "name": "TModule"
849
- }
850
- },
851
- {
852
- "id": 112,
853
- "name": "account",
854
- "kind": 32768,
855
- "kindString": "Parameter",
856
- "flags": {
857
- "isOptional": true
858
- },
859
- "type": {
860
- "type": "reference",
861
- "name": "Account",
862
- "qualifiedName": "Account",
863
- "package": "@xyo-network/account"
864
- }
865
- }
866
- ],
867
- "type": {
868
- "type": "union",
869
- "types": [
870
- {
871
- "type": "reference",
872
- "id": 114,
873
- "name": "TWrapper"
874
- },
875
- {
876
- "type": "intrinsic",
877
- "name": "undefined"
878
- }
879
- ]
880
- }
881
- }
882
- ]
883
- }
884
- }
885
- },
886
813
  {
887
814
  "id": 18,
888
815
  "name": "ModuleRepositoryContext",
@@ -896,7 +823,7 @@
896
823
  "fileName": "packages/modules/packages/node/src/contexts/ModuleRepository/Context.ts",
897
824
  "line": 5,
898
825
  "character": 13,
899
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/ModuleRepository/Context.ts#L5"
826
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/ModuleRepository/Context.ts#L5"
900
827
  }
901
828
  ],
902
829
  "type": {
@@ -936,7 +863,7 @@
936
863
  "fileName": "packages/modules/packages/node/src/contexts/Node/Context.ts",
937
864
  "line": 5,
938
865
  "character": 13,
939
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/Node/Context.ts#L5"
866
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/Node/Context.ts#L5"
940
867
  }
941
868
  ],
942
869
  "type": {
@@ -976,7 +903,7 @@
976
903
  "fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/Context.ts",
977
904
  "line": 5,
978
905
  "character": 13,
979
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/NodeDrawerContext/Context.ts#L5"
906
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/NodeDrawerContext/Context.ts#L5"
980
907
  }
981
908
  ],
982
909
  "type": {
@@ -1014,7 +941,7 @@
1014
941
  "fileName": "packages/modules/packages/node/src/contexts/MemoryProvider.tsx",
1015
942
  "line": 14,
1016
943
  "character": 13,
1017
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L14"
944
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L14"
1018
945
  }
1019
946
  ],
1020
947
  "signatures": [
@@ -1090,7 +1017,7 @@
1090
1017
  "fileName": "packages/modules/packages/node/src/contexts/ModuleRepository/Provider.tsx",
1091
1018
  "line": 11,
1092
1019
  "character": 13,
1093
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/ModuleRepository/Provider.tsx#L11"
1020
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/ModuleRepository/Provider.tsx#L11"
1094
1021
  }
1095
1022
  ],
1096
1023
  "signatures": [
@@ -1165,7 +1092,7 @@
1165
1092
  "fileName": "packages/modules/packages/node/src/components/Node.tsx",
1166
1093
  "line": 8,
1167
1094
  "character": 13,
1168
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/components/Node.tsx#L8"
1095
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/components/Node.tsx#L8"
1169
1096
  }
1170
1097
  ],
1171
1098
  "signatures": [
@@ -1242,7 +1169,7 @@
1242
1169
  "fileName": "packages/modules/packages/node/src/components/NodeDrawer.tsx",
1243
1170
  "line": 12,
1244
1171
  "character": 13,
1245
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/components/NodeDrawer.tsx#L12"
1172
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/components/NodeDrawer.tsx#L12"
1246
1173
  }
1247
1174
  ],
1248
1175
  "signatures": [
@@ -1318,7 +1245,7 @@
1318
1245
  "fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx",
1319
1246
  "line": 10,
1320
1247
  "character": 13,
1321
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx#L10"
1248
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx#L10"
1322
1249
  }
1323
1250
  ],
1324
1251
  "signatures": [
@@ -1394,7 +1321,7 @@
1394
1321
  "fileName": "packages/modules/packages/node/src/contexts/Node/Provider.tsx",
1395
1322
  "line": 11,
1396
1323
  "character": 13,
1397
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/Node/Provider.tsx#L11"
1324
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/Node/Provider.tsx#L11"
1398
1325
  }
1399
1326
  ],
1400
1327
  "signatures": [
@@ -1468,30 +1395,30 @@
1468
1395
  ]
1469
1396
  },
1470
1397
  {
1471
- "id": 118,
1472
- "name": "createUseModuleHook",
1398
+ "id": 138,
1399
+ "name": "WrappedModuleHookFactory",
1473
1400
  "kind": 64,
1474
1401
  "kindString": "Function",
1475
1402
  "flags": {},
1476
1403
  "sources": [
1477
1404
  {
1478
- "fileName": "packages/modules/packages/node/src/hooks/useNode.tsx",
1479
- "line": 17,
1405
+ "fileName": "packages/modules/packages/node/src/hooks/useWrappedModule.tsx",
1406
+ "line": 12,
1480
1407
  "character": 13,
1481
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useNode.tsx#L17"
1408
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useWrappedModule.tsx#L12"
1482
1409
  }
1483
1410
  ],
1484
1411
  "signatures": [
1485
1412
  {
1486
- "id": 119,
1487
- "name": "createUseModuleHook",
1413
+ "id": 139,
1414
+ "name": "WrappedModuleHookFactory",
1488
1415
  "kind": 4096,
1489
1416
  "kindString": "Call signature",
1490
1417
  "flags": {},
1491
1418
  "typeParameter": [
1492
1419
  {
1493
- "id": 124,
1494
- "name": "TModule",
1420
+ "id": 144,
1421
+ "name": "TModuleWrapper",
1495
1422
  "kind": 131072,
1496
1423
  "kindString": "Type parameter",
1497
1424
  "flags": {},
@@ -1499,133 +1426,8 @@
1499
1426
  "type": "reference",
1500
1427
  "typeArguments": [
1501
1428
  {
1502
- "type": "intersection",
1503
- "types": [
1504
- {
1505
- "type": "reference",
1506
- "name": "SchemaFields",
1507
- "qualifiedName": "SchemaFields",
1508
- "package": "@xyo-network/payload-model"
1509
- },
1510
- {
1511
- "type": "reference",
1512
- "name": "PayloadFields",
1513
- "qualifiedName": "PayloadFields",
1514
- "package": "@xyo-network/payload-model"
1515
- },
1516
- {
1517
- "type": "reflection",
1518
- "declaration": {
1519
- "id": 120,
1520
- "name": "__type",
1521
- "kind": 65536,
1522
- "kindString": "Type literal",
1523
- "flags": {},
1524
- "sources": [
1525
- {
1526
- "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
1527
- "line": 8,
1528
- "character": 75
1529
- }
1530
- ]
1531
- }
1532
- },
1533
- {
1534
- "type": "reflection",
1535
- "declaration": {
1536
- "id": 121,
1537
- "name": "__type",
1538
- "kind": 65536,
1539
- "kindString": "Type literal",
1540
- "flags": {},
1541
- "sources": [
1542
- {
1543
- "fileName": "node_modules/@xyo-network/payload-model/dist/types/XyoPayload.d.ts",
1544
- "line": 18,
1545
- "character": 17
1546
- }
1547
- ]
1548
- }
1549
- }
1550
- ]
1551
- }
1552
- ],
1553
- "name": "Module",
1554
- "qualifiedName": "Module",
1555
- "package": "@xyo-network/module-model"
1556
- },
1557
- "default": {
1558
- "type": "reference",
1559
- "typeArguments": [
1560
- {
1561
- "type": "intersection",
1562
- "types": [
1563
- {
1564
- "type": "reference",
1565
- "name": "SchemaFields",
1566
- "qualifiedName": "SchemaFields",
1567
- "package": "@xyo-network/payload-model"
1568
- },
1569
- {
1570
- "type": "reference",
1571
- "name": "PayloadFields",
1572
- "qualifiedName": "PayloadFields",
1573
- "package": "@xyo-network/payload-model"
1574
- },
1575
- {
1576
- "type": "reflection",
1577
- "declaration": {
1578
- "id": 122,
1579
- "name": "__type",
1580
- "kind": 65536,
1581
- "kindString": "Type literal",
1582
- "flags": {},
1583
- "sources": [
1584
- {
1585
- "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
1586
- "line": 8,
1587
- "character": 75
1588
- }
1589
- ]
1590
- }
1591
- },
1592
- {
1593
- "type": "reflection",
1594
- "declaration": {
1595
- "id": 123,
1596
- "name": "__type",
1597
- "kind": 65536,
1598
- "kindString": "Type literal",
1599
- "flags": {},
1600
- "sources": [
1601
- {
1602
- "fileName": "node_modules/@xyo-network/payload-model/dist/types/XyoPayload.d.ts",
1603
- "line": 18,
1604
- "character": 17
1605
- }
1606
- ]
1607
- }
1608
- }
1609
- ]
1610
- }
1611
- ],
1612
- "name": "Module",
1613
- "qualifiedName": "Module",
1614
- "package": "@xyo-network/module-model"
1615
- }
1616
- },
1617
- {
1618
- "id": 129,
1619
- "name": "TWrapper",
1620
- "kind": 131072,
1621
- "kindString": "Type parameter",
1622
- "flags": {},
1623
- "type": {
1624
- "type": "reference",
1625
- "typeArguments": [
1626
- {
1627
- "type": "reference",
1628
- "typeArguments": [
1429
+ "type": "reference",
1430
+ "typeArguments": [
1629
1431
  {
1630
1432
  "type": "intersection",
1631
1433
  "types": [
@@ -1644,7 +1446,7 @@
1644
1446
  {
1645
1447
  "type": "reflection",
1646
1448
  "declaration": {
1647
- "id": 125,
1449
+ "id": 140,
1648
1450
  "name": "__type",
1649
1451
  "kind": 65536,
1650
1452
  "kindString": "Type literal",
@@ -1661,7 +1463,7 @@
1661
1463
  {
1662
1464
  "type": "reflection",
1663
1465
  "declaration": {
1664
- "id": 126,
1466
+ "id": 141,
1665
1467
  "name": "__type",
1666
1468
  "kind": 65536,
1667
1469
  "kindString": "Type literal",
@@ -1684,8 +1486,8 @@
1684
1486
  },
1685
1487
  {
1686
1488
  "type": "reference",
1687
- "id": 129,
1688
- "name": "TWrapper"
1489
+ "id": 144,
1490
+ "name": "TModuleWrapper"
1689
1491
  }
1690
1492
  ],
1691
1493
  "name": "ModuleWrapper",
@@ -1716,7 +1518,7 @@
1716
1518
  {
1717
1519
  "type": "reflection",
1718
1520
  "declaration": {
1719
- "id": 127,
1521
+ "id": 142,
1720
1522
  "name": "__type",
1721
1523
  "kind": 65536,
1722
1524
  "kindString": "Type literal",
@@ -1733,7 +1535,7 @@
1733
1535
  {
1734
1536
  "type": "reflection",
1735
1537
  "declaration": {
1736
- "id": 128,
1538
+ "id": 143,
1737
1539
  "name": "__type",
1738
1540
  "kind": 65536,
1739
1541
  "kindString": "Type literal",
@@ -1759,120 +1561,56 @@
1759
1561
  "qualifiedName": "ModuleWrapper",
1760
1562
  "package": "@xyo-network/module"
1761
1563
  }
1762
- },
1763
- {
1764
- "id": 130,
1765
- "name": "TWrapFunc",
1766
- "kind": 131072,
1767
- "kindString": "Type parameter",
1768
- "flags": {},
1769
- "type": {
1770
- "type": "reference",
1771
- "id": 108,
1772
- "typeArguments": [
1773
- {
1774
- "type": "reference",
1775
- "id": 124,
1776
- "name": "TModule"
1777
- },
1778
- {
1779
- "type": "reference",
1780
- "id": 129,
1781
- "name": "TWrapper"
1782
- }
1783
- ],
1784
- "name": "WrapFunc"
1785
- },
1786
- "default": {
1787
- "type": "reference",
1788
- "id": 108,
1789
- "typeArguments": [
1790
- {
1791
- "type": "reference",
1792
- "id": 124,
1793
- "name": "TModule"
1794
- },
1795
- {
1796
- "type": "reference",
1797
- "id": 129,
1798
- "name": "TWrapper"
1799
- }
1800
- ],
1801
- "name": "WrapFunc"
1802
- }
1803
1564
  }
1804
1565
  ],
1805
1566
  "parameters": [
1806
1567
  {
1807
- "id": 131,
1808
- "name": "wrapFunc",
1568
+ "id": 145,
1569
+ "name": "wrapperObject",
1809
1570
  "kind": 32768,
1810
1571
  "kindString": "Parameter",
1811
1572
  "flags": {},
1812
1573
  "type": {
1813
1574
  "type": "reference",
1814
- "id": 130,
1815
- "name": "TWrapFunc"
1575
+ "id": 131,
1576
+ "typeArguments": [
1577
+ {
1578
+ "type": "reference",
1579
+ "id": 144,
1580
+ "name": "TModuleWrapper"
1581
+ }
1582
+ ],
1583
+ "name": "WrapperStatic"
1816
1584
  }
1817
1585
  }
1818
1586
  ],
1819
1587
  "type": {
1820
1588
  "type": "reflection",
1821
1589
  "declaration": {
1822
- "id": 132,
1590
+ "id": 146,
1823
1591
  "name": "__type",
1824
1592
  "kind": 65536,
1825
1593
  "kindString": "Type literal",
1826
1594
  "flags": {},
1827
1595
  "sources": [
1828
1596
  {
1829
- "fileName": "packages/modules/packages/node/src/hooks/useNode.tsx",
1830
- "line": 24,
1831
- "character": 11,
1832
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useNode.tsx#L24"
1833
- },
1834
- {
1835
- "fileName": "packages/modules/packages/node/src/hooks/useNode.tsx",
1836
- "line": 25,
1837
- "character": 11,
1838
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useNode.tsx#L25"
1839
- },
1840
- {
1841
- "fileName": "packages/modules/packages/node/src/hooks/useNode.tsx",
1842
- "line": 26,
1843
- "character": 11,
1844
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useNode.tsx#L26"
1845
- },
1846
- {
1847
- "fileName": "packages/modules/packages/node/src/hooks/useNode.tsx",
1848
- "line": 27,
1849
- "character": 11,
1850
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useNode.tsx#L27"
1851
- },
1852
- {
1853
- "fileName": "packages/modules/packages/node/src/hooks/useNode.tsx",
1854
- "line": 28,
1855
- "character": 11,
1856
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useNode.tsx#L28"
1857
- },
1858
- {
1859
- "fileName": "packages/modules/packages/node/src/hooks/useNode.tsx",
1860
- "line": 29,
1861
- "character": 11,
1862
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useNode.tsx#L29"
1597
+ "fileName": "packages/modules/packages/node/src/hooks/useWrappedModule.tsx",
1598
+ "line": 13,
1599
+ "character": 9,
1600
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useWrappedModule.tsx#L13"
1863
1601
  }
1864
1602
  ],
1865
1603
  "signatures": [
1866
1604
  {
1867
- "id": 133,
1605
+ "id": 147,
1868
1606
  "name": "__type",
1869
1607
  "kind": 4096,
1870
1608
  "kindString": "Call signature",
1871
1609
  "flags": {},
1872
1610
  "parameters": [
1873
1611
  {
1874
- "id": 134,
1875
- "name": "name",
1612
+ "id": 148,
1613
+ "name": "nameOrAddress",
1876
1614
  "kind": 32768,
1877
1615
  "kindString": "Parameter",
1878
1616
  "flags": {
@@ -1882,90 +1620,20 @@
1882
1620
  "type": "intrinsic",
1883
1621
  "name": "string"
1884
1622
  }
1885
- }
1886
- ],
1887
- "type": {
1888
- "type": "tuple",
1889
- "elements": [
1890
- {
1891
- "type": "union",
1892
- "types": [
1893
- {
1894
- "type": "reference",
1895
- "id": 124,
1896
- "name": "TModule"
1897
- },
1898
- {
1899
- "type": "intrinsic",
1900
- "name": "undefined"
1901
- }
1902
- ]
1903
- },
1904
- {
1905
- "type": "union",
1906
- "types": [
1907
- {
1908
- "type": "reference",
1909
- "name": "Error",
1910
- "qualifiedName": "Error",
1911
- "package": "typescript"
1912
- },
1913
- {
1914
- "type": "intrinsic",
1915
- "name": "undefined"
1916
- }
1917
- ]
1918
- }
1919
- ]
1920
- }
1921
- },
1922
- {
1923
- "id": 135,
1924
- "name": "__type",
1925
- "kind": 4096,
1926
- "kindString": "Call signature",
1927
- "flags": {},
1928
- "parameters": [
1929
- {
1930
- "id": 136,
1931
- "name": "name",
1932
- "kind": 32768,
1933
- "kindString": "Parameter",
1934
- "flags": {},
1935
- "type": {
1936
- "type": "union",
1937
- "types": [
1938
- {
1939
- "type": "intrinsic",
1940
- "name": "undefined"
1941
- },
1942
- {
1943
- "type": "intrinsic",
1944
- "name": "string"
1945
- }
1946
- ]
1947
- }
1948
1623
  },
1949
1624
  {
1950
- "id": 137,
1951
- "name": "wrap",
1625
+ "id": 149,
1626
+ "name": "account",
1952
1627
  "kind": 32768,
1953
1628
  "kindString": "Parameter",
1954
- "flags": {},
1629
+ "flags": {
1630
+ "isOptional": true
1631
+ },
1955
1632
  "type": {
1956
- "type": "union",
1957
- "types": [
1958
- {
1959
- "type": "literal",
1960
- "value": true
1961
- },
1962
- {
1963
- "type": "reference",
1964
- "name": "Account",
1965
- "qualifiedName": "Account",
1966
- "package": "@xyo-network/account"
1967
- }
1968
- ]
1633
+ "type": "reference",
1634
+ "name": "AccountInstance",
1635
+ "qualifiedName": "AccountInstance",
1636
+ "package": "@xyo-network/account-model"
1969
1637
  }
1970
1638
  }
1971
1639
  ],
@@ -1975,224 +1643,29 @@
1975
1643
  {
1976
1644
  "type": "union",
1977
1645
  "types": [
1978
- {
1979
- "type": "reference",
1980
- "id": 129,
1981
- "name": "TWrapper"
1982
- },
1983
1646
  {
1984
1647
  "type": "intrinsic",
1985
1648
  "name": "undefined"
1649
+ },
1650
+ {
1651
+ "type": "reference",
1652
+ "id": 144,
1653
+ "name": "TModuleWrapper"
1986
1654
  }
1987
1655
  ]
1988
1656
  },
1989
1657
  {
1990
1658
  "type": "union",
1991
1659
  "types": [
1660
+ {
1661
+ "type": "intrinsic",
1662
+ "name": "undefined"
1663
+ },
1992
1664
  {
1993
1665
  "type": "reference",
1994
1666
  "name": "Error",
1995
1667
  "qualifiedName": "Error",
1996
1668
  "package": "typescript"
1997
- },
1998
- {
1999
- "type": "intrinsic",
2000
- "name": "undefined"
2001
- }
2002
- ]
2003
- }
2004
- ]
2005
- }
2006
- },
2007
- {
2008
- "id": 138,
2009
- "name": "__type",
2010
- "kind": 4096,
2011
- "kindString": "Call signature",
2012
- "flags": {},
2013
- "parameters": [
2014
- {
2015
- "id": 139,
2016
- "name": "wrap",
2017
- "kind": 32768,
2018
- "kindString": "Parameter",
2019
- "flags": {},
2020
- "type": {
2021
- "type": "union",
2022
- "types": [
2023
- {
2024
- "type": "literal",
2025
- "value": true
2026
- },
2027
- {
2028
- "type": "reference",
2029
- "name": "Account",
2030
- "qualifiedName": "Account",
2031
- "package": "@xyo-network/account"
2032
- }
2033
- ]
2034
- }
2035
- }
2036
- ],
2037
- "type": {
2038
- "type": "tuple",
2039
- "elements": [
2040
- {
2041
- "type": "union",
2042
- "types": [
2043
- {
2044
- "type": "reference",
2045
- "id": 129,
2046
- "name": "TWrapper"
2047
- },
2048
- {
2049
- "type": "intrinsic",
2050
- "name": "undefined"
2051
- }
2052
- ]
2053
- },
2054
- {
2055
- "type": "union",
2056
- "types": [
2057
- {
2058
- "type": "reference",
2059
- "name": "Error",
2060
- "qualifiedName": "Error",
2061
- "package": "typescript"
2062
- },
2063
- {
2064
- "type": "intrinsic",
2065
- "name": "undefined"
2066
- }
2067
- ]
2068
- }
2069
- ]
2070
- }
2071
- },
2072
- {
2073
- "id": 140,
2074
- "name": "__type",
2075
- "kind": 4096,
2076
- "kindString": "Call signature",
2077
- "flags": {},
2078
- "parameters": [
2079
- {
2080
- "id": 141,
2081
- "name": "address",
2082
- "kind": 32768,
2083
- "kindString": "Parameter",
2084
- "flags": {},
2085
- "type": {
2086
- "type": "intrinsic",
2087
- "name": "string"
2088
- }
2089
- }
2090
- ],
2091
- "type": {
2092
- "type": "tuple",
2093
- "elements": [
2094
- {
2095
- "type": "union",
2096
- "types": [
2097
- {
2098
- "type": "reference",
2099
- "id": 124,
2100
- "name": "TModule"
2101
- },
2102
- {
2103
- "type": "intrinsic",
2104
- "name": "undefined"
2105
- }
2106
- ]
2107
- },
2108
- {
2109
- "type": "union",
2110
- "types": [
2111
- {
2112
- "type": "reference",
2113
- "name": "Error",
2114
- "qualifiedName": "Error",
2115
- "package": "typescript"
2116
- },
2117
- {
2118
- "type": "intrinsic",
2119
- "name": "undefined"
2120
- }
2121
- ]
2122
- }
2123
- ]
2124
- }
2125
- },
2126
- {
2127
- "id": 142,
2128
- "name": "__type",
2129
- "kind": 4096,
2130
- "kindString": "Call signature",
2131
- "flags": {},
2132
- "parameters": [
2133
- {
2134
- "id": 143,
2135
- "name": "address",
2136
- "kind": 32768,
2137
- "kindString": "Parameter",
2138
- "flags": {},
2139
- "type": {
2140
- "type": "intrinsic",
2141
- "name": "string"
2142
- }
2143
- },
2144
- {
2145
- "id": 144,
2146
- "name": "wrap",
2147
- "kind": 32768,
2148
- "kindString": "Parameter",
2149
- "flags": {},
2150
- "type": {
2151
- "type": "union",
2152
- "types": [
2153
- {
2154
- "type": "literal",
2155
- "value": true
2156
- },
2157
- {
2158
- "type": "reference",
2159
- "name": "Account",
2160
- "qualifiedName": "Account",
2161
- "package": "@xyo-network/account"
2162
- }
2163
- ]
2164
- }
2165
- }
2166
- ],
2167
- "type": {
2168
- "type": "tuple",
2169
- "elements": [
2170
- {
2171
- "type": "union",
2172
- "types": [
2173
- {
2174
- "type": "reference",
2175
- "id": 129,
2176
- "name": "TWrapper"
2177
- },
2178
- {
2179
- "type": "intrinsic",
2180
- "name": "undefined"
2181
- }
2182
- ]
2183
- },
2184
- {
2185
- "type": "union",
2186
- "types": [
2187
- {
2188
- "type": "reference",
2189
- "name": "Error",
2190
- "qualifiedName": "Error",
2191
- "package": "typescript"
2192
- },
2193
- {
2194
- "type": "intrinsic",
2195
- "name": "undefined"
2196
1669
  }
2197
1670
  ]
2198
1671
  }
@@ -2216,7 +1689,7 @@
2216
1689
  "fileName": "packages/modules/packages/node/src/hooks/useArchiveArchivists.tsx",
2217
1690
  "line": 44,
2218
1691
  "character": 13,
2219
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useArchiveArchivists.tsx#L44"
1692
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useArchiveArchivists.tsx#L44"
2220
1693
  }
2221
1694
  ],
2222
1695
  "signatures": [
@@ -2297,7 +1770,7 @@
2297
1770
  "fileName": "packages/modules/packages/node/src/hooks/useArchiveArchivists.tsx",
2298
1771
  "line": 13,
2299
1772
  "character": 13,
2300
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useArchiveArchivists.tsx#L13"
1773
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useArchiveArchivists.tsx#L13"
2301
1774
  }
2302
1775
  ],
2303
1776
  "signatures": [
@@ -2362,7 +1835,7 @@
2362
1835
  "fileName": "packages/modules/packages/node/src/hooks/useArchivistModule.ts",
2363
1836
  "line": 6,
2364
1837
  "character": 13,
2365
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useArchivistModule.ts#L6"
1838
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useArchivistModule.ts#L6"
2366
1839
  }
2367
1840
  ],
2368
1841
  "signatures": [
@@ -2418,7 +1891,7 @@
2418
1891
  "fileName": "packages/modules/packages/node/src/hooks/useArchivistModules.ts",
2419
1892
  "line": 5,
2420
1893
  "character": 13,
2421
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useArchivistModules.ts#L5"
1894
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useArchivistModules.ts#L5"
2422
1895
  }
2423
1896
  ],
2424
1897
  "signatures": [
@@ -2460,7 +1933,7 @@
2460
1933
  "fileName": "packages/modules/packages/node/src/hooks/useDivinerModule.ts",
2461
1934
  "line": 6,
2462
1935
  "character": 13,
2463
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useDivinerModule.ts#L6"
1936
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useDivinerModule.ts#L6"
2464
1937
  }
2465
1938
  ],
2466
1939
  "signatures": [
@@ -2516,7 +1989,7 @@
2516
1989
  "fileName": "packages/modules/packages/node/src/hooks/useDivinerModules.ts",
2517
1990
  "line": 6,
2518
1991
  "character": 13,
2519
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useDivinerModules.ts#L6"
1992
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useDivinerModules.ts#L6"
2520
1993
  }
2521
1994
  ],
2522
1995
  "signatures": [
@@ -2558,7 +2031,7 @@
2558
2031
  "fileName": "packages/modules/packages/node/src/hooks/useMemoryNodeUpdates.tsx",
2559
2032
  "line": 13,
2560
2033
  "character": 13,
2561
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useMemoryNodeUpdates.tsx#L13"
2034
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useMemoryNodeUpdates.tsx#L13"
2562
2035
  }
2563
2036
  ],
2564
2037
  "signatures": [
@@ -2602,9 +2075,9 @@
2602
2075
  "sources": [
2603
2076
  {
2604
2077
  "fileName": "packages/modules/packages/node/src/hooks/useModule.tsx",
2605
- "line": 5,
2078
+ "line": 8,
2606
2079
  "character": 13,
2607
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useModule.tsx#L5"
2080
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useModule.tsx#L8"
2608
2081
  }
2609
2082
  ],
2610
2083
  "signatures": [
@@ -2614,298 +2087,145 @@
2614
2087
  "kind": 4096,
2615
2088
  "kindString": "Call signature",
2616
2089
  "flags": {},
2617
- "parameters": [
2618
- {
2619
- "id": 87,
2620
- "name": "name",
2621
- "kind": 32768,
2622
- "kindString": "Parameter",
2623
- "flags": {
2624
- "isOptional": true
2625
- },
2626
- "type": {
2627
- "type": "intrinsic",
2628
- "name": "string"
2629
- }
2630
- }
2631
- ],
2632
- "type": {
2633
- "type": "tuple",
2634
- "elements": [
2635
- {
2636
- "type": "union",
2637
- "types": [
2638
- {
2639
- "type": "reference",
2640
- "id": 124,
2641
- "name": "TModule"
2642
- },
2643
- {
2644
- "type": "intrinsic",
2645
- "name": "undefined"
2646
- }
2647
- ]
2648
- },
2649
- {
2650
- "type": "union",
2651
- "types": [
2652
- {
2653
- "type": "reference",
2654
- "name": "Error",
2655
- "qualifiedName": "Error",
2656
- "package": "typescript"
2657
- },
2658
- {
2659
- "type": "intrinsic",
2660
- "name": "undefined"
2661
- }
2662
- ]
2663
- }
2664
- ]
2665
- }
2666
- },
2667
- {
2668
- "id": 88,
2669
- "name": "useModule",
2670
- "kind": 4096,
2671
- "kindString": "Call signature",
2672
- "flags": {},
2673
- "parameters": [
2674
- {
2675
- "id": 89,
2676
- "name": "name",
2677
- "kind": 32768,
2678
- "kindString": "Parameter",
2679
- "flags": {},
2680
- "type": {
2681
- "type": "union",
2682
- "types": [
2683
- {
2684
- "type": "intrinsic",
2685
- "name": "undefined"
2686
- },
2687
- {
2688
- "type": "intrinsic",
2689
- "name": "string"
2690
- }
2691
- ]
2692
- }
2693
- },
2090
+ "typeParameter": [
2694
2091
  {
2695
- "id": 90,
2696
- "name": "wrap",
2697
- "kind": 32768,
2698
- "kindString": "Parameter",
2092
+ "id": 91,
2093
+ "name": "TModule",
2094
+ "kind": 131072,
2095
+ "kindString": "Type parameter",
2699
2096
  "flags": {},
2700
2097
  "type": {
2701
- "type": "union",
2702
- "types": [
2703
- {
2704
- "type": "literal",
2705
- "value": true
2706
- },
2707
- {
2708
- "type": "reference",
2709
- "name": "Account",
2710
- "qualifiedName": "Account",
2711
- "package": "@xyo-network/account"
2712
- }
2713
- ]
2714
- }
2715
- }
2716
- ],
2717
- "type": {
2718
- "type": "tuple",
2719
- "elements": [
2720
- {
2721
- "type": "union",
2722
- "types": [
2723
- {
2724
- "type": "reference",
2725
- "id": 129,
2726
- "name": "TWrapper"
2727
- },
2098
+ "type": "reference",
2099
+ "typeArguments": [
2728
2100
  {
2729
- "type": "intrinsic",
2730
- "name": "undefined"
2101
+ "type": "intersection",
2102
+ "types": [
2103
+ {
2104
+ "type": "reference",
2105
+ "name": "SchemaFields",
2106
+ "qualifiedName": "SchemaFields",
2107
+ "package": "@xyo-network/payload-model"
2108
+ },
2109
+ {
2110
+ "type": "reference",
2111
+ "name": "PayloadFields",
2112
+ "qualifiedName": "PayloadFields",
2113
+ "package": "@xyo-network/payload-model"
2114
+ },
2115
+ {
2116
+ "type": "reflection",
2117
+ "declaration": {
2118
+ "id": 87,
2119
+ "name": "__type",
2120
+ "kind": 65536,
2121
+ "kindString": "Type literal",
2122
+ "flags": {},
2123
+ "sources": [
2124
+ {
2125
+ "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
2126
+ "line": 8,
2127
+ "character": 75
2128
+ }
2129
+ ]
2130
+ }
2131
+ },
2132
+ {
2133
+ "type": "reflection",
2134
+ "declaration": {
2135
+ "id": 88,
2136
+ "name": "__type",
2137
+ "kind": 65536,
2138
+ "kindString": "Type literal",
2139
+ "flags": {},
2140
+ "sources": [
2141
+ {
2142
+ "fileName": "node_modules/@xyo-network/payload-model/dist/types/XyoPayload.d.ts",
2143
+ "line": 18,
2144
+ "character": 17
2145
+ }
2146
+ ]
2147
+ }
2148
+ }
2149
+ ]
2731
2150
  }
2732
- ]
2151
+ ],
2152
+ "name": "Module",
2153
+ "qualifiedName": "Module",
2154
+ "package": "@xyo-network/module-model"
2733
2155
  },
2734
- {
2735
- "type": "union",
2736
- "types": [
2737
- {
2738
- "type": "reference",
2739
- "name": "Error",
2740
- "qualifiedName": "Error",
2741
- "package": "typescript"
2742
- },
2743
- {
2744
- "type": "intrinsic",
2745
- "name": "undefined"
2746
- }
2747
- ]
2748
- }
2749
- ]
2750
- }
2751
- },
2752
- {
2753
- "id": 91,
2754
- "name": "useModule",
2755
- "kind": 4096,
2756
- "kindString": "Call signature",
2757
- "flags": {},
2758
- "parameters": [
2759
- {
2760
- "id": 92,
2761
- "name": "wrap",
2762
- "kind": 32768,
2763
- "kindString": "Parameter",
2764
- "flags": {},
2765
- "type": {
2766
- "type": "union",
2767
- "types": [
2768
- {
2769
- "type": "literal",
2770
- "value": true
2771
- },
2156
+ "default": {
2157
+ "type": "reference",
2158
+ "typeArguments": [
2772
2159
  {
2773
- "type": "reference",
2774
- "name": "Account",
2775
- "qualifiedName": "Account",
2776
- "package": "@xyo-network/account"
2160
+ "type": "intersection",
2161
+ "types": [
2162
+ {
2163
+ "type": "reference",
2164
+ "name": "SchemaFields",
2165
+ "qualifiedName": "SchemaFields",
2166
+ "package": "@xyo-network/payload-model"
2167
+ },
2168
+ {
2169
+ "type": "reference",
2170
+ "name": "PayloadFields",
2171
+ "qualifiedName": "PayloadFields",
2172
+ "package": "@xyo-network/payload-model"
2173
+ },
2174
+ {
2175
+ "type": "reflection",
2176
+ "declaration": {
2177
+ "id": 89,
2178
+ "name": "__type",
2179
+ "kind": 65536,
2180
+ "kindString": "Type literal",
2181
+ "flags": {},
2182
+ "sources": [
2183
+ {
2184
+ "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
2185
+ "line": 8,
2186
+ "character": 75
2187
+ }
2188
+ ]
2189
+ }
2190
+ },
2191
+ {
2192
+ "type": "reflection",
2193
+ "declaration": {
2194
+ "id": 90,
2195
+ "name": "__type",
2196
+ "kind": 65536,
2197
+ "kindString": "Type literal",
2198
+ "flags": {},
2199
+ "sources": [
2200
+ {
2201
+ "fileName": "node_modules/@xyo-network/payload-model/dist/types/XyoPayload.d.ts",
2202
+ "line": 18,
2203
+ "character": 17
2204
+ }
2205
+ ]
2206
+ }
2207
+ }
2208
+ ]
2777
2209
  }
2778
- ]
2210
+ ],
2211
+ "name": "Module",
2212
+ "qualifiedName": "Module",
2213
+ "package": "@xyo-network/module-model"
2779
2214
  }
2780
2215
  }
2781
2216
  ],
2782
- "type": {
2783
- "type": "tuple",
2784
- "elements": [
2785
- {
2786
- "type": "union",
2787
- "types": [
2788
- {
2789
- "type": "reference",
2790
- "id": 129,
2791
- "name": "TWrapper"
2792
- },
2793
- {
2794
- "type": "intrinsic",
2795
- "name": "undefined"
2796
- }
2797
- ]
2798
- },
2799
- {
2800
- "type": "union",
2801
- "types": [
2802
- {
2803
- "type": "reference",
2804
- "name": "Error",
2805
- "qualifiedName": "Error",
2806
- "package": "typescript"
2807
- },
2808
- {
2809
- "type": "intrinsic",
2810
- "name": "undefined"
2811
- }
2812
- ]
2813
- }
2814
- ]
2815
- }
2816
- },
2817
- {
2818
- "id": 93,
2819
- "name": "useModule",
2820
- "kind": 4096,
2821
- "kindString": "Call signature",
2822
- "flags": {},
2823
2217
  "parameters": [
2824
2218
  {
2825
- "id": 94,
2826
- "name": "address",
2219
+ "id": 92,
2220
+ "name": "nameOrAddress",
2827
2221
  "kind": 32768,
2828
2222
  "kindString": "Parameter",
2829
- "flags": {},
2830
- "type": {
2831
- "type": "intrinsic",
2832
- "name": "string"
2833
- }
2834
- }
2835
- ],
2836
- "type": {
2837
- "type": "tuple",
2838
- "elements": [
2839
- {
2840
- "type": "union",
2841
- "types": [
2842
- {
2843
- "type": "reference",
2844
- "id": 124,
2845
- "name": "TModule"
2846
- },
2847
- {
2848
- "type": "intrinsic",
2849
- "name": "undefined"
2850
- }
2851
- ]
2223
+ "flags": {
2224
+ "isOptional": true
2852
2225
  },
2853
- {
2854
- "type": "union",
2855
- "types": [
2856
- {
2857
- "type": "reference",
2858
- "name": "Error",
2859
- "qualifiedName": "Error",
2860
- "package": "typescript"
2861
- },
2862
- {
2863
- "type": "intrinsic",
2864
- "name": "undefined"
2865
- }
2866
- ]
2867
- }
2868
- ]
2869
- }
2870
- },
2871
- {
2872
- "id": 95,
2873
- "name": "useModule",
2874
- "kind": 4096,
2875
- "kindString": "Call signature",
2876
- "flags": {},
2877
- "parameters": [
2878
- {
2879
- "id": 96,
2880
- "name": "address",
2881
- "kind": 32768,
2882
- "kindString": "Parameter",
2883
- "flags": {},
2884
- "type": {
2885
- "type": "intrinsic",
2886
- "name": "string"
2887
- }
2888
- },
2889
- {
2890
- "id": 97,
2891
- "name": "wrap",
2892
- "kind": 32768,
2893
- "kindString": "Parameter",
2894
- "flags": {},
2895
- "type": {
2896
- "type": "union",
2897
- "types": [
2898
- {
2899
- "type": "literal",
2900
- "value": true
2901
- },
2902
- {
2903
- "type": "reference",
2904
- "name": "Account",
2905
- "qualifiedName": "Account",
2906
- "package": "@xyo-network/account"
2907
- }
2908
- ]
2226
+ "type": {
2227
+ "type": "intrinsic",
2228
+ "name": "string"
2909
2229
  }
2910
2230
  }
2911
2231
  ],
@@ -2915,29 +2235,29 @@
2915
2235
  {
2916
2236
  "type": "union",
2917
2237
  "types": [
2918
- {
2919
- "type": "reference",
2920
- "id": 129,
2921
- "name": "TWrapper"
2922
- },
2923
2238
  {
2924
2239
  "type": "intrinsic",
2925
2240
  "name": "undefined"
2241
+ },
2242
+ {
2243
+ "type": "reference",
2244
+ "id": 91,
2245
+ "name": "TModule"
2926
2246
  }
2927
2247
  ]
2928
2248
  },
2929
2249
  {
2930
2250
  "type": "union",
2931
2251
  "types": [
2252
+ {
2253
+ "type": "intrinsic",
2254
+ "name": "undefined"
2255
+ },
2932
2256
  {
2933
2257
  "type": "reference",
2934
2258
  "name": "Error",
2935
2259
  "qualifiedName": "Error",
2936
2260
  "package": "typescript"
2937
- },
2938
- {
2939
- "type": "intrinsic",
2940
- "name": "undefined"
2941
2261
  }
2942
2262
  ]
2943
2263
  }
@@ -2947,7 +2267,7 @@
2947
2267
  ]
2948
2268
  },
2949
2269
  {
2950
- "id": 98,
2270
+ "id": 93,
2951
2271
  "name": "useModuleAddresses",
2952
2272
  "kind": 64,
2953
2273
  "kindString": "Function",
@@ -2957,12 +2277,12 @@
2957
2277
  "fileName": "packages/modules/packages/node/src/hooks/useModuleAddresses.ts",
2958
2278
  "line": 6,
2959
2279
  "character": 13,
2960
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useModuleAddresses.ts#L6"
2280
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useModuleAddresses.ts#L6"
2961
2281
  }
2962
2282
  ],
2963
2283
  "signatures": [
2964
2284
  {
2965
- "id": 99,
2285
+ "id": 94,
2966
2286
  "name": "useModuleAddresses",
2967
2287
  "kind": 4096,
2968
2288
  "kindString": "Call signature",
@@ -3012,7 +2332,7 @@
3012
2332
  "fileName": "packages/modules/packages/node/src/contexts/ModuleRepository/use.tsx",
3013
2333
  "line": 5,
3014
2334
  "character": 13,
3015
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/ModuleRepository/use.tsx#L5"
2335
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/ModuleRepository/use.tsx#L5"
3016
2336
  }
3017
2337
  ],
3018
2338
  "signatures": [
@@ -3066,7 +2386,7 @@
3066
2386
  ]
3067
2387
  },
3068
2388
  {
3069
- "id": 100,
2389
+ "id": 95,
3070
2390
  "name": "useModules",
3071
2391
  "kind": 64,
3072
2392
  "kindString": "Function",
@@ -3076,19 +2396,19 @@
3076
2396
  "fileName": "packages/modules/packages/node/src/hooks/useModules.ts",
3077
2397
  "line": 7,
3078
2398
  "character": 13,
3079
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useModules.ts#L7"
2399
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useModules.ts#L7"
3080
2400
  }
3081
2401
  ],
3082
2402
  "signatures": [
3083
2403
  {
3084
- "id": 101,
2404
+ "id": 96,
3085
2405
  "name": "useModules",
3086
2406
  "kind": 4096,
3087
2407
  "kindString": "Call signature",
3088
2408
  "flags": {},
3089
2409
  "typeParameter": [
3090
2410
  {
3091
- "id": 106,
2411
+ "id": 101,
3092
2412
  "name": "T",
3093
2413
  "kind": 131072,
3094
2414
  "kindString": "Type parameter",
@@ -3114,7 +2434,7 @@
3114
2434
  {
3115
2435
  "type": "reflection",
3116
2436
  "declaration": {
3117
- "id": 102,
2437
+ "id": 97,
3118
2438
  "name": "__type",
3119
2439
  "kind": 65536,
3120
2440
  "kindString": "Type literal",
@@ -3131,7 +2451,7 @@
3131
2451
  {
3132
2452
  "type": "reflection",
3133
2453
  "declaration": {
3134
- "id": 103,
2454
+ "id": 98,
3135
2455
  "name": "__type",
3136
2456
  "kind": 65536,
3137
2457
  "kindString": "Type literal",
@@ -3173,7 +2493,7 @@
3173
2493
  {
3174
2494
  "type": "reflection",
3175
2495
  "declaration": {
3176
- "id": 104,
2496
+ "id": 99,
3177
2497
  "name": "__type",
3178
2498
  "kind": 65536,
3179
2499
  "kindString": "Type literal",
@@ -3190,7 +2510,7 @@
3190
2510
  {
3191
2511
  "type": "reflection",
3192
2512
  "declaration": {
3193
- "id": 105,
2513
+ "id": 100,
3194
2514
  "name": "__type",
3195
2515
  "kind": 65536,
3196
2516
  "kindString": "Type literal",
@@ -3215,7 +2535,7 @@
3215
2535
  ],
3216
2536
  "parameters": [
3217
2537
  {
3218
- "id": 107,
2538
+ "id": 102,
3219
2539
  "name": "filter",
3220
2540
  "kind": 32768,
3221
2541
  "kindString": "Parameter",
@@ -3241,7 +2561,7 @@
3241
2561
  "type": "array",
3242
2562
  "elementType": {
3243
2563
  "type": "reference",
3244
- "id": 106,
2564
+ "id": 101,
3245
2565
  "name": "T"
3246
2566
  }
3247
2567
  }
@@ -3251,319 +2571,39 @@
3251
2571
  ]
3252
2572
  },
3253
2573
  {
3254
- "id": 145,
2574
+ "id": 103,
3255
2575
  "name": "useNode",
3256
2576
  "kind": 64,
3257
2577
  "kindString": "Function",
3258
2578
  "flags": {},
3259
- "sources": [
3260
- {
3261
- "fileName": "packages/modules/packages/node/src/hooks/useNode.tsx",
3262
- "line": 82,
3263
- "character": 13,
3264
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useNode.tsx#L82"
3265
- }
3266
- ],
3267
- "signatures": [
3268
- {
3269
- "id": 146,
3270
- "name": "useNode",
3271
- "kind": 4096,
3272
- "kindString": "Call signature",
3273
- "flags": {},
3274
- "parameters": [
3275
- {
3276
- "id": 147,
3277
- "name": "name",
3278
- "kind": 32768,
3279
- "kindString": "Parameter",
3280
- "flags": {
3281
- "isOptional": true
3282
- },
3283
- "type": {
3284
- "type": "intrinsic",
3285
- "name": "string"
3286
- }
3287
- }
3288
- ],
3289
- "type": {
3290
- "type": "tuple",
3291
- "elements": [
3292
- {
3293
- "type": "union",
3294
- "types": [
3295
- {
3296
- "type": "reference",
3297
- "id": 124,
3298
- "name": "TModule"
3299
- },
3300
- {
3301
- "type": "intrinsic",
3302
- "name": "undefined"
3303
- }
3304
- ]
3305
- },
3306
- {
3307
- "type": "union",
3308
- "types": [
3309
- {
3310
- "type": "reference",
3311
- "name": "Error",
3312
- "qualifiedName": "Error",
3313
- "package": "typescript"
3314
- },
3315
- {
3316
- "type": "intrinsic",
3317
- "name": "undefined"
3318
- }
3319
- ]
3320
- }
3321
- ]
3322
- }
3323
- },
3324
- {
3325
- "id": 148,
3326
- "name": "useNode",
3327
- "kind": 4096,
3328
- "kindString": "Call signature",
3329
- "flags": {},
3330
- "parameters": [
3331
- {
3332
- "id": 149,
3333
- "name": "name",
3334
- "kind": 32768,
3335
- "kindString": "Parameter",
3336
- "flags": {},
3337
- "type": {
3338
- "type": "union",
3339
- "types": [
3340
- {
3341
- "type": "intrinsic",
3342
- "name": "undefined"
3343
- },
3344
- {
3345
- "type": "intrinsic",
3346
- "name": "string"
3347
- }
3348
- ]
3349
- }
3350
- },
3351
- {
3352
- "id": 150,
3353
- "name": "wrap",
3354
- "kind": 32768,
3355
- "kindString": "Parameter",
3356
- "flags": {},
3357
- "type": {
3358
- "type": "union",
3359
- "types": [
3360
- {
3361
- "type": "literal",
3362
- "value": true
3363
- },
3364
- {
3365
- "type": "reference",
3366
- "name": "Account",
3367
- "qualifiedName": "Account",
3368
- "package": "@xyo-network/account"
3369
- }
3370
- ]
3371
- }
3372
- }
3373
- ],
3374
- "type": {
3375
- "type": "tuple",
3376
- "elements": [
3377
- {
3378
- "type": "union",
3379
- "types": [
3380
- {
3381
- "type": "reference",
3382
- "id": 129,
3383
- "name": "TWrapper"
3384
- },
3385
- {
3386
- "type": "intrinsic",
3387
- "name": "undefined"
3388
- }
3389
- ]
3390
- },
3391
- {
3392
- "type": "union",
3393
- "types": [
3394
- {
3395
- "type": "reference",
3396
- "name": "Error",
3397
- "qualifiedName": "Error",
3398
- "package": "typescript"
3399
- },
3400
- {
3401
- "type": "intrinsic",
3402
- "name": "undefined"
3403
- }
3404
- ]
3405
- }
3406
- ]
3407
- }
3408
- },
3409
- {
3410
- "id": 151,
3411
- "name": "useNode",
3412
- "kind": 4096,
3413
- "kindString": "Call signature",
3414
- "flags": {},
3415
- "parameters": [
3416
- {
3417
- "id": 152,
3418
- "name": "wrap",
3419
- "kind": 32768,
3420
- "kindString": "Parameter",
3421
- "flags": {},
3422
- "type": {
3423
- "type": "union",
3424
- "types": [
3425
- {
3426
- "type": "literal",
3427
- "value": true
3428
- },
3429
- {
3430
- "type": "reference",
3431
- "name": "Account",
3432
- "qualifiedName": "Account",
3433
- "package": "@xyo-network/account"
3434
- }
3435
- ]
3436
- }
3437
- }
3438
- ],
3439
- "type": {
3440
- "type": "tuple",
3441
- "elements": [
3442
- {
3443
- "type": "union",
3444
- "types": [
3445
- {
3446
- "type": "reference",
3447
- "id": 129,
3448
- "name": "TWrapper"
3449
- },
3450
- {
3451
- "type": "intrinsic",
3452
- "name": "undefined"
3453
- }
3454
- ]
3455
- },
3456
- {
3457
- "type": "union",
3458
- "types": [
3459
- {
3460
- "type": "reference",
3461
- "name": "Error",
3462
- "qualifiedName": "Error",
3463
- "package": "typescript"
3464
- },
3465
- {
3466
- "type": "intrinsic",
3467
- "name": "undefined"
3468
- }
3469
- ]
3470
- }
3471
- ]
3472
- }
3473
- },
3474
- {
3475
- "id": 153,
3476
- "name": "useNode",
3477
- "kind": 4096,
3478
- "kindString": "Call signature",
3479
- "flags": {},
3480
- "parameters": [
3481
- {
3482
- "id": 154,
3483
- "name": "address",
3484
- "kind": 32768,
3485
- "kindString": "Parameter",
3486
- "flags": {},
3487
- "type": {
3488
- "type": "intrinsic",
3489
- "name": "string"
3490
- }
3491
- }
3492
- ],
3493
- "type": {
3494
- "type": "tuple",
3495
- "elements": [
3496
- {
3497
- "type": "union",
3498
- "types": [
3499
- {
3500
- "type": "reference",
3501
- "id": 124,
3502
- "name": "TModule"
3503
- },
3504
- {
3505
- "type": "intrinsic",
3506
- "name": "undefined"
3507
- }
3508
- ]
3509
- },
3510
- {
3511
- "type": "union",
3512
- "types": [
3513
- {
3514
- "type": "reference",
3515
- "name": "Error",
3516
- "qualifiedName": "Error",
3517
- "package": "typescript"
3518
- },
3519
- {
3520
- "type": "intrinsic",
3521
- "name": "undefined"
3522
- }
3523
- ]
3524
- }
3525
- ]
3526
- }
3527
- },
2579
+ "sources": [
2580
+ {
2581
+ "fileName": "packages/modules/packages/node/src/hooks/useNode.tsx",
2582
+ "line": 6,
2583
+ "character": 13,
2584
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useNode.tsx#L6"
2585
+ }
2586
+ ],
2587
+ "signatures": [
3528
2588
  {
3529
- "id": 155,
2589
+ "id": 104,
3530
2590
  "name": "useNode",
3531
2591
  "kind": 4096,
3532
2592
  "kindString": "Call signature",
3533
2593
  "flags": {},
3534
2594
  "parameters": [
3535
2595
  {
3536
- "id": 156,
3537
- "name": "address",
2596
+ "id": 105,
2597
+ "name": "nameOrAddress",
3538
2598
  "kind": 32768,
3539
2599
  "kindString": "Parameter",
3540
- "flags": {},
2600
+ "flags": {
2601
+ "isOptional": true
2602
+ },
3541
2603
  "type": {
3542
2604
  "type": "intrinsic",
3543
2605
  "name": "string"
3544
2606
  }
3545
- },
3546
- {
3547
- "id": 157,
3548
- "name": "wrap",
3549
- "kind": 32768,
3550
- "kindString": "Parameter",
3551
- "flags": {},
3552
- "type": {
3553
- "type": "union",
3554
- "types": [
3555
- {
3556
- "type": "literal",
3557
- "value": true
3558
- },
3559
- {
3560
- "type": "reference",
3561
- "name": "Account",
3562
- "qualifiedName": "Account",
3563
- "package": "@xyo-network/account"
3564
- }
3565
- ]
3566
- }
3567
2607
  }
3568
2608
  ],
3569
2609
  "type": {
@@ -3572,29 +2612,30 @@
3572
2612
  {
3573
2613
  "type": "union",
3574
2614
  "types": [
3575
- {
3576
- "type": "reference",
3577
- "id": 129,
3578
- "name": "TWrapper"
3579
- },
3580
2615
  {
3581
2616
  "type": "intrinsic",
3582
2617
  "name": "undefined"
2618
+ },
2619
+ {
2620
+ "type": "reference",
2621
+ "name": "NodeModule",
2622
+ "qualifiedName": "NodeModule",
2623
+ "package": "@xyo-network/node"
3583
2624
  }
3584
2625
  ]
3585
2626
  },
3586
2627
  {
3587
2628
  "type": "union",
3588
2629
  "types": [
2630
+ {
2631
+ "type": "intrinsic",
2632
+ "name": "undefined"
2633
+ },
3589
2634
  {
3590
2635
  "type": "reference",
3591
2636
  "name": "Error",
3592
2637
  "qualifiedName": "Error",
3593
2638
  "package": "typescript"
3594
- },
3595
- {
3596
- "type": "intrinsic",
3597
- "name": "undefined"
3598
2639
  }
3599
2640
  ]
3600
2641
  }
@@ -3614,7 +2655,7 @@
3614
2655
  "fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/use.tsx",
3615
2656
  "line": 5,
3616
2657
  "character": 13,
3617
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/contexts/NodeDrawerContext/use.tsx#L5"
2658
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/contexts/NodeDrawerContext/use.tsx#L5"
3618
2659
  }
3619
2660
  ],
3620
2661
  "signatures": [
@@ -3668,7 +2709,7 @@
3668
2709
  ]
3669
2710
  },
3670
2711
  {
3671
- "id": 165,
2712
+ "id": 113,
3672
2713
  "name": "useNodeQueryDiviner",
3673
2714
  "kind": 64,
3674
2715
  "kindString": "Function",
@@ -3678,19 +2719,19 @@
3678
2719
  "fileName": "packages/modules/packages/node/src/hooks/useNodeQueryDiviner.tsx",
3679
2720
  "line": 44,
3680
2721
  "character": 13,
3681
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useNodeQueryDiviner.tsx#L44"
2722
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useNodeQueryDiviner.tsx#L44"
3682
2723
  }
3683
2724
  ],
3684
2725
  "signatures": [
3685
2726
  {
3686
- "id": 166,
2727
+ "id": 114,
3687
2728
  "name": "useNodeQueryDiviner",
3688
2729
  "kind": 4096,
3689
2730
  "kindString": "Call signature",
3690
2731
  "flags": {},
3691
2732
  "parameters": [
3692
2733
  {
3693
- "id": 167,
2734
+ "id": 115,
3694
2735
  "name": "moduleIdentifier",
3695
2736
  "kind": 32768,
3696
2737
  "kindString": "Parameter",
@@ -3703,7 +2744,7 @@
3703
2744
  }
3704
2745
  },
3705
2746
  {
3706
- "id": 168,
2747
+ "id": 116,
3707
2748
  "name": "query",
3708
2749
  "kind": 32768,
3709
2750
  "kindString": "Parameter",
@@ -3728,7 +2769,7 @@
3728
2769
  {
3729
2770
  "type": "reflection",
3730
2771
  "declaration": {
3731
- "id": 169,
2772
+ "id": 117,
3732
2773
  "name": "__type",
3733
2774
  "kind": 65536,
3734
2775
  "kindString": "Type literal",
@@ -3746,7 +2787,7 @@
3746
2787
  }
3747
2788
  },
3748
2789
  {
3749
- "id": 170,
2790
+ "id": 118,
3750
2791
  "name": "refresher",
3751
2792
  "kind": 32768,
3752
2793
  "kindString": "Parameter",
@@ -3759,7 +2800,7 @@
3759
2800
  }
3760
2801
  },
3761
2802
  {
3762
- "id": 171,
2803
+ "id": 119,
3763
2804
  "name": "refreshAddresses",
3764
2805
  "kind": 32768,
3765
2806
  "kindString": "Parameter",
@@ -3806,7 +2847,7 @@
3806
2847
  {
3807
2848
  "type": "reflection",
3808
2849
  "declaration": {
3809
- "id": 172,
2850
+ "id": 120,
3810
2851
  "name": "__type",
3811
2852
  "kind": 65536,
3812
2853
  "kindString": "Type literal",
@@ -3850,7 +2891,7 @@
3850
2891
  ]
3851
2892
  },
3852
2893
  {
3853
- "id": 158,
2894
+ "id": 106,
3854
2895
  "name": "useNodeQueryDivinerRaw",
3855
2896
  "kind": 64,
3856
2897
  "kindString": "Function",
@@ -3860,19 +2901,19 @@
3860
2901
  "fileName": "packages/modules/packages/node/src/hooks/useNodeQueryDiviner.tsx",
3861
2902
  "line": 10,
3862
2903
  "character": 13,
3863
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useNodeQueryDiviner.tsx#L10"
2904
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useNodeQueryDiviner.tsx#L10"
3864
2905
  }
3865
2906
  ],
3866
2907
  "signatures": [
3867
2908
  {
3868
- "id": 159,
2909
+ "id": 107,
3869
2910
  "name": "useNodeQueryDivinerRaw",
3870
2911
  "kind": 4096,
3871
2912
  "kindString": "Call signature",
3872
2913
  "flags": {},
3873
2914
  "parameters": [
3874
2915
  {
3875
- "id": 160,
2916
+ "id": 108,
3876
2917
  "name": "moduleIdentifier",
3877
2918
  "kind": 32768,
3878
2919
  "kindString": "Parameter",
@@ -3885,7 +2926,7 @@
3885
2926
  }
3886
2927
  },
3887
2928
  {
3888
- "id": 161,
2929
+ "id": 109,
3889
2930
  "name": "query",
3890
2931
  "kind": 32768,
3891
2932
  "kindString": "Parameter",
@@ -3910,7 +2951,7 @@
3910
2951
  {
3911
2952
  "type": "reflection",
3912
2953
  "declaration": {
3913
- "id": 162,
2954
+ "id": 110,
3914
2955
  "name": "__type",
3915
2956
  "kind": 65536,
3916
2957
  "kindString": "Type literal",
@@ -3928,7 +2969,7 @@
3928
2969
  }
3929
2970
  },
3930
2971
  {
3931
- "id": 163,
2972
+ "id": 111,
3932
2973
  "name": "refresher",
3933
2974
  "kind": 32768,
3934
2975
  "kindString": "Parameter",
@@ -3972,7 +3013,7 @@
3972
3013
  {
3973
3014
  "type": "reflection",
3974
3015
  "declaration": {
3975
- "id": 164,
3016
+ "id": 112,
3976
3017
  "name": "__type",
3977
3018
  "kind": 65536,
3978
3019
  "kindString": "Type literal",
@@ -4016,7 +3057,7 @@
4016
3057
  ]
4017
3058
  },
4018
3059
  {
4019
- "id": 173,
3060
+ "id": 121,
4020
3061
  "name": "useProvidedNode",
4021
3062
  "kind": 64,
4022
3063
  "kindString": "Function",
@@ -4024,151 +3065,76 @@
4024
3065
  "sources": [
4025
3066
  {
4026
3067
  "fileName": "packages/modules/packages/node/src/hooks/useProvidedNode.tsx",
4027
- "line": 31,
3068
+ "line": 7,
4028
3069
  "character": 13,
4029
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useProvidedNode.tsx#L31"
3070
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useProvidedNode.tsx#L7"
4030
3071
  }
4031
3072
  ],
4032
3073
  "signatures": [
4033
3074
  {
4034
- "id": 174,
3075
+ "id": 122,
4035
3076
  "name": "useProvidedNode",
4036
3077
  "kind": 4096,
4037
3078
  "kindString": "Call signature",
4038
3079
  "flags": {},
4039
- "parameters": [
4040
- {
4041
- "id": 175,
4042
- "name": "wrap",
4043
- "kind": 32768,
4044
- "kindString": "Parameter",
4045
- "flags": {
4046
- "isOptional": true
4047
- },
4048
- "type": {
4049
- "type": "intrinsic",
4050
- "name": "undefined"
4051
- }
4052
- }
4053
- ],
4054
3080
  "type": {
4055
3081
  "type": "tuple",
4056
3082
  "elements": [
4057
3083
  {
4058
3084
  "type": "union",
4059
3085
  "types": [
4060
- {
4061
- "type": "reference",
4062
- "name": "NodeModule",
4063
- "qualifiedName": "NodeModule",
4064
- "package": "@xyo-network/node"
4065
- },
4066
3086
  {
4067
3087
  "type": "intrinsic",
4068
3088
  "name": "undefined"
4069
- }
4070
- ]
4071
- },
4072
- {
4073
- "type": "union",
4074
- "types": [
4075
- {
4076
- "type": "reference",
4077
- "name": "Error",
4078
- "qualifiedName": "Error",
4079
- "package": "typescript"
4080
3089
  },
4081
- {
4082
- "type": "intrinsic",
4083
- "name": "undefined"
4084
- }
4085
- ]
4086
- }
4087
- ]
4088
- }
4089
- },
4090
- {
4091
- "id": 176,
4092
- "name": "useProvidedNode",
4093
- "kind": 4096,
4094
- "kindString": "Call signature",
4095
- "flags": {},
4096
- "parameters": [
4097
- {
4098
- "id": 177,
4099
- "name": "wrap",
4100
- "kind": 32768,
4101
- "kindString": "Parameter",
4102
- "flags": {},
4103
- "type": {
4104
- "type": "literal",
4105
- "value": false
4106
- }
4107
- }
4108
- ],
4109
- "type": {
4110
- "type": "tuple",
4111
- "elements": [
4112
- {
4113
- "type": "union",
4114
- "types": [
4115
3090
  {
4116
3091
  "type": "reference",
4117
3092
  "name": "NodeModule",
4118
3093
  "qualifiedName": "NodeModule",
4119
3094
  "package": "@xyo-network/node"
4120
- },
4121
- {
4122
- "type": "intrinsic",
4123
- "name": "undefined"
4124
- }
4125
- ]
4126
- },
4127
- {
4128
- "type": "union",
4129
- "types": [
4130
- {
4131
- "type": "reference",
4132
- "name": "Error",
4133
- "qualifiedName": "Error",
4134
- "package": "typescript"
4135
- },
4136
- {
4137
- "type": "intrinsic",
4138
- "name": "undefined"
4139
3095
  }
4140
3096
  ]
4141
3097
  }
4142
3098
  ]
4143
3099
  }
4144
- },
3100
+ }
3101
+ ]
3102
+ },
3103
+ {
3104
+ "id": 123,
3105
+ "name": "useProvidedWrappedNode",
3106
+ "kind": 64,
3107
+ "kindString": "Function",
3108
+ "flags": {},
3109
+ "sources": [
4145
3110
  {
4146
- "id": 178,
4147
- "name": "useProvidedNode",
3111
+ "fileName": "packages/modules/packages/node/src/hooks/useProvidedNode.tsx",
3112
+ "line": 13,
3113
+ "character": 13,
3114
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useProvidedNode.tsx#L13"
3115
+ }
3116
+ ],
3117
+ "signatures": [
3118
+ {
3119
+ "id": 124,
3120
+ "name": "useProvidedWrappedNode",
4148
3121
  "kind": 4096,
4149
3122
  "kindString": "Call signature",
4150
3123
  "flags": {},
4151
3124
  "parameters": [
4152
3125
  {
4153
- "id": 179,
4154
- "name": "wrap",
3126
+ "id": 125,
3127
+ "name": "account",
4155
3128
  "kind": 32768,
4156
3129
  "kindString": "Parameter",
4157
- "flags": {},
3130
+ "flags": {
3131
+ "isOptional": true
3132
+ },
4158
3133
  "type": {
4159
- "type": "union",
4160
- "types": [
4161
- {
4162
- "type": "literal",
4163
- "value": true
4164
- },
4165
- {
4166
- "type": "reference",
4167
- "name": "Account",
4168
- "qualifiedName": "Account",
4169
- "package": "@xyo-network/account"
4170
- }
4171
- ]
3134
+ "type": "reference",
3135
+ "name": "AccountInstance",
3136
+ "qualifiedName": "AccountInstance",
3137
+ "package": "@xyo-network/account-model"
4172
3138
  }
4173
3139
  }
4174
3140
  ],
@@ -4178,30 +3144,30 @@
4178
3144
  {
4179
3145
  "type": "union",
4180
3146
  "types": [
3147
+ {
3148
+ "type": "intrinsic",
3149
+ "name": "undefined"
3150
+ },
4181
3151
  {
4182
3152
  "type": "reference",
4183
3153
  "name": "NodeWrapper",
4184
3154
  "qualifiedName": "NodeWrapper",
4185
3155
  "package": "@xyo-network/node"
4186
- },
4187
- {
4188
- "type": "intrinsic",
4189
- "name": "undefined"
4190
3156
  }
4191
3157
  ]
4192
3158
  },
4193
3159
  {
4194
3160
  "type": "union",
4195
3161
  "types": [
3162
+ {
3163
+ "type": "intrinsic",
3164
+ "name": "undefined"
3165
+ },
4196
3166
  {
4197
3167
  "type": "reference",
4198
3168
  "name": "Error",
4199
3169
  "qualifiedName": "Error",
4200
3170
  "package": "typescript"
4201
- },
4202
- {
4203
- "type": "intrinsic",
4204
- "name": "undefined"
4205
3171
  }
4206
3172
  ]
4207
3173
  }
@@ -4211,7 +3177,7 @@
4211
3177
  ]
4212
3178
  },
4213
3179
  {
4214
- "id": 180,
3180
+ "id": 126,
4215
3181
  "name": "useWitnessModule",
4216
3182
  "kind": 64,
4217
3183
  "kindString": "Function",
@@ -4221,19 +3187,19 @@
4221
3187
  "fileName": "packages/modules/packages/node/src/hooks/useWitnessModule.ts",
4222
3188
  "line": 6,
4223
3189
  "character": 13,
4224
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useWitnessModule.ts#L6"
3190
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useWitnessModule.ts#L6"
4225
3191
  }
4226
3192
  ],
4227
3193
  "signatures": [
4228
3194
  {
4229
- "id": 181,
3195
+ "id": 127,
4230
3196
  "name": "useWitnessModule",
4231
3197
  "kind": 4096,
4232
3198
  "kindString": "Call signature",
4233
3199
  "flags": {},
4234
3200
  "parameters": [
4235
3201
  {
4236
- "id": 182,
3202
+ "id": 128,
4237
3203
  "name": "filter",
4238
3204
  "kind": 32768,
4239
3205
  "kindString": "Parameter",
@@ -4267,7 +3233,7 @@
4267
3233
  ]
4268
3234
  },
4269
3235
  {
4270
- "id": 183,
3236
+ "id": 129,
4271
3237
  "name": "useWitnessModules",
4272
3238
  "kind": 64,
4273
3239
  "kindString": "Function",
@@ -4277,12 +3243,12 @@
4277
3243
  "fileName": "packages/modules/packages/node/src/hooks/useWitnessModules.ts",
4278
3244
  "line": 5,
4279
3245
  "character": 13,
4280
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/hooks/useWitnessModules.ts#L5"
3246
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useWitnessModules.ts#L5"
4281
3247
  }
4282
3248
  ],
4283
3249
  "signatures": [
4284
3250
  {
4285
- "id": 184,
3251
+ "id": 130,
4286
3252
  "name": "useWitnessModules",
4287
3253
  "kind": 4096,
4288
3254
  "kindString": "Call signature",
@@ -4307,6 +3273,156 @@
4307
3273
  }
4308
3274
  }
4309
3275
  ]
3276
+ },
3277
+ {
3278
+ "id": 150,
3279
+ "name": "useWrappedModule",
3280
+ "kind": 64,
3281
+ "kindString": "Function",
3282
+ "flags": {},
3283
+ "sources": [
3284
+ {
3285
+ "fileName": "packages/modules/packages/node/src/hooks/useWrappedModule.tsx",
3286
+ "line": 37,
3287
+ "character": 13,
3288
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/hooks/useWrappedModule.tsx#L37"
3289
+ }
3290
+ ],
3291
+ "signatures": [
3292
+ {
3293
+ "id": 151,
3294
+ "name": "useWrappedModule",
3295
+ "kind": 4096,
3296
+ "kindString": "Call signature",
3297
+ "flags": {},
3298
+ "parameters": [
3299
+ {
3300
+ "id": 152,
3301
+ "name": "nameOrAddress",
3302
+ "kind": 32768,
3303
+ "kindString": "Parameter",
3304
+ "flags": {
3305
+ "isOptional": true
3306
+ },
3307
+ "type": {
3308
+ "type": "intrinsic",
3309
+ "name": "string"
3310
+ }
3311
+ },
3312
+ {
3313
+ "id": 153,
3314
+ "name": "account",
3315
+ "kind": 32768,
3316
+ "kindString": "Parameter",
3317
+ "flags": {
3318
+ "isOptional": true
3319
+ },
3320
+ "type": {
3321
+ "type": "reference",
3322
+ "name": "AccountInstance",
3323
+ "qualifiedName": "AccountInstance",
3324
+ "package": "@xyo-network/account-model"
3325
+ }
3326
+ }
3327
+ ],
3328
+ "type": {
3329
+ "type": "tuple",
3330
+ "elements": [
3331
+ {
3332
+ "type": "union",
3333
+ "types": [
3334
+ {
3335
+ "type": "intrinsic",
3336
+ "name": "undefined"
3337
+ },
3338
+ {
3339
+ "type": "reference",
3340
+ "typeArguments": [
3341
+ {
3342
+ "type": "reference",
3343
+ "typeArguments": [
3344
+ {
3345
+ "type": "intersection",
3346
+ "types": [
3347
+ {
3348
+ "type": "reference",
3349
+ "name": "SchemaFields",
3350
+ "qualifiedName": "SchemaFields",
3351
+ "package": "@xyo-network/payload-model"
3352
+ },
3353
+ {
3354
+ "type": "reference",
3355
+ "name": "PayloadFields",
3356
+ "qualifiedName": "PayloadFields",
3357
+ "package": "@xyo-network/payload-model"
3358
+ },
3359
+ {
3360
+ "type": "reflection",
3361
+ "declaration": {
3362
+ "id": 154,
3363
+ "name": "__type",
3364
+ "kind": 65536,
3365
+ "kindString": "Type literal",
3366
+ "flags": {},
3367
+ "sources": [
3368
+ {
3369
+ "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
3370
+ "line": 8,
3371
+ "character": 75
3372
+ }
3373
+ ]
3374
+ }
3375
+ },
3376
+ {
3377
+ "type": "reflection",
3378
+ "declaration": {
3379
+ "id": 155,
3380
+ "name": "__type",
3381
+ "kind": 65536,
3382
+ "kindString": "Type literal",
3383
+ "flags": {},
3384
+ "sources": [
3385
+ {
3386
+ "fileName": "node_modules/@xyo-network/payload-model/dist/types/XyoPayload.d.ts",
3387
+ "line": 18,
3388
+ "character": 17
3389
+ }
3390
+ ]
3391
+ }
3392
+ }
3393
+ ]
3394
+ }
3395
+ ],
3396
+ "name": "Module",
3397
+ "qualifiedName": "Module",
3398
+ "package": "@xyo-network/module-model"
3399
+ }
3400
+ ],
3401
+ "name": "ModuleWrapper",
3402
+ "qualifiedName": "ModuleWrapper",
3403
+ "package": "@xyo-network/module"
3404
+ }
3405
+ ]
3406
+ },
3407
+ {
3408
+ "type": "union",
3409
+ "types": [
3410
+ {
3411
+ "type": "intrinsic",
3412
+ "name": "undefined"
3413
+ },
3414
+ {
3415
+ "type": "reference",
3416
+ "name": "Error",
3417
+ "qualifiedName": "Error",
3418
+ "package": "typescript"
3419
+ }
3420
+ ]
3421
+ }
3422
+ ]
3423
+ }
3424
+ }
3425
+ ]
4310
3426
  }
4311
3427
  ],
4312
3428
  "groups": [
@@ -4319,15 +3435,14 @@
4319
3435
  50,
4320
3436
  56,
4321
3437
  41,
4322
- 23
3438
+ 23,
3439
+ 131
4323
3440
  ]
4324
3441
  },
4325
3442
  {
4326
3443
  "title": "Type Aliases",
4327
3444
  "children": [
4328
- 10,
4329
- 115,
4330
- 108
3445
+ 10
4331
3446
  ]
4332
3447
  },
4333
3448
  {
@@ -4347,7 +3462,7 @@
4347
3462
  6,
4348
3463
  52,
4349
3464
  43,
4350
- 118,
3465
+ 138,
4351
3466
  67,
4352
3467
  63,
4353
3468
  72,
@@ -4356,16 +3471,18 @@
4356
3471
  80,
4357
3472
  82,
4358
3473
  85,
4359
- 98,
3474
+ 93,
4360
3475
  37,
4361
- 100,
4362
- 145,
3476
+ 95,
3477
+ 103,
4363
3478
  60,
4364
- 165,
4365
- 158,
4366
- 173,
4367
- 180,
4368
- 183
3479
+ 113,
3480
+ 106,
3481
+ 121,
3482
+ 123,
3483
+ 126,
3484
+ 129,
3485
+ 150
4369
3486
  ]
4370
3487
  }
4371
3488
  ],
@@ -4374,7 +3491,7 @@
4374
3491
  "fileName": "packages/modules/packages/node/src/index.ts",
4375
3492
  "line": 1,
4376
3493
  "character": 0,
4377
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2275b5799e7/packages/modules/packages/node/src/index.ts#L1"
3494
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/66342c0136f/packages/modules/packages/node/src/index.ts#L1"
4378
3495
  }
4379
3496
  ]
4380
3497
  }