@xyo-network/react-node 2.47.19 → 2.47.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/hooks/useWrappedModule.js.map +1 -1
- package/dist/docs.json +78 -396
- package/dist/esm/hooks/useWrappedModule.js.map +1 -1
- package/dist/types/hooks/useWrappedModule.d.ts +2 -32
- package/dist/types/hooks/useWrappedModule.d.ts.map +1 -1
- package/package.json +10 -10
- package/src/hooks/useWrappedModule.tsx +4 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWrappedModule.js","sourceRoot":"","sources":["../../../src/hooks/useWrappedModule.tsx"],"names":[],"mappings":";;;AAAA,6EAAoE;AAEpE,
|
|
1
|
+
{"version":3,"file":"useWrappedModule.js","sourceRoot":"","sources":["../../../src/hooks/useWrappedModule.tsx"],"names":[],"mappings":";;;AAAA,6EAAoE;AAEpE,gDAA+E;AAC/E,4DAAsD;AACtD,iCAAoD;AAEpD,2CAAuC;AAEhC,MAAM,wBAAwB,GAAG,CACtC,aAAyD,EACzD,IAAa,EACb,EAAE;IACF,MAAM,OAAO,GAAG,CAAC,aAAsB,EAAE,OAAyB,EAAE,SAAmB,EAAmD,EAAE;QAC1I,MAAM,sBAAsB,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE;YAC1C,OAAO,EAAE,IAAI,EAAE,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,kCAAkC,EAAE,CAAA;QAC7D,CAAC,EAAE,EAAE,CAAC,CAAA;QACN,IAAA,4CAAkB,EAAC,SAAS,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,0BAA0B,EAAE,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAA;QACrG,MAAM,CAAC,eAAe,CAAC,GAAG,IAAA,yBAAU,GAAE,CAAA;QACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,IAAA,qBAAS,EACrC,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI;YACf,KAAK,EAAE,CAAC,aAAa,CAAC,eAAe,CAAC;SACvC,CACF,CAAA;QAED,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,GAAkB,CAAA;QACxD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,GAAS,CAAA;QAE3C,MAAM,YAAY,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,eAAe,EAAE,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC,CAAA;QAE1F,IAAA,iBAAS,EAAC,GAAG,EAAE;YACb,IAAI,CAAC,YAAY,EAAE;gBACjB,MAAM,KAAK,GAAG,KAAK,CAAC,qEAAqE,CAAC,CAAA;gBAC1F,8BAA8B;gBAC9B,QAAQ,CAAC,KAAK,CAAC,CAAA;aAChB;QACH,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAA;QAElB,IAAA,iBAAS,EAAC,GAAG,EAAE;YACb,IAAI,MAAM,IAAI,YAAY,EAAE;gBAC1B,IAAI;oBACF,MAAM,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;oBACxD,UAAU,CAAC,OAAO,CAAC,CAAA;oBACnB,QAAQ,CAAC,SAAS,CAAC,CAAA;iBACpB;gBAAC,OAAO,EAAE,EAAE;oBACX,UAAU,CAAC,SAAS,CAAC,CAAA;oBACrB,QAAQ,CAAC,EAAW,CAAC,CAAA;iBACtB;aACF;iBAAM;gBACL,UAAU,CAAC,SAAS,CAAC,CAAA;gBACrB,QAAQ,CAAC,WAAW,CAAC,CAAA;aACtB;QACH,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC,CAAA;QAEhD,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;IACzB,CAAC,CAAA;IACD,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA;AAhDY,QAAA,wBAAwB,4BAgDpC;AAEY,QAAA,gBAAgB,GAAG,IAAA,gCAAwB,EAAC,sBAAa,CAAC,CAAA"}
|
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/
|
|
51
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/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/
|
|
67
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/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/
|
|
117
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/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/
|
|
139
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/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/
|
|
155
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/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/
|
|
205
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/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/
|
|
235
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/Node/State.ts#L4"
|
|
236
236
|
}
|
|
237
237
|
],
|
|
238
238
|
"type": {
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
"fileName": "packages/modules/packages/node/src/contexts/Node/State.ts",
|
|
441
441
|
"line": 3,
|
|
442
442
|
"character": 17,
|
|
443
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
443
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/Node/State.ts#L3"
|
|
444
444
|
}
|
|
445
445
|
]
|
|
446
446
|
},
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
"fileName": "packages/modules/packages/node/src/components/NodeDrawer.tsx",
|
|
456
456
|
"line": 10,
|
|
457
457
|
"character": 17,
|
|
458
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
458
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/components/NodeDrawer.tsx#L10"
|
|
459
459
|
}
|
|
460
460
|
],
|
|
461
461
|
"extendedTypes": [
|
|
@@ -505,7 +505,7 @@
|
|
|
505
505
|
"fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx",
|
|
506
506
|
"line": 7,
|
|
507
507
|
"character": 2,
|
|
508
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
508
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx#L7"
|
|
509
509
|
}
|
|
510
510
|
],
|
|
511
511
|
"type": {
|
|
@@ -527,7 +527,7 @@
|
|
|
527
527
|
"fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx",
|
|
528
528
|
"line": 6,
|
|
529
529
|
"character": 17,
|
|
530
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
530
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx#L6"
|
|
531
531
|
}
|
|
532
532
|
],
|
|
533
533
|
"extendedTypes": [
|
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
"fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts",
|
|
560
560
|
"line": 5,
|
|
561
561
|
"character": 2,
|
|
562
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
562
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts#L5"
|
|
563
563
|
}
|
|
564
564
|
],
|
|
565
565
|
"type": {
|
|
@@ -602,7 +602,7 @@
|
|
|
602
602
|
"fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts",
|
|
603
603
|
"line": 6,
|
|
604
604
|
"character": 2,
|
|
605
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
605
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts#L6"
|
|
606
606
|
}
|
|
607
607
|
],
|
|
608
608
|
"type": {
|
|
@@ -642,7 +642,7 @@
|
|
|
642
642
|
"fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts",
|
|
643
643
|
"line": 4,
|
|
644
644
|
"character": 17,
|
|
645
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
645
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/NodeDrawerContext/State.ts#L4"
|
|
646
646
|
}
|
|
647
647
|
],
|
|
648
648
|
"extendedTypes": [
|
|
@@ -672,7 +672,7 @@
|
|
|
672
672
|
"fileName": "packages/modules/packages/node/src/contexts/Node/Provider.tsx",
|
|
673
673
|
"line": 8,
|
|
674
674
|
"character": 2,
|
|
675
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
675
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/Node/Provider.tsx#L8"
|
|
676
676
|
}
|
|
677
677
|
],
|
|
678
678
|
"type": {
|
|
@@ -880,7 +880,7 @@
|
|
|
880
880
|
"fileName": "packages/modules/packages/node/src/contexts/Node/Provider.tsx",
|
|
881
881
|
"line": 7,
|
|
882
882
|
"character": 17,
|
|
883
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
883
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/Node/Provider.tsx#L7"
|
|
884
884
|
}
|
|
885
885
|
]
|
|
886
886
|
},
|
|
@@ -895,7 +895,7 @@
|
|
|
895
895
|
"fileName": "packages/modules/packages/node/src/contexts/ModuleRepository/State.ts",
|
|
896
896
|
"line": 4,
|
|
897
897
|
"character": 17,
|
|
898
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
898
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/ModuleRepository/State.ts#L4"
|
|
899
899
|
}
|
|
900
900
|
],
|
|
901
901
|
"indexSignature": {
|
|
@@ -924,160 +924,6 @@
|
|
|
924
924
|
}
|
|
925
925
|
}
|
|
926
926
|
},
|
|
927
|
-
{
|
|
928
|
-
"id": 118,
|
|
929
|
-
"name": "WrapperStatic",
|
|
930
|
-
"kind": 256,
|
|
931
|
-
"kindString": "Interface",
|
|
932
|
-
"flags": {},
|
|
933
|
-
"children": [
|
|
934
|
-
{
|
|
935
|
-
"id": 119,
|
|
936
|
-
"name": "requiredQueries",
|
|
937
|
-
"kind": 1024,
|
|
938
|
-
"kindString": "Property",
|
|
939
|
-
"flags": {},
|
|
940
|
-
"sources": [
|
|
941
|
-
{
|
|
942
|
-
"fileName": "packages/modules/packages/node/src/hooks/useWrappedModule.tsx",
|
|
943
|
-
"line": 10,
|
|
944
|
-
"character": 2,
|
|
945
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4f696f713/packages/modules/packages/node/src/hooks/useWrappedModule.tsx#L10"
|
|
946
|
-
}
|
|
947
|
-
],
|
|
948
|
-
"type": {
|
|
949
|
-
"type": "array",
|
|
950
|
-
"elementType": {
|
|
951
|
-
"type": "intrinsic",
|
|
952
|
-
"name": "string"
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
},
|
|
956
|
-
{
|
|
957
|
-
"id": 120,
|
|
958
|
-
"name": "wrap",
|
|
959
|
-
"kind": 1024,
|
|
960
|
-
"kindString": "Property",
|
|
961
|
-
"flags": {},
|
|
962
|
-
"sources": [
|
|
963
|
-
{
|
|
964
|
-
"fileName": "packages/modules/packages/node/src/hooks/useWrappedModule.tsx",
|
|
965
|
-
"line": 11,
|
|
966
|
-
"character": 2,
|
|
967
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4f696f713/packages/modules/packages/node/src/hooks/useWrappedModule.tsx#L11"
|
|
968
|
-
}
|
|
969
|
-
],
|
|
970
|
-
"type": {
|
|
971
|
-
"type": "reflection",
|
|
972
|
-
"declaration": {
|
|
973
|
-
"id": 121,
|
|
974
|
-
"name": "__type",
|
|
975
|
-
"kind": 65536,
|
|
976
|
-
"kindString": "Type literal",
|
|
977
|
-
"flags": {},
|
|
978
|
-
"sources": [
|
|
979
|
-
{
|
|
980
|
-
"fileName": "packages/modules/packages/node/src/hooks/useWrappedModule.tsx",
|
|
981
|
-
"line": 11,
|
|
982
|
-
"character": 8,
|
|
983
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4f696f713/packages/modules/packages/node/src/hooks/useWrappedModule.tsx#L11"
|
|
984
|
-
}
|
|
985
|
-
],
|
|
986
|
-
"signatures": [
|
|
987
|
-
{
|
|
988
|
-
"id": 122,
|
|
989
|
-
"name": "__type",
|
|
990
|
-
"kind": 4096,
|
|
991
|
-
"kindString": "Call signature",
|
|
992
|
-
"flags": {},
|
|
993
|
-
"parameters": [
|
|
994
|
-
{
|
|
995
|
-
"id": 123,
|
|
996
|
-
"name": "module",
|
|
997
|
-
"kind": 32768,
|
|
998
|
-
"kindString": "Parameter",
|
|
999
|
-
"flags": {
|
|
1000
|
-
"isOptional": true
|
|
1001
|
-
},
|
|
1002
|
-
"type": {
|
|
1003
|
-
"type": "indexedAccess",
|
|
1004
|
-
"indexType": {
|
|
1005
|
-
"type": "literal",
|
|
1006
|
-
"value": "module"
|
|
1007
|
-
},
|
|
1008
|
-
"objectType": {
|
|
1009
|
-
"type": "reference",
|
|
1010
|
-
"id": 125,
|
|
1011
|
-
"name": "TModuleWrapper"
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
},
|
|
1015
|
-
{
|
|
1016
|
-
"id": 124,
|
|
1017
|
-
"name": "account",
|
|
1018
|
-
"kind": 32768,
|
|
1019
|
-
"kindString": "Parameter",
|
|
1020
|
-
"flags": {
|
|
1021
|
-
"isOptional": true
|
|
1022
|
-
},
|
|
1023
|
-
"type": {
|
|
1024
|
-
"type": "reference",
|
|
1025
|
-
"name": "AccountInstance",
|
|
1026
|
-
"qualifiedName": "AccountInstance",
|
|
1027
|
-
"package": "@xyo-network/account-model"
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
],
|
|
1031
|
-
"type": {
|
|
1032
|
-
"type": "reference",
|
|
1033
|
-
"id": 125,
|
|
1034
|
-
"name": "TModuleWrapper"
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
]
|
|
1038
|
-
}
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
],
|
|
1042
|
-
"groups": [
|
|
1043
|
-
{
|
|
1044
|
-
"title": "Properties",
|
|
1045
|
-
"children": [
|
|
1046
|
-
119,
|
|
1047
|
-
120
|
|
1048
|
-
]
|
|
1049
|
-
}
|
|
1050
|
-
],
|
|
1051
|
-
"sources": [
|
|
1052
|
-
{
|
|
1053
|
-
"fileName": "packages/modules/packages/node/src/hooks/useWrappedModule.tsx",
|
|
1054
|
-
"line": 9,
|
|
1055
|
-
"character": 17,
|
|
1056
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/4f696f713/packages/modules/packages/node/src/hooks/useWrappedModule.tsx#L9"
|
|
1057
|
-
}
|
|
1058
|
-
],
|
|
1059
|
-
"typeParameters": [
|
|
1060
|
-
{
|
|
1061
|
-
"id": 125,
|
|
1062
|
-
"name": "TModuleWrapper",
|
|
1063
|
-
"kind": 131072,
|
|
1064
|
-
"kindString": "Type parameter",
|
|
1065
|
-
"flags": {},
|
|
1066
|
-
"type": {
|
|
1067
|
-
"type": "reference",
|
|
1068
|
-
"name": "ModuleWrapper",
|
|
1069
|
-
"qualifiedName": "ModuleWrapper",
|
|
1070
|
-
"package": "@xyo-network/module-wrapper"
|
|
1071
|
-
},
|
|
1072
|
-
"default": {
|
|
1073
|
-
"type": "reference",
|
|
1074
|
-
"name": "ModuleWrapper",
|
|
1075
|
-
"qualifiedName": "ModuleWrapper",
|
|
1076
|
-
"package": "@xyo-network/module-wrapper"
|
|
1077
|
-
}
|
|
1078
|
-
}
|
|
1079
|
-
]
|
|
1080
|
-
},
|
|
1081
927
|
{
|
|
1082
928
|
"id": 10,
|
|
1083
929
|
"name": "MemoryNodeProviderProps",
|
|
@@ -1089,7 +935,7 @@
|
|
|
1089
935
|
"fileName": "packages/modules/packages/node/src/contexts/MemoryProvider.tsx",
|
|
1090
936
|
"line": 8,
|
|
1091
937
|
"character": 12,
|
|
1092
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
938
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L8"
|
|
1093
939
|
}
|
|
1094
940
|
],
|
|
1095
941
|
"type": {
|
|
@@ -1120,7 +966,7 @@
|
|
|
1120
966
|
"fileName": "packages/modules/packages/node/src/contexts/MemoryProvider.tsx",
|
|
1121
967
|
"line": 9,
|
|
1122
968
|
"character": 2,
|
|
1123
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
969
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L9"
|
|
1124
970
|
}
|
|
1125
971
|
],
|
|
1126
972
|
"type": {
|
|
@@ -1151,7 +997,7 @@
|
|
|
1151
997
|
"fileName": "packages/modules/packages/node/src/contexts/MemoryProvider.tsx",
|
|
1152
998
|
"line": 10,
|
|
1153
999
|
"character": 2,
|
|
1154
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1000
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L10"
|
|
1155
1001
|
}
|
|
1156
1002
|
],
|
|
1157
1003
|
"type": {
|
|
@@ -1174,7 +1020,7 @@
|
|
|
1174
1020
|
"fileName": "packages/modules/packages/node/src/contexts/MemoryProvider.tsx",
|
|
1175
1021
|
"line": 8,
|
|
1176
1022
|
"character": 51,
|
|
1177
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1023
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L8"
|
|
1178
1024
|
}
|
|
1179
1025
|
]
|
|
1180
1026
|
}
|
|
@@ -1214,7 +1060,7 @@
|
|
|
1214
1060
|
"fileName": "packages/modules/packages/node/src/contexts/ModuleRepository/Context.ts",
|
|
1215
1061
|
"line": 5,
|
|
1216
1062
|
"character": 13,
|
|
1217
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1063
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/ModuleRepository/Context.ts#L5"
|
|
1218
1064
|
}
|
|
1219
1065
|
],
|
|
1220
1066
|
"type": {
|
|
@@ -1254,7 +1100,7 @@
|
|
|
1254
1100
|
"fileName": "packages/modules/packages/node/src/contexts/Node/Context.ts",
|
|
1255
1101
|
"line": 5,
|
|
1256
1102
|
"character": 13,
|
|
1257
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1103
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/Node/Context.ts#L5"
|
|
1258
1104
|
}
|
|
1259
1105
|
],
|
|
1260
1106
|
"type": {
|
|
@@ -1294,7 +1140,7 @@
|
|
|
1294
1140
|
"fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/Context.ts",
|
|
1295
1141
|
"line": 5,
|
|
1296
1142
|
"character": 13,
|
|
1297
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1143
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/NodeDrawerContext/Context.ts#L5"
|
|
1298
1144
|
}
|
|
1299
1145
|
],
|
|
1300
1146
|
"type": {
|
|
@@ -1332,7 +1178,7 @@
|
|
|
1332
1178
|
"fileName": "packages/modules/packages/node/src/contexts/MemoryProvider.tsx",
|
|
1333
1179
|
"line": 14,
|
|
1334
1180
|
"character": 13,
|
|
1335
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1181
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/MemoryProvider.tsx#L14"
|
|
1336
1182
|
}
|
|
1337
1183
|
],
|
|
1338
1184
|
"signatures": [
|
|
@@ -1408,7 +1254,7 @@
|
|
|
1408
1254
|
"fileName": "packages/modules/packages/node/src/contexts/ModuleRepository/Provider.tsx",
|
|
1409
1255
|
"line": 11,
|
|
1410
1256
|
"character": 13,
|
|
1411
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1257
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/ModuleRepository/Provider.tsx#L11"
|
|
1412
1258
|
}
|
|
1413
1259
|
],
|
|
1414
1260
|
"signatures": [
|
|
@@ -1483,7 +1329,7 @@
|
|
|
1483
1329
|
"fileName": "packages/modules/packages/node/src/components/Node.tsx",
|
|
1484
1330
|
"line": 8,
|
|
1485
1331
|
"character": 13,
|
|
1486
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1332
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/components/Node.tsx#L8"
|
|
1487
1333
|
}
|
|
1488
1334
|
],
|
|
1489
1335
|
"signatures": [
|
|
@@ -1560,7 +1406,7 @@
|
|
|
1560
1406
|
"fileName": "packages/modules/packages/node/src/components/NodeDrawer.tsx",
|
|
1561
1407
|
"line": 12,
|
|
1562
1408
|
"character": 13,
|
|
1563
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1409
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/components/NodeDrawer.tsx#L12"
|
|
1564
1410
|
}
|
|
1565
1411
|
],
|
|
1566
1412
|
"signatures": [
|
|
@@ -1636,7 +1482,7 @@
|
|
|
1636
1482
|
"fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx",
|
|
1637
1483
|
"line": 10,
|
|
1638
1484
|
"character": 13,
|
|
1639
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1485
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/NodeDrawerContext/Provider.tsx#L10"
|
|
1640
1486
|
}
|
|
1641
1487
|
],
|
|
1642
1488
|
"signatures": [
|
|
@@ -1712,7 +1558,7 @@
|
|
|
1712
1558
|
"fileName": "packages/modules/packages/node/src/contexts/Node/Provider.tsx",
|
|
1713
1559
|
"line": 11,
|
|
1714
1560
|
"character": 13,
|
|
1715
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1561
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/Node/Provider.tsx#L11"
|
|
1716
1562
|
}
|
|
1717
1563
|
],
|
|
1718
1564
|
"signatures": [
|
|
@@ -1786,7 +1632,7 @@
|
|
|
1786
1632
|
]
|
|
1787
1633
|
},
|
|
1788
1634
|
{
|
|
1789
|
-
"id":
|
|
1635
|
+
"id": 118,
|
|
1790
1636
|
"name": "WrappedModuleHookFactory",
|
|
1791
1637
|
"kind": 64,
|
|
1792
1638
|
"kindString": "Function",
|
|
@@ -1794,21 +1640,21 @@
|
|
|
1794
1640
|
"sources": [
|
|
1795
1641
|
{
|
|
1796
1642
|
"fileName": "packages/modules/packages/node/src/hooks/useWrappedModule.tsx",
|
|
1797
|
-
"line":
|
|
1643
|
+
"line": 9,
|
|
1798
1644
|
"character": 13,
|
|
1799
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1645
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/hooks/useWrappedModule.tsx#L9"
|
|
1800
1646
|
}
|
|
1801
1647
|
],
|
|
1802
1648
|
"signatures": [
|
|
1803
1649
|
{
|
|
1804
|
-
"id":
|
|
1650
|
+
"id": 119,
|
|
1805
1651
|
"name": "WrappedModuleHookFactory",
|
|
1806
1652
|
"kind": 4096,
|
|
1807
1653
|
"kindString": "Call signature",
|
|
1808
1654
|
"flags": {},
|
|
1809
1655
|
"typeParameter": [
|
|
1810
1656
|
{
|
|
1811
|
-
"id":
|
|
1657
|
+
"id": 123,
|
|
1812
1658
|
"name": "TModuleWrapper",
|
|
1813
1659
|
"kind": 131072,
|
|
1814
1660
|
"kindString": "Type parameter",
|
|
@@ -1840,7 +1686,7 @@
|
|
|
1840
1686
|
{
|
|
1841
1687
|
"type": "reflection",
|
|
1842
1688
|
"declaration": {
|
|
1843
|
-
"id":
|
|
1689
|
+
"id": 120,
|
|
1844
1690
|
"name": "__type",
|
|
1845
1691
|
"kind": 65536,
|
|
1846
1692
|
"kindString": "Type literal",
|
|
@@ -1881,7 +1727,7 @@
|
|
|
1881
1727
|
{
|
|
1882
1728
|
"type": "reflection",
|
|
1883
1729
|
"declaration": {
|
|
1884
|
-
"id":
|
|
1730
|
+
"id": 121,
|
|
1885
1731
|
"name": "__type",
|
|
1886
1732
|
"kind": 65536,
|
|
1887
1733
|
"kindString": "Type literal",
|
|
@@ -1925,7 +1771,7 @@
|
|
|
1925
1771
|
{
|
|
1926
1772
|
"type": "reflection",
|
|
1927
1773
|
"declaration": {
|
|
1928
|
-
"id":
|
|
1774
|
+
"id": 122,
|
|
1929
1775
|
"name": "__type",
|
|
1930
1776
|
"kind": 65536,
|
|
1931
1777
|
"kindString": "Type literal",
|
|
@@ -1974,202 +1820,39 @@
|
|
|
1974
1820
|
},
|
|
1975
1821
|
{
|
|
1976
1822
|
"type": "reference",
|
|
1977
|
-
"id":
|
|
1823
|
+
"id": 123,
|
|
1978
1824
|
"name": "TModuleWrapper"
|
|
1979
1825
|
}
|
|
1980
1826
|
],
|
|
1981
1827
|
"name": "ModuleWrapper",
|
|
1982
1828
|
"qualifiedName": "ModuleWrapper",
|
|
1983
1829
|
"package": "@xyo-network/module-wrapper"
|
|
1984
|
-
},
|
|
1985
|
-
"default": {
|
|
1986
|
-
"type": "reference",
|
|
1987
|
-
"typeArguments": [
|
|
1988
|
-
{
|
|
1989
|
-
"type": "reference",
|
|
1990
|
-
"typeArguments": [
|
|
1991
|
-
{
|
|
1992
|
-
"type": "reference",
|
|
1993
|
-
"typeArguments": [
|
|
1994
|
-
{
|
|
1995
|
-
"type": "intersection",
|
|
1996
|
-
"types": [
|
|
1997
|
-
{
|
|
1998
|
-
"type": "reference",
|
|
1999
|
-
"name": "SchemaFields",
|
|
2000
|
-
"qualifiedName": "SchemaFields",
|
|
2001
|
-
"package": "@xyo-network/payload-model"
|
|
2002
|
-
},
|
|
2003
|
-
{
|
|
2004
|
-
"type": "reference",
|
|
2005
|
-
"name": "PayloadFields",
|
|
2006
|
-
"qualifiedName": "PayloadFields",
|
|
2007
|
-
"package": "@xyo-network/payload-model"
|
|
2008
|
-
},
|
|
2009
|
-
{
|
|
2010
|
-
"type": "reflection",
|
|
2011
|
-
"declaration": {
|
|
2012
|
-
"id": 131,
|
|
2013
|
-
"name": "__type",
|
|
2014
|
-
"kind": 65536,
|
|
2015
|
-
"kindString": "Type literal",
|
|
2016
|
-
"flags": {},
|
|
2017
|
-
"sources": [
|
|
2018
|
-
{
|
|
2019
|
-
"fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
|
|
2020
|
-
"line": 8,
|
|
2021
|
-
"character": 103
|
|
2022
|
-
}
|
|
2023
|
-
]
|
|
2024
|
-
}
|
|
2025
|
-
},
|
|
2026
|
-
{
|
|
2027
|
-
"type": "reference",
|
|
2028
|
-
"typeArguments": [
|
|
2029
|
-
{
|
|
2030
|
-
"type": "intersection",
|
|
2031
|
-
"types": [
|
|
2032
|
-
{
|
|
2033
|
-
"type": "reference",
|
|
2034
|
-
"typeArguments": [
|
|
2035
|
-
{
|
|
2036
|
-
"type": "intersection",
|
|
2037
|
-
"types": [
|
|
2038
|
-
{
|
|
2039
|
-
"type": "reference",
|
|
2040
|
-
"name": "SchemaFields",
|
|
2041
|
-
"qualifiedName": "SchemaFields",
|
|
2042
|
-
"package": "@xyo-network/payload-model"
|
|
2043
|
-
},
|
|
2044
|
-
{
|
|
2045
|
-
"type": "reference",
|
|
2046
|
-
"name": "PayloadFields",
|
|
2047
|
-
"qualifiedName": "PayloadFields",
|
|
2048
|
-
"package": "@xyo-network/payload-model"
|
|
2049
|
-
},
|
|
2050
|
-
{
|
|
2051
|
-
"type": "reflection",
|
|
2052
|
-
"declaration": {
|
|
2053
|
-
"id": 132,
|
|
2054
|
-
"name": "__type",
|
|
2055
|
-
"kind": 65536,
|
|
2056
|
-
"kindString": "Type literal",
|
|
2057
|
-
"flags": {},
|
|
2058
|
-
"sources": [
|
|
2059
|
-
{
|
|
2060
|
-
"fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
|
|
2061
|
-
"line": 8,
|
|
2062
|
-
"character": 103
|
|
2063
|
-
}
|
|
2064
|
-
]
|
|
2065
|
-
}
|
|
2066
|
-
},
|
|
2067
|
-
{
|
|
2068
|
-
"type": "reference",
|
|
2069
|
-
"typeArguments": [
|
|
2070
|
-
{
|
|
2071
|
-
"type": "intrinsic",
|
|
2072
|
-
"name": "undefined"
|
|
2073
|
-
},
|
|
2074
|
-
{
|
|
2075
|
-
"type": "literal",
|
|
2076
|
-
"value": "schema"
|
|
2077
|
-
}
|
|
2078
|
-
],
|
|
2079
|
-
"name": "Omit",
|
|
2080
|
-
"qualifiedName": "Omit",
|
|
2081
|
-
"package": "typescript"
|
|
2082
|
-
}
|
|
2083
|
-
]
|
|
2084
|
-
},
|
|
2085
|
-
{
|
|
2086
|
-
"type": "literal",
|
|
2087
|
-
"value": "schema"
|
|
2088
|
-
}
|
|
2089
|
-
],
|
|
2090
|
-
"name": "Omit",
|
|
2091
|
-
"qualifiedName": "Omit",
|
|
2092
|
-
"package": "typescript"
|
|
2093
|
-
},
|
|
2094
|
-
{
|
|
2095
|
-
"type": "reflection",
|
|
2096
|
-
"declaration": {
|
|
2097
|
-
"id": 133,
|
|
2098
|
-
"name": "__type",
|
|
2099
|
-
"kind": 65536,
|
|
2100
|
-
"kindString": "Type literal",
|
|
2101
|
-
"flags": {},
|
|
2102
|
-
"sources": [
|
|
2103
|
-
{
|
|
2104
|
-
"fileName": "node_modules/@xyo-network/module-model/dist/types/ModuleParams.d.ts",
|
|
2105
|
-
"line": 18,
|
|
2106
|
-
"character": 58
|
|
2107
|
-
}
|
|
2108
|
-
]
|
|
2109
|
-
}
|
|
2110
|
-
}
|
|
2111
|
-
]
|
|
2112
|
-
},
|
|
2113
|
-
{
|
|
2114
|
-
"type": "literal",
|
|
2115
|
-
"value": "schema"
|
|
2116
|
-
}
|
|
2117
|
-
],
|
|
2118
|
-
"name": "Omit",
|
|
2119
|
-
"qualifiedName": "Omit",
|
|
2120
|
-
"package": "typescript"
|
|
2121
|
-
}
|
|
2122
|
-
]
|
|
2123
|
-
},
|
|
2124
|
-
{
|
|
2125
|
-
"type": "intrinsic",
|
|
2126
|
-
"name": "undefined"
|
|
2127
|
-
}
|
|
2128
|
-
],
|
|
2129
|
-
"name": "ModuleParams",
|
|
2130
|
-
"qualifiedName": "ModuleParams",
|
|
2131
|
-
"package": "@xyo-network/module-model"
|
|
2132
|
-
},
|
|
2133
|
-
{
|
|
2134
|
-
"type": "reference",
|
|
2135
|
-
"name": "ModuleEventData",
|
|
2136
|
-
"qualifiedName": "ModuleEventData",
|
|
2137
|
-
"package": "@xyo-network/module-model"
|
|
2138
|
-
}
|
|
2139
|
-
],
|
|
2140
|
-
"name": "Module",
|
|
2141
|
-
"qualifiedName": "Module",
|
|
2142
|
-
"package": "@xyo-network/module-model"
|
|
2143
|
-
}
|
|
2144
|
-
],
|
|
2145
|
-
"name": "ModuleWrapper",
|
|
2146
|
-
"qualifiedName": "ModuleWrapper",
|
|
2147
|
-
"package": "@xyo-network/module-wrapper"
|
|
2148
1830
|
}
|
|
2149
1831
|
}
|
|
2150
1832
|
],
|
|
2151
1833
|
"parameters": [
|
|
2152
1834
|
{
|
|
2153
|
-
"id":
|
|
1835
|
+
"id": 124,
|
|
2154
1836
|
"name": "wrapperObject",
|
|
2155
1837
|
"kind": 32768,
|
|
2156
1838
|
"kindString": "Parameter",
|
|
2157
1839
|
"flags": {},
|
|
2158
1840
|
"type": {
|
|
2159
1841
|
"type": "reference",
|
|
2160
|
-
"id": 118,
|
|
2161
1842
|
"typeArguments": [
|
|
2162
1843
|
{
|
|
2163
1844
|
"type": "reference",
|
|
2164
|
-
"id":
|
|
1845
|
+
"id": 123,
|
|
2165
1846
|
"name": "TModuleWrapper"
|
|
2166
1847
|
}
|
|
2167
1848
|
],
|
|
2168
|
-
"name": "
|
|
1849
|
+
"name": "ConstructableModuleWrapper",
|
|
1850
|
+
"qualifiedName": "ConstructableModuleWrapper",
|
|
1851
|
+
"package": "@xyo-network/module-wrapper"
|
|
2169
1852
|
}
|
|
2170
1853
|
},
|
|
2171
1854
|
{
|
|
2172
|
-
"id":
|
|
1855
|
+
"id": 125,
|
|
2173
1856
|
"name": "name",
|
|
2174
1857
|
"kind": 32768,
|
|
2175
1858
|
"kindString": "Parameter",
|
|
@@ -2185,7 +1868,7 @@
|
|
|
2185
1868
|
"type": {
|
|
2186
1869
|
"type": "reflection",
|
|
2187
1870
|
"declaration": {
|
|
2188
|
-
"id":
|
|
1871
|
+
"id": 126,
|
|
2189
1872
|
"name": "__type",
|
|
2190
1873
|
"kind": 65536,
|
|
2191
1874
|
"kindString": "Type literal",
|
|
@@ -2193,21 +1876,21 @@
|
|
|
2193
1876
|
"sources": [
|
|
2194
1877
|
{
|
|
2195
1878
|
"fileName": "packages/modules/packages/node/src/hooks/useWrappedModule.tsx",
|
|
2196
|
-
"line":
|
|
1879
|
+
"line": 13,
|
|
2197
1880
|
"character": 18,
|
|
2198
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1881
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/hooks/useWrappedModule.tsx#L13"
|
|
2199
1882
|
}
|
|
2200
1883
|
],
|
|
2201
1884
|
"signatures": [
|
|
2202
1885
|
{
|
|
2203
|
-
"id":
|
|
1886
|
+
"id": 127,
|
|
2204
1887
|
"name": "__type",
|
|
2205
1888
|
"kind": 4096,
|
|
2206
1889
|
"kindString": "Call signature",
|
|
2207
1890
|
"flags": {},
|
|
2208
1891
|
"parameters": [
|
|
2209
1892
|
{
|
|
2210
|
-
"id":
|
|
1893
|
+
"id": 128,
|
|
2211
1894
|
"name": "nameOrAddress",
|
|
2212
1895
|
"kind": 32768,
|
|
2213
1896
|
"kindString": "Parameter",
|
|
@@ -2220,7 +1903,7 @@
|
|
|
2220
1903
|
}
|
|
2221
1904
|
},
|
|
2222
1905
|
{
|
|
2223
|
-
"id":
|
|
1906
|
+
"id": 129,
|
|
2224
1907
|
"name": "account",
|
|
2225
1908
|
"kind": 32768,
|
|
2226
1909
|
"kindString": "Parameter",
|
|
@@ -2235,7 +1918,7 @@
|
|
|
2235
1918
|
}
|
|
2236
1919
|
},
|
|
2237
1920
|
{
|
|
2238
|
-
"id":
|
|
1921
|
+
"id": 130,
|
|
2239
1922
|
"name": "spinCheck",
|
|
2240
1923
|
"kind": 32768,
|
|
2241
1924
|
"kindString": "Parameter",
|
|
@@ -2260,7 +1943,7 @@
|
|
|
2260
1943
|
},
|
|
2261
1944
|
{
|
|
2262
1945
|
"type": "reference",
|
|
2263
|
-
"id":
|
|
1946
|
+
"id": 123,
|
|
2264
1947
|
"name": "TModuleWrapper"
|
|
2265
1948
|
}
|
|
2266
1949
|
]
|
|
@@ -2300,7 +1983,7 @@
|
|
|
2300
1983
|
"fileName": "packages/modules/packages/node/src/hooks/useMemoryNodeUpdates.tsx",
|
|
2301
1984
|
"line": 13,
|
|
2302
1985
|
"character": 13,
|
|
2303
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1986
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/hooks/useMemoryNodeUpdates.tsx#L13"
|
|
2304
1987
|
}
|
|
2305
1988
|
],
|
|
2306
1989
|
"signatures": [
|
|
@@ -2346,7 +2029,7 @@
|
|
|
2346
2029
|
"fileName": "packages/modules/packages/node/src/hooks/useModule.tsx",
|
|
2347
2030
|
"line": 9,
|
|
2348
2031
|
"character": 13,
|
|
2349
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
2032
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/hooks/useModule.tsx#L9"
|
|
2350
2033
|
}
|
|
2351
2034
|
],
|
|
2352
2035
|
"signatures": [
|
|
@@ -2784,7 +2467,7 @@
|
|
|
2784
2467
|
"fileName": "packages/modules/packages/node/src/contexts/ModuleRepository/use.tsx",
|
|
2785
2468
|
"line": 5,
|
|
2786
2469
|
"character": 13,
|
|
2787
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
2470
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/ModuleRepository/use.tsx#L5"
|
|
2788
2471
|
}
|
|
2789
2472
|
],
|
|
2790
2473
|
"signatures": [
|
|
@@ -2848,7 +2531,7 @@
|
|
|
2848
2531
|
"fileName": "packages/modules/packages/node/src/hooks/useModules.ts",
|
|
2849
2532
|
"line": 7,
|
|
2850
2533
|
"character": 13,
|
|
2851
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
2534
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/hooks/useModules.ts#L7"
|
|
2852
2535
|
}
|
|
2853
2536
|
],
|
|
2854
2537
|
"signatures": [
|
|
@@ -3265,7 +2948,7 @@
|
|
|
3265
2948
|
"fileName": "packages/modules/packages/node/src/hooks/useNode.tsx",
|
|
3266
2949
|
"line": 24,
|
|
3267
2950
|
"character": 13,
|
|
3268
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
2951
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/hooks/useNode.tsx#L24"
|
|
3269
2952
|
}
|
|
3270
2953
|
],
|
|
3271
2954
|
"signatures": [
|
|
@@ -3511,7 +3194,7 @@
|
|
|
3511
3194
|
],
|
|
3512
3195
|
"name": "NodeWrapper",
|
|
3513
3196
|
"qualifiedName": "NodeWrapper",
|
|
3514
|
-
"package": "@xyo-network/node"
|
|
3197
|
+
"package": "@xyo-network/node-wrapper"
|
|
3515
3198
|
}
|
|
3516
3199
|
]
|
|
3517
3200
|
},
|
|
@@ -3546,7 +3229,7 @@
|
|
|
3546
3229
|
"fileName": "packages/modules/packages/node/src/hooks/useNodeAttachedAddresses.ts",
|
|
3547
3230
|
"line": 6,
|
|
3548
3231
|
"character": 13,
|
|
3549
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
3232
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/hooks/useNodeAttachedAddresses.ts#L6"
|
|
3550
3233
|
}
|
|
3551
3234
|
],
|
|
3552
3235
|
"signatures": [
|
|
@@ -3604,7 +3287,7 @@
|
|
|
3604
3287
|
"fileName": "packages/modules/packages/node/src/contexts/NodeDrawerContext/use.tsx",
|
|
3605
3288
|
"line": 5,
|
|
3606
3289
|
"character": 13,
|
|
3607
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
3290
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/contexts/NodeDrawerContext/use.tsx#L5"
|
|
3608
3291
|
}
|
|
3609
3292
|
],
|
|
3610
3293
|
"signatures": [
|
|
@@ -3668,7 +3351,7 @@
|
|
|
3668
3351
|
"fileName": "packages/modules/packages/node/src/hooks/useProvidedNode.tsx",
|
|
3669
3352
|
"line": 8,
|
|
3670
3353
|
"character": 13,
|
|
3671
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
3354
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/hooks/useProvidedNode.tsx#L8"
|
|
3672
3355
|
}
|
|
3673
3356
|
],
|
|
3674
3357
|
"signatures": [
|
|
@@ -3896,7 +3579,7 @@
|
|
|
3896
3579
|
"fileName": "packages/modules/packages/node/src/hooks/useProvidedNode.tsx",
|
|
3897
3580
|
"line": 14,
|
|
3898
3581
|
"character": 13,
|
|
3899
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
3582
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/hooks/useProvidedNode.tsx#L14"
|
|
3900
3583
|
}
|
|
3901
3584
|
],
|
|
3902
3585
|
"signatures": [
|
|
@@ -4129,7 +3812,7 @@
|
|
|
4129
3812
|
],
|
|
4130
3813
|
"name": "NodeWrapper",
|
|
4131
3814
|
"qualifiedName": "NodeWrapper",
|
|
4132
|
-
"package": "@xyo-network/node"
|
|
3815
|
+
"package": "@xyo-network/node-wrapper"
|
|
4133
3816
|
}
|
|
4134
3817
|
]
|
|
4135
3818
|
},
|
|
@@ -4154,7 +3837,7 @@
|
|
|
4154
3837
|
]
|
|
4155
3838
|
},
|
|
4156
3839
|
{
|
|
4157
|
-
"id":
|
|
3840
|
+
"id": 131,
|
|
4158
3841
|
"name": "useWrappedModule",
|
|
4159
3842
|
"kind": 64,
|
|
4160
3843
|
"kindString": "Function",
|
|
@@ -4162,21 +3845,21 @@
|
|
|
4162
3845
|
"sources": [
|
|
4163
3846
|
{
|
|
4164
3847
|
"fileName": "packages/modules/packages/node/src/hooks/useWrappedModule.tsx",
|
|
4165
|
-
"line":
|
|
3848
|
+
"line": 59,
|
|
4166
3849
|
"character": 13,
|
|
4167
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
3850
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/hooks/useWrappedModule.tsx#L59"
|
|
4168
3851
|
}
|
|
4169
3852
|
],
|
|
4170
3853
|
"signatures": [
|
|
4171
3854
|
{
|
|
4172
|
-
"id":
|
|
3855
|
+
"id": 132,
|
|
4173
3856
|
"name": "useWrappedModule",
|
|
4174
3857
|
"kind": 4096,
|
|
4175
3858
|
"kindString": "Call signature",
|
|
4176
3859
|
"flags": {},
|
|
4177
3860
|
"parameters": [
|
|
4178
3861
|
{
|
|
4179
|
-
"id":
|
|
3862
|
+
"id": 133,
|
|
4180
3863
|
"name": "nameOrAddress",
|
|
4181
3864
|
"kind": 32768,
|
|
4182
3865
|
"kindString": "Parameter",
|
|
@@ -4189,7 +3872,7 @@
|
|
|
4189
3872
|
}
|
|
4190
3873
|
},
|
|
4191
3874
|
{
|
|
4192
|
-
"id":
|
|
3875
|
+
"id": 134,
|
|
4193
3876
|
"name": "account",
|
|
4194
3877
|
"kind": 32768,
|
|
4195
3878
|
"kindString": "Parameter",
|
|
@@ -4204,7 +3887,7 @@
|
|
|
4204
3887
|
}
|
|
4205
3888
|
},
|
|
4206
3889
|
{
|
|
4207
|
-
"id":
|
|
3890
|
+
"id": 135,
|
|
4208
3891
|
"name": "spinCheck",
|
|
4209
3892
|
"kind": 32768,
|
|
4210
3893
|
"kindString": "Parameter",
|
|
@@ -4254,7 +3937,7 @@
|
|
|
4254
3937
|
{
|
|
4255
3938
|
"type": "reflection",
|
|
4256
3939
|
"declaration": {
|
|
4257
|
-
"id":
|
|
3940
|
+
"id": 136,
|
|
4258
3941
|
"name": "__type",
|
|
4259
3942
|
"kind": 65536,
|
|
4260
3943
|
"kindString": "Type literal",
|
|
@@ -4295,7 +3978,7 @@
|
|
|
4295
3978
|
{
|
|
4296
3979
|
"type": "reflection",
|
|
4297
3980
|
"declaration": {
|
|
4298
|
-
"id":
|
|
3981
|
+
"id": 137,
|
|
4299
3982
|
"name": "__type",
|
|
4300
3983
|
"kind": 65536,
|
|
4301
3984
|
"kindString": "Type literal",
|
|
@@ -4339,7 +4022,7 @@
|
|
|
4339
4022
|
{
|
|
4340
4023
|
"type": "reflection",
|
|
4341
4024
|
"declaration": {
|
|
4342
|
-
"id":
|
|
4025
|
+
"id": 138,
|
|
4343
4026
|
"name": "__type",
|
|
4344
4027
|
"kind": 65536,
|
|
4345
4028
|
"kindString": "Type literal",
|
|
@@ -4424,8 +4107,7 @@
|
|
|
4424
4107
|
58,
|
|
4425
4108
|
64,
|
|
4426
4109
|
41,
|
|
4427
|
-
23
|
|
4428
|
-
118
|
|
4110
|
+
23
|
|
4429
4111
|
]
|
|
4430
4112
|
},
|
|
4431
4113
|
{
|
|
@@ -4451,7 +4133,7 @@
|
|
|
4451
4133
|
6,
|
|
4452
4134
|
60,
|
|
4453
4135
|
47,
|
|
4454
|
-
|
|
4136
|
+
118,
|
|
4455
4137
|
71,
|
|
4456
4138
|
74,
|
|
4457
4139
|
37,
|
|
@@ -4461,7 +4143,7 @@
|
|
|
4461
4143
|
68,
|
|
4462
4144
|
105,
|
|
4463
4145
|
111,
|
|
4464
|
-
|
|
4146
|
+
131
|
|
4465
4147
|
]
|
|
4466
4148
|
}
|
|
4467
4149
|
],
|
|
@@ -4470,7 +4152,7 @@
|
|
|
4470
4152
|
"fileName": "packages/modules/packages/node/src/index.ts",
|
|
4471
4153
|
"line": 1,
|
|
4472
4154
|
"character": 0,
|
|
4473
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
4155
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/aba8b8e0b2e/packages/modules/packages/node/src/index.ts#L1"
|
|
4474
4156
|
}
|
|
4475
4157
|
]
|
|
4476
4158
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWrappedModule.js","sourceRoot":"","sources":["../../../src/hooks/useWrappedModule.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAEpE,OAAO,
|
|
1
|
+
{"version":3,"file":"useWrappedModule.js","sourceRoot":"","sources":["../../../src/hooks/useWrappedModule.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AAEpE,OAAO,EAA8B,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAEpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,aAAyD,EACzD,IAAa,EACb,EAAE;IACF,MAAM,OAAO,GAAG,CAAC,aAAsB,EAAE,OAAyB,EAAE,SAAmB,EAAmD,EAAE;QAC1I,MAAM,sBAAsB,GAAG,OAAO,CAAC,GAAG,EAAE;YAC1C,OAAO,EAAE,IAAI,EAAE,IAAI,IAAI,kCAAkC,EAAE,CAAA;QAC7D,CAAC,EAAE,EAAE,CAAC,CAAA;QACN,kBAAkB,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,IAAI,0BAA0B,EAAE,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAA;QACrG,MAAM,CAAC,eAAe,CAAC,GAAG,UAAU,EAAE,CAAA;QACtC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,SAAS,CACrC,aAAa,IAAI;YACf,KAAK,EAAE,CAAC,aAAa,CAAC,eAAe,CAAC;SACvC,CACF,CAAA;QAED,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,EAAkB,CAAA;QACxD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,EAAS,CAAA;QAE3C,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC,OAAO,IAAI,eAAe,EAAE,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC,CAAA;QAE1F,SAAS,CAAC,GAAG,EAAE;YACb,IAAI,CAAC,YAAY,EAAE;gBACjB,MAAM,KAAK,GAAG,KAAK,CAAC,qEAAqE,CAAC,CAAA;gBAC1F,8BAA8B;gBAC9B,QAAQ,CAAC,KAAK,CAAC,CAAA;aAChB;QACH,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAA;QAElB,SAAS,CAAC,GAAG,EAAE;YACb,IAAI,MAAM,IAAI,YAAY,EAAE;gBAC1B,IAAI;oBACF,MAAM,OAAO,GAAG,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;oBACxD,UAAU,CAAC,OAAO,CAAC,CAAA;oBACnB,QAAQ,CAAC,SAAS,CAAC,CAAA;iBACpB;gBAAC,OAAO,EAAE,EAAE;oBACX,UAAU,CAAC,SAAS,CAAC,CAAA;oBACrB,QAAQ,CAAC,EAAW,CAAC,CAAA;iBACtB;aACF;iBAAM;gBACL,UAAU,CAAC,SAAS,CAAC,CAAA;gBACrB,QAAQ,CAAC,WAAW,CAAC,CAAA;aACtB;QACH,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC,CAAA;QAEhD,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;IACzB,CAAC,CAAA;IACD,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG,wBAAwB,CAAC,aAAa,CAAC,CAAA"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { AccountInstance } from '@xyo-network/account-model';
|
|
2
|
-
import { ModuleWrapper } from '@xyo-network/module';
|
|
3
|
-
export interface WrapperStatic<TModuleWrapper extends ModuleWrapper = ModuleWrapper> {
|
|
4
|
-
requiredQueries: string[];
|
|
5
|
-
wrap: (module?: TModuleWrapper['module'], account?: AccountInstance) => TModuleWrapper;
|
|
6
|
-
}
|
|
2
|
+
import { ConstructableModuleWrapper, ModuleWrapper } from '@xyo-network/module';
|
|
7
3
|
export declare const WrappedModuleHookFactory: <TModuleWrapper extends ModuleWrapper<import("@xyo-network/module").Module<import("@xyo-network/module").ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
8
4
|
name?: string | undefined;
|
|
9
5
|
paging?: Record<string, {
|
|
@@ -30,33 +26,7 @@ export declare const WrappedModuleHookFactory: <TModuleWrapper extends ModuleWra
|
|
|
30
26
|
storeQueries?: boolean | undefined;
|
|
31
27
|
} & Omit<undefined, "schema">, "schema"> & {
|
|
32
28
|
schema: string;
|
|
33
|
-
}, "schema">, undefined>, import("@xyo-network/module").ModuleEventData
|
|
34
|
-
name?: string | undefined;
|
|
35
|
-
paging?: Record<string, {
|
|
36
|
-
size?: number | undefined;
|
|
37
|
-
}> | undefined;
|
|
38
|
-
schema: string;
|
|
39
|
-
security?: {
|
|
40
|
-
allowAnonymous?: boolean | undefined;
|
|
41
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
42
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
43
|
-
} | undefined;
|
|
44
|
-
storeQueries?: boolean | undefined;
|
|
45
|
-
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
46
|
-
name?: string | undefined;
|
|
47
|
-
paging?: Record<string, {
|
|
48
|
-
size?: number | undefined;
|
|
49
|
-
}> | undefined;
|
|
50
|
-
schema: "network.xyo.module.config";
|
|
51
|
-
security?: {
|
|
52
|
-
allowAnonymous?: boolean | undefined;
|
|
53
|
-
allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
|
|
54
|
-
disallowed?: Record<string, string[]> | undefined;
|
|
55
|
-
} | undefined;
|
|
56
|
-
storeQueries?: boolean | undefined;
|
|
57
|
-
} & Omit<undefined, "schema">, "schema"> & {
|
|
58
|
-
schema: string;
|
|
59
|
-
}, "schema">, undefined>, import("@xyo-network/module").ModuleEventData>>>(wrapperObject: WrapperStatic<TModuleWrapper>, name?: string) => (nameOrAddress?: string, account?: AccountInstance, spinCheck?: boolean) => [TModuleWrapper | undefined, Error | undefined];
|
|
29
|
+
}, "schema">, undefined>, import("@xyo-network/module").ModuleEventData>>>(wrapperObject: ConstructableModuleWrapper<TModuleWrapper>, name?: string) => (nameOrAddress?: string, account?: AccountInstance, spinCheck?: boolean) => [TModuleWrapper | undefined, Error | undefined];
|
|
60
30
|
export declare const useWrappedModule: (nameOrAddress?: string, account?: AccountInstance, spinCheck?: boolean) => [ModuleWrapper<import("@xyo-network/module").Module<import("@xyo-network/module").ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
61
31
|
name?: string | undefined;
|
|
62
32
|
paging?: Record<string, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWrappedModule.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWrappedModule.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useWrappedModule.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWrappedModule.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,0BAA0B,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAM/E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;6IAE5B,MAAM,sBAEoB,MAAM,YAAY,eAAe,cAAc,OAAO,oDA4CxF,CAAA;AAED,eAAO,MAAM,gBAAgB,mBA9CM,MAAM,YAAY,eAAe,cAAc,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;yGA8ClB,CAAA"}
|
package/package.json
CHANGED
|
@@ -14,20 +14,20 @@
|
|
|
14
14
|
"@xylabs/react-flexbox": "^2.16.11",
|
|
15
15
|
"@xylabs/react-render-spin-check": "^2.16.11",
|
|
16
16
|
"@xylabs/react-shared": "^2.16.11",
|
|
17
|
-
"@xyo-network/account-model": "^2.53.
|
|
18
|
-
"@xyo-network/module": "^2.53.
|
|
19
|
-
"@xyo-network/module-model": "^2.53.
|
|
20
|
-
"@xyo-network/node": "^2.53.
|
|
21
|
-
"@xyo-network/react-shared": "^2.47.
|
|
22
|
-
"@xyo-network/react-wallet": "^2.47.
|
|
17
|
+
"@xyo-network/account-model": "^2.53.26",
|
|
18
|
+
"@xyo-network/module": "^2.53.26",
|
|
19
|
+
"@xyo-network/module-model": "^2.53.26",
|
|
20
|
+
"@xyo-network/node": "^2.53.26",
|
|
21
|
+
"@xyo-network/react-shared": "^2.47.21",
|
|
22
|
+
"@xyo-network/react-wallet": "^2.47.21"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@storybook/react": "^6.5.16",
|
|
26
26
|
"@xylabs/ts-scripts-yarn3": "^2.16.1",
|
|
27
27
|
"@xylabs/tsconfig-react": "^2.16.1",
|
|
28
|
-
"@xyo-network/account": "^2.53.
|
|
29
|
-
"@xyo-network/react-storybook": "^2.47.
|
|
30
|
-
"@xyo-network/react-wallet": "^2.47.
|
|
28
|
+
"@xyo-network/account": "^2.53.26",
|
|
29
|
+
"@xyo-network/react-storybook": "^2.47.21",
|
|
30
|
+
"@xyo-network/react-wallet": "^2.47.21",
|
|
31
31
|
"require-from-string": "^2.0.2",
|
|
32
32
|
"typescript": "^4.9.5"
|
|
33
33
|
},
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
},
|
|
84
84
|
"sideEffects": false,
|
|
85
85
|
"types": "dist/types/index.d.ts",
|
|
86
|
-
"version": "2.47.
|
|
86
|
+
"version": "2.47.21"
|
|
87
87
|
}
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import { useRenderSpinCheck } from '@xylabs/react-render-spin-check'
|
|
2
2
|
import { AccountInstance } from '@xyo-network/account-model'
|
|
3
|
-
import { ModuleWrapper } from '@xyo-network/module'
|
|
3
|
+
import { ConstructableModuleWrapper, ModuleWrapper } from '@xyo-network/module'
|
|
4
4
|
import { useAccount } from '@xyo-network/react-wallet'
|
|
5
5
|
import { useEffect, useMemo, useState } from 'react'
|
|
6
6
|
|
|
7
7
|
import { useModule } from './useModule'
|
|
8
8
|
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
wrap: (module?: TModuleWrapper['module'], account?: AccountInstance) => TModuleWrapper
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export const WrappedModuleHookFactory = <TModuleWrapper extends ModuleWrapper = ModuleWrapper>(
|
|
15
|
-
wrapperObject: WrapperStatic<TModuleWrapper>,
|
|
9
|
+
export const WrappedModuleHookFactory = <TModuleWrapper extends ModuleWrapper>(
|
|
10
|
+
wrapperObject: ConstructableModuleWrapper<TModuleWrapper>,
|
|
16
11
|
name?: string,
|
|
17
12
|
) => {
|
|
18
13
|
const useHook = (nameOrAddress?: string, account?: AccountInstance, spinCheck?: boolean): [TModuleWrapper | undefined, Error | undefined] => {
|
|
@@ -43,7 +38,7 @@ export const WrappedModuleHookFactory = <TModuleWrapper extends ModuleWrapper =
|
|
|
43
38
|
useEffect(() => {
|
|
44
39
|
if (module && accountToUse) {
|
|
45
40
|
try {
|
|
46
|
-
const wrapper = wrapperObject.wrap(module, accountToUse)
|
|
41
|
+
const wrapper = wrapperObject.wrap(module, accountToUse)
|
|
47
42
|
setWrapper(wrapper)
|
|
48
43
|
setError(undefined)
|
|
49
44
|
} catch (ex) {
|