@xyo-network/react-node 2.35.12 → 2.36.0
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/contexts/useModule.d.ts +5 -0
- package/dist/cjs/contexts/useModule.d.ts.map +1 -1
- package/dist/cjs/contexts/useModules.d.ts +5 -0
- package/dist/cjs/contexts/useModules.d.ts.map +1 -1
- package/dist/docs.json +287 -83
- package/dist/esm/contexts/useModule.d.ts +5 -0
- package/dist/esm/contexts/useModule.d.ts.map +1 -1
- package/dist/esm/contexts/useModules.d.ts +5 -0
- package/dist/esm/contexts/useModules.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export declare const useModule: (address?: string) => import("@xyo-network/module").XyoModule<import("@xyo-network/payload").SchemaFields & import("@xyo-network/payload").PayloadFields & {
|
|
2
|
+
security?: {
|
|
3
|
+
allowed?: Record<string, string[][]> | undefined;
|
|
4
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
5
|
+
} | undefined;
|
|
6
|
+
} & {
|
|
2
7
|
schema: string;
|
|
3
8
|
}> | null | undefined;
|
|
4
9
|
//# sourceMappingURL=useModule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../src/contexts/useModule.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,aAAc,MAAM
|
|
1
|
+
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../src/contexts/useModule.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,aAAc,MAAM;;;;;;;qBAGzC,CAAA"}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export declare const useModules: () => (import("@xyo-network/module").XyoModule<import("@xyo-network/payload").SchemaFields & import("@xyo-network/payload").PayloadFields & {
|
|
2
|
+
security?: {
|
|
3
|
+
allowed?: Record<string, string[][]> | undefined;
|
|
4
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
5
|
+
} | undefined;
|
|
6
|
+
} & {
|
|
2
7
|
schema: string;
|
|
3
8
|
}> | null | undefined)[] | undefined;
|
|
4
9
|
//# sourceMappingURL=useModules.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useModules.d.ts","sourceRoot":"","sources":["../../../src/contexts/useModules.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"useModules.d.ts","sourceRoot":"","sources":["../../../src/contexts/useModules.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;oCAItB,CAAA"}
|
package/dist/docs.json
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
"originalName": "",
|
|
8
8
|
"children": [
|
|
9
9
|
{
|
|
10
|
-
"id":
|
|
10
|
+
"id": 18,
|
|
11
11
|
"name": "NodeContextState",
|
|
12
12
|
"kind": 256,
|
|
13
13
|
"kindString": "Interface",
|
|
14
14
|
"flags": {},
|
|
15
15
|
"children": [
|
|
16
16
|
{
|
|
17
|
-
"id":
|
|
17
|
+
"id": 19,
|
|
18
18
|
"name": "node",
|
|
19
19
|
"kind": 1024,
|
|
20
20
|
"kindString": "Property",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"fileName": "packages/sdk/packages/node/src/contexts/State.ts",
|
|
27
27
|
"line": 5,
|
|
28
28
|
"character": 2,
|
|
29
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
29
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/State.ts#L5"
|
|
30
30
|
}
|
|
31
31
|
],
|
|
32
32
|
"type": {
|
|
@@ -50,7 +50,24 @@
|
|
|
50
50
|
{
|
|
51
51
|
"type": "reflection",
|
|
52
52
|
"declaration": {
|
|
53
|
-
"id":
|
|
53
|
+
"id": 20,
|
|
54
|
+
"name": "__type",
|
|
55
|
+
"kind": 65536,
|
|
56
|
+
"kindString": "Type literal",
|
|
57
|
+
"flags": {},
|
|
58
|
+
"sources": [
|
|
59
|
+
{
|
|
60
|
+
"fileName": "node_modules/@xyo-network/module/dist/esm/Config.d.ts",
|
|
61
|
+
"line": 7,
|
|
62
|
+
"character": 90
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"type": "reflection",
|
|
69
|
+
"declaration": {
|
|
70
|
+
"id": 21,
|
|
54
71
|
"name": "__type",
|
|
55
72
|
"kind": 65536,
|
|
56
73
|
"kindString": "Type literal",
|
|
@@ -87,7 +104,24 @@
|
|
|
87
104
|
{
|
|
88
105
|
"type": "reflection",
|
|
89
106
|
"declaration": {
|
|
90
|
-
"id":
|
|
107
|
+
"id": 22,
|
|
108
|
+
"name": "__type",
|
|
109
|
+
"kind": 65536,
|
|
110
|
+
"kindString": "Type literal",
|
|
111
|
+
"flags": {},
|
|
112
|
+
"sources": [
|
|
113
|
+
{
|
|
114
|
+
"fileName": "node_modules/@xyo-network/module/dist/esm/Config.d.ts",
|
|
115
|
+
"line": 7,
|
|
116
|
+
"character": 90
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "reflection",
|
|
123
|
+
"declaration": {
|
|
124
|
+
"id": 23,
|
|
91
125
|
"name": "__type",
|
|
92
126
|
"kind": 65536,
|
|
93
127
|
"kindString": "Type literal",
|
|
@@ -115,7 +149,7 @@
|
|
|
115
149
|
}
|
|
116
150
|
},
|
|
117
151
|
{
|
|
118
|
-
"id":
|
|
152
|
+
"id": 24,
|
|
119
153
|
"name": "setNode",
|
|
120
154
|
"kind": 1024,
|
|
121
155
|
"kindString": "Property",
|
|
@@ -127,7 +161,7 @@
|
|
|
127
161
|
"fileName": "packages/sdk/packages/node/src/contexts/State.ts",
|
|
128
162
|
"line": 6,
|
|
129
163
|
"character": 2,
|
|
130
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
164
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/State.ts#L6"
|
|
131
165
|
}
|
|
132
166
|
],
|
|
133
167
|
"type": {
|
|
@@ -154,7 +188,24 @@
|
|
|
154
188
|
{
|
|
155
189
|
"type": "reflection",
|
|
156
190
|
"declaration": {
|
|
157
|
-
"id":
|
|
191
|
+
"id": 25,
|
|
192
|
+
"name": "__type",
|
|
193
|
+
"kind": 65536,
|
|
194
|
+
"kindString": "Type literal",
|
|
195
|
+
"flags": {},
|
|
196
|
+
"sources": [
|
|
197
|
+
{
|
|
198
|
+
"fileName": "node_modules/@xyo-network/module/dist/esm/Config.d.ts",
|
|
199
|
+
"line": 7,
|
|
200
|
+
"character": 90
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"type": "reflection",
|
|
207
|
+
"declaration": {
|
|
208
|
+
"id": 26,
|
|
158
209
|
"name": "__type",
|
|
159
210
|
"kind": 65536,
|
|
160
211
|
"kindString": "Type literal",
|
|
@@ -191,7 +242,24 @@
|
|
|
191
242
|
{
|
|
192
243
|
"type": "reflection",
|
|
193
244
|
"declaration": {
|
|
194
|
-
"id":
|
|
245
|
+
"id": 27,
|
|
246
|
+
"name": "__type",
|
|
247
|
+
"kind": 65536,
|
|
248
|
+
"kindString": "Type literal",
|
|
249
|
+
"flags": {},
|
|
250
|
+
"sources": [
|
|
251
|
+
{
|
|
252
|
+
"fileName": "node_modules/@xyo-network/module/dist/esm/Config.d.ts",
|
|
253
|
+
"line": 7,
|
|
254
|
+
"character": 90
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"type": "reflection",
|
|
261
|
+
"declaration": {
|
|
262
|
+
"id": 28,
|
|
195
263
|
"name": "__type",
|
|
196
264
|
"kind": 65536,
|
|
197
265
|
"kindString": "Type literal",
|
|
@@ -228,8 +296,8 @@
|
|
|
228
296
|
{
|
|
229
297
|
"title": "Properties",
|
|
230
298
|
"children": [
|
|
231
|
-
|
|
232
|
-
|
|
299
|
+
19,
|
|
300
|
+
24
|
|
233
301
|
]
|
|
234
302
|
}
|
|
235
303
|
],
|
|
@@ -238,7 +306,7 @@
|
|
|
238
306
|
"fileName": "packages/sdk/packages/node/src/contexts/State.ts",
|
|
239
307
|
"line": 4,
|
|
240
308
|
"character": 17,
|
|
241
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
309
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/State.ts#L4"
|
|
242
310
|
}
|
|
243
311
|
]
|
|
244
312
|
},
|
|
@@ -262,7 +330,7 @@
|
|
|
262
330
|
"fileName": "packages/sdk/packages/node/src/contexts/Provider.tsx",
|
|
263
331
|
"line": 9,
|
|
264
332
|
"character": 2,
|
|
265
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
333
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/Provider.tsx#L9"
|
|
266
334
|
}
|
|
267
335
|
],
|
|
268
336
|
"type": {
|
|
@@ -291,6 +359,23 @@
|
|
|
291
359
|
"kind": 65536,
|
|
292
360
|
"kindString": "Type literal",
|
|
293
361
|
"flags": {},
|
|
362
|
+
"sources": [
|
|
363
|
+
{
|
|
364
|
+
"fileName": "node_modules/@xyo-network/module/dist/esm/Config.d.ts",
|
|
365
|
+
"line": 7,
|
|
366
|
+
"character": 90
|
|
367
|
+
}
|
|
368
|
+
]
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"type": "reflection",
|
|
373
|
+
"declaration": {
|
|
374
|
+
"id": 6,
|
|
375
|
+
"name": "__type",
|
|
376
|
+
"kind": 65536,
|
|
377
|
+
"kindString": "Type literal",
|
|
378
|
+
"flags": {},
|
|
294
379
|
"sources": [
|
|
295
380
|
{
|
|
296
381
|
"fileName": "node_modules/@xyo-network/payload/dist/esm/models/Base.d.ts",
|
|
@@ -323,7 +408,24 @@
|
|
|
323
408
|
{
|
|
324
409
|
"type": "reflection",
|
|
325
410
|
"declaration": {
|
|
326
|
-
"id":
|
|
411
|
+
"id": 7,
|
|
412
|
+
"name": "__type",
|
|
413
|
+
"kind": 65536,
|
|
414
|
+
"kindString": "Type literal",
|
|
415
|
+
"flags": {},
|
|
416
|
+
"sources": [
|
|
417
|
+
{
|
|
418
|
+
"fileName": "node_modules/@xyo-network/module/dist/esm/Config.d.ts",
|
|
419
|
+
"line": 7,
|
|
420
|
+
"character": 90
|
|
421
|
+
}
|
|
422
|
+
]
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"type": "reflection",
|
|
427
|
+
"declaration": {
|
|
428
|
+
"id": 8,
|
|
327
429
|
"name": "__type",
|
|
328
430
|
"kind": 65536,
|
|
329
431
|
"kindString": "Type literal",
|
|
@@ -363,7 +465,7 @@
|
|
|
363
465
|
"fileName": "packages/sdk/packages/node/src/contexts/Provider.tsx",
|
|
364
466
|
"line": 8,
|
|
365
467
|
"character": 2,
|
|
366
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
468
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/Provider.tsx#L8"
|
|
367
469
|
}
|
|
368
470
|
],
|
|
369
471
|
"type": {
|
|
@@ -386,12 +488,12 @@
|
|
|
386
488
|
"fileName": "packages/sdk/packages/node/src/contexts/Provider.tsx",
|
|
387
489
|
"line": 7,
|
|
388
490
|
"character": 17,
|
|
389
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
491
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/Provider.tsx#L7"
|
|
390
492
|
}
|
|
391
493
|
]
|
|
392
494
|
},
|
|
393
495
|
{
|
|
394
|
-
"id":
|
|
496
|
+
"id": 9,
|
|
395
497
|
"name": "XyoNodeProviderProps",
|
|
396
498
|
"kind": 4194304,
|
|
397
499
|
"kindString": "Type alias",
|
|
@@ -415,7 +517,7 @@
|
|
|
415
517
|
"fileName": "packages/sdk/packages/node/src/contexts/Provider.tsx",
|
|
416
518
|
"line": 13,
|
|
417
519
|
"character": 12,
|
|
418
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
520
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/Provider.tsx#L13"
|
|
419
521
|
}
|
|
420
522
|
],
|
|
421
523
|
"type": {
|
|
@@ -437,7 +539,7 @@
|
|
|
437
539
|
"fileName": "packages/sdk/packages/node/src/contexts/Context.ts",
|
|
438
540
|
"line": 5,
|
|
439
541
|
"character": 13,
|
|
440
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
542
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/Context.ts#L5"
|
|
441
543
|
}
|
|
442
544
|
],
|
|
443
545
|
"type": {
|
|
@@ -448,7 +550,7 @@
|
|
|
448
550
|
"types": [
|
|
449
551
|
{
|
|
450
552
|
"type": "reference",
|
|
451
|
-
"id":
|
|
553
|
+
"id": 18,
|
|
452
554
|
"name": "NodeContextState"
|
|
453
555
|
},
|
|
454
556
|
{
|
|
@@ -465,7 +567,7 @@
|
|
|
465
567
|
"defaultValue": "..."
|
|
466
568
|
},
|
|
467
569
|
{
|
|
468
|
-
"id":
|
|
570
|
+
"id": 10,
|
|
469
571
|
"name": "NodeProvider",
|
|
470
572
|
"kind": 64,
|
|
471
573
|
"kindString": "Function",
|
|
@@ -475,19 +577,19 @@
|
|
|
475
577
|
"fileName": "packages/sdk/packages/node/src/contexts/Provider.tsx",
|
|
476
578
|
"line": 15,
|
|
477
579
|
"character": 13,
|
|
478
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
580
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/Provider.tsx#L15"
|
|
479
581
|
}
|
|
480
582
|
],
|
|
481
583
|
"signatures": [
|
|
482
584
|
{
|
|
483
|
-
"id":
|
|
585
|
+
"id": 11,
|
|
484
586
|
"name": "NodeProvider",
|
|
485
587
|
"kind": 4096,
|
|
486
588
|
"kindString": "Call signature",
|
|
487
589
|
"flags": {},
|
|
488
590
|
"parameters": [
|
|
489
591
|
{
|
|
490
|
-
"id":
|
|
592
|
+
"id": 12,
|
|
491
593
|
"name": "props",
|
|
492
594
|
"kind": 32768,
|
|
493
595
|
"kindString": "Parameter",
|
|
@@ -507,7 +609,7 @@
|
|
|
507
609
|
}
|
|
508
610
|
},
|
|
509
611
|
{
|
|
510
|
-
"id":
|
|
612
|
+
"id": 13,
|
|
511
613
|
"name": "context",
|
|
512
614
|
"kind": 32768,
|
|
513
615
|
"kindString": "Parameter",
|
|
@@ -549,7 +651,7 @@
|
|
|
549
651
|
]
|
|
550
652
|
},
|
|
551
653
|
{
|
|
552
|
-
"id":
|
|
654
|
+
"id": 14,
|
|
553
655
|
"name": "XyoNodeProvider",
|
|
554
656
|
"kind": 64,
|
|
555
657
|
"kindString": "Function",
|
|
@@ -559,12 +661,12 @@
|
|
|
559
661
|
"fileName": "packages/sdk/packages/node/src/contexts/Provider.tsx",
|
|
560
662
|
"line": 26,
|
|
561
663
|
"character": 13,
|
|
562
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
664
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/Provider.tsx#L26"
|
|
563
665
|
}
|
|
564
666
|
],
|
|
565
667
|
"signatures": [
|
|
566
668
|
{
|
|
567
|
-
"id":
|
|
669
|
+
"id": 15,
|
|
568
670
|
"name": "XyoNodeProvider",
|
|
569
671
|
"kind": 4096,
|
|
570
672
|
"kindString": "Call signature",
|
|
@@ -585,7 +687,7 @@
|
|
|
585
687
|
},
|
|
586
688
|
"parameters": [
|
|
587
689
|
{
|
|
588
|
-
"id":
|
|
690
|
+
"id": 16,
|
|
589
691
|
"name": "props",
|
|
590
692
|
"kind": 32768,
|
|
591
693
|
"kindString": "Parameter",
|
|
@@ -605,7 +707,7 @@
|
|
|
605
707
|
}
|
|
606
708
|
},
|
|
607
709
|
{
|
|
608
|
-
"id":
|
|
710
|
+
"id": 17,
|
|
609
711
|
"name": "context",
|
|
610
712
|
"kind": 32768,
|
|
611
713
|
"kindString": "Parameter",
|
|
@@ -647,7 +749,7 @@
|
|
|
647
749
|
]
|
|
648
750
|
},
|
|
649
751
|
{
|
|
650
|
-
"id":
|
|
752
|
+
"id": 29,
|
|
651
753
|
"name": "useArchivistModule",
|
|
652
754
|
"kind": 64,
|
|
653
755
|
"kindString": "Function",
|
|
@@ -657,19 +759,19 @@
|
|
|
657
759
|
"fileName": "packages/sdk/packages/node/src/contexts/useArchivistModule.ts",
|
|
658
760
|
"line": 5,
|
|
659
761
|
"character": 13,
|
|
660
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
762
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/useArchivistModule.ts#L5"
|
|
661
763
|
}
|
|
662
764
|
],
|
|
663
765
|
"signatures": [
|
|
664
766
|
{
|
|
665
|
-
"id":
|
|
767
|
+
"id": 30,
|
|
666
768
|
"name": "useArchivistModule",
|
|
667
769
|
"kind": 4096,
|
|
668
770
|
"kindString": "Call signature",
|
|
669
771
|
"flags": {},
|
|
670
772
|
"parameters": [
|
|
671
773
|
{
|
|
672
|
-
"id":
|
|
774
|
+
"id": 31,
|
|
673
775
|
"name": "address",
|
|
674
776
|
"kind": 32768,
|
|
675
777
|
"kindString": "Parameter",
|
|
@@ -701,7 +803,7 @@
|
|
|
701
803
|
]
|
|
702
804
|
},
|
|
703
805
|
{
|
|
704
|
-
"id":
|
|
806
|
+
"id": 32,
|
|
705
807
|
"name": "useArchivistModules",
|
|
706
808
|
"kind": 64,
|
|
707
809
|
"kindString": "Function",
|
|
@@ -711,12 +813,12 @@
|
|
|
711
813
|
"fileName": "packages/sdk/packages/node/src/contexts/useArchivistModules.ts",
|
|
712
814
|
"line": 6,
|
|
713
815
|
"character": 13,
|
|
714
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
816
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/useArchivistModules.ts#L6"
|
|
715
817
|
}
|
|
716
818
|
],
|
|
717
819
|
"signatures": [
|
|
718
820
|
{
|
|
719
|
-
"id":
|
|
821
|
+
"id": 33,
|
|
720
822
|
"name": "useArchivistModules",
|
|
721
823
|
"kind": 4096,
|
|
722
824
|
"kindString": "Call signature",
|
|
@@ -743,7 +845,7 @@
|
|
|
743
845
|
]
|
|
744
846
|
},
|
|
745
847
|
{
|
|
746
|
-
"id":
|
|
848
|
+
"id": 34,
|
|
747
849
|
"name": "useDivinerModule",
|
|
748
850
|
"kind": 64,
|
|
749
851
|
"kindString": "Function",
|
|
@@ -753,19 +855,19 @@
|
|
|
753
855
|
"fileName": "packages/sdk/packages/node/src/contexts/useDivinerModule.ts",
|
|
754
856
|
"line": 5,
|
|
755
857
|
"character": 13,
|
|
756
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
858
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/useDivinerModule.ts#L5"
|
|
757
859
|
}
|
|
758
860
|
],
|
|
759
861
|
"signatures": [
|
|
760
862
|
{
|
|
761
|
-
"id":
|
|
863
|
+
"id": 35,
|
|
762
864
|
"name": "useDivinerModule",
|
|
763
865
|
"kind": 4096,
|
|
764
866
|
"kindString": "Call signature",
|
|
765
867
|
"flags": {},
|
|
766
868
|
"parameters": [
|
|
767
869
|
{
|
|
768
|
-
"id":
|
|
870
|
+
"id": 36,
|
|
769
871
|
"name": "address",
|
|
770
872
|
"kind": 32768,
|
|
771
873
|
"kindString": "Parameter",
|
|
@@ -797,7 +899,7 @@
|
|
|
797
899
|
]
|
|
798
900
|
},
|
|
799
901
|
{
|
|
800
|
-
"id":
|
|
902
|
+
"id": 37,
|
|
801
903
|
"name": "useDivinerModules",
|
|
802
904
|
"kind": 64,
|
|
803
905
|
"kindString": "Function",
|
|
@@ -807,12 +909,12 @@
|
|
|
807
909
|
"fileName": "packages/sdk/packages/node/src/contexts/useDivinerModules.ts",
|
|
808
910
|
"line": 6,
|
|
809
911
|
"character": 13,
|
|
810
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
912
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/useDivinerModules.ts#L6"
|
|
811
913
|
}
|
|
812
914
|
],
|
|
813
915
|
"signatures": [
|
|
814
916
|
{
|
|
815
|
-
"id":
|
|
917
|
+
"id": 38,
|
|
816
918
|
"name": "useDivinerModules",
|
|
817
919
|
"kind": 4096,
|
|
818
920
|
"kindString": "Call signature",
|
|
@@ -839,7 +941,7 @@
|
|
|
839
941
|
]
|
|
840
942
|
},
|
|
841
943
|
{
|
|
842
|
-
"id":
|
|
944
|
+
"id": 39,
|
|
843
945
|
"name": "useModule",
|
|
844
946
|
"kind": 64,
|
|
845
947
|
"kindString": "Function",
|
|
@@ -849,19 +951,19 @@
|
|
|
849
951
|
"fileName": "packages/sdk/packages/node/src/contexts/useModule.ts",
|
|
850
952
|
"line": 3,
|
|
851
953
|
"character": 13,
|
|
852
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
954
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/useModule.ts#L3"
|
|
853
955
|
}
|
|
854
956
|
],
|
|
855
957
|
"signatures": [
|
|
856
958
|
{
|
|
857
|
-
"id":
|
|
959
|
+
"id": 40,
|
|
858
960
|
"name": "useModule",
|
|
859
961
|
"kind": 4096,
|
|
860
962
|
"kindString": "Call signature",
|
|
861
963
|
"flags": {},
|
|
862
964
|
"parameters": [
|
|
863
965
|
{
|
|
864
|
-
"id":
|
|
966
|
+
"id": 41,
|
|
865
967
|
"name": "address",
|
|
866
968
|
"kind": 32768,
|
|
867
969
|
"kindString": "Parameter",
|
|
@@ -906,7 +1008,24 @@
|
|
|
906
1008
|
{
|
|
907
1009
|
"type": "reflection",
|
|
908
1010
|
"declaration": {
|
|
909
|
-
"id":
|
|
1011
|
+
"id": 42,
|
|
1012
|
+
"name": "__type",
|
|
1013
|
+
"kind": 65536,
|
|
1014
|
+
"kindString": "Type literal",
|
|
1015
|
+
"flags": {},
|
|
1016
|
+
"sources": [
|
|
1017
|
+
{
|
|
1018
|
+
"fileName": "node_modules/@xyo-network/module/dist/esm/Config.d.ts",
|
|
1019
|
+
"line": 7,
|
|
1020
|
+
"character": 90
|
|
1021
|
+
}
|
|
1022
|
+
]
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"type": "reflection",
|
|
1027
|
+
"declaration": {
|
|
1028
|
+
"id": 43,
|
|
910
1029
|
"name": "__type",
|
|
911
1030
|
"kind": 65536,
|
|
912
1031
|
"kindString": "Type literal",
|
|
@@ -933,7 +1052,7 @@
|
|
|
933
1052
|
]
|
|
934
1053
|
},
|
|
935
1054
|
{
|
|
936
|
-
"id":
|
|
1055
|
+
"id": 44,
|
|
937
1056
|
"name": "useModuleAddresses",
|
|
938
1057
|
"kind": 64,
|
|
939
1058
|
"kindString": "Function",
|
|
@@ -943,12 +1062,12 @@
|
|
|
943
1062
|
"fileName": "packages/sdk/packages/node/src/contexts/useModuleAddresses.ts",
|
|
944
1063
|
"line": 3,
|
|
945
1064
|
"character": 13,
|
|
946
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1065
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/useModuleAddresses.ts#L3"
|
|
947
1066
|
}
|
|
948
1067
|
],
|
|
949
1068
|
"signatures": [
|
|
950
1069
|
{
|
|
951
|
-
"id":
|
|
1070
|
+
"id": 45,
|
|
952
1071
|
"name": "useModuleAddresses",
|
|
953
1072
|
"kind": 4096,
|
|
954
1073
|
"kindString": "Call signature",
|
|
@@ -976,7 +1095,7 @@
|
|
|
976
1095
|
]
|
|
977
1096
|
},
|
|
978
1097
|
{
|
|
979
|
-
"id":
|
|
1098
|
+
"id": 46,
|
|
980
1099
|
"name": "useModules",
|
|
981
1100
|
"kind": 64,
|
|
982
1101
|
"kindString": "Function",
|
|
@@ -986,12 +1105,12 @@
|
|
|
986
1105
|
"fileName": "packages/sdk/packages/node/src/contexts/useModules.ts",
|
|
987
1106
|
"line": 4,
|
|
988
1107
|
"character": 13,
|
|
989
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1108
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/useModules.ts#L4"
|
|
990
1109
|
}
|
|
991
1110
|
],
|
|
992
1111
|
"signatures": [
|
|
993
1112
|
{
|
|
994
|
-
"id":
|
|
1113
|
+
"id": 47,
|
|
995
1114
|
"name": "useModules",
|
|
996
1115
|
"kind": 4096,
|
|
997
1116
|
"kindString": "Call signature",
|
|
@@ -1037,7 +1156,24 @@
|
|
|
1037
1156
|
{
|
|
1038
1157
|
"type": "reflection",
|
|
1039
1158
|
"declaration": {
|
|
1040
|
-
"id":
|
|
1159
|
+
"id": 48,
|
|
1160
|
+
"name": "__type",
|
|
1161
|
+
"kind": 65536,
|
|
1162
|
+
"kindString": "Type literal",
|
|
1163
|
+
"flags": {},
|
|
1164
|
+
"sources": [
|
|
1165
|
+
{
|
|
1166
|
+
"fileName": "node_modules/@xyo-network/module/dist/esm/Config.d.ts",
|
|
1167
|
+
"line": 7,
|
|
1168
|
+
"character": 90
|
|
1169
|
+
}
|
|
1170
|
+
]
|
|
1171
|
+
}
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"type": "reflection",
|
|
1175
|
+
"declaration": {
|
|
1176
|
+
"id": 49,
|
|
1041
1177
|
"name": "__type",
|
|
1042
1178
|
"kind": 65536,
|
|
1043
1179
|
"kindString": "Type literal",
|
|
@@ -1067,7 +1203,7 @@
|
|
|
1067
1203
|
]
|
|
1068
1204
|
},
|
|
1069
1205
|
{
|
|
1070
|
-
"id":
|
|
1206
|
+
"id": 50,
|
|
1071
1207
|
"name": "useNode",
|
|
1072
1208
|
"kind": 64,
|
|
1073
1209
|
"kindString": "Function",
|
|
@@ -1077,12 +1213,12 @@
|
|
|
1077
1213
|
"fileName": "packages/sdk/packages/node/src/contexts/useNode.ts",
|
|
1078
1214
|
"line": 7,
|
|
1079
1215
|
"character": 13,
|
|
1080
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1216
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/useNode.ts#L7"
|
|
1081
1217
|
}
|
|
1082
1218
|
],
|
|
1083
1219
|
"signatures": [
|
|
1084
1220
|
{
|
|
1085
|
-
"id":
|
|
1221
|
+
"id": 51,
|
|
1086
1222
|
"name": "useNode",
|
|
1087
1223
|
"kind": 4096,
|
|
1088
1224
|
"kindString": "Call signature",
|
|
@@ -1118,7 +1254,24 @@
|
|
|
1118
1254
|
{
|
|
1119
1255
|
"type": "reflection",
|
|
1120
1256
|
"declaration": {
|
|
1121
|
-
"id":
|
|
1257
|
+
"id": 52,
|
|
1258
|
+
"name": "__type",
|
|
1259
|
+
"kind": 65536,
|
|
1260
|
+
"kindString": "Type literal",
|
|
1261
|
+
"flags": {},
|
|
1262
|
+
"sources": [
|
|
1263
|
+
{
|
|
1264
|
+
"fileName": "node_modules/@xyo-network/module/dist/esm/Config.d.ts",
|
|
1265
|
+
"line": 7,
|
|
1266
|
+
"character": 90
|
|
1267
|
+
}
|
|
1268
|
+
]
|
|
1269
|
+
}
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"type": "reflection",
|
|
1273
|
+
"declaration": {
|
|
1274
|
+
"id": 53,
|
|
1122
1275
|
"name": "__type",
|
|
1123
1276
|
"kind": 65536,
|
|
1124
1277
|
"kindString": "Type literal",
|
|
@@ -1155,7 +1308,24 @@
|
|
|
1155
1308
|
{
|
|
1156
1309
|
"type": "reflection",
|
|
1157
1310
|
"declaration": {
|
|
1158
|
-
"id":
|
|
1311
|
+
"id": 54,
|
|
1312
|
+
"name": "__type",
|
|
1313
|
+
"kind": 65536,
|
|
1314
|
+
"kindString": "Type literal",
|
|
1315
|
+
"flags": {},
|
|
1316
|
+
"sources": [
|
|
1317
|
+
{
|
|
1318
|
+
"fileName": "node_modules/@xyo-network/module/dist/esm/Config.d.ts",
|
|
1319
|
+
"line": 7,
|
|
1320
|
+
"character": 90
|
|
1321
|
+
}
|
|
1322
|
+
]
|
|
1323
|
+
}
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
"type": "reflection",
|
|
1327
|
+
"declaration": {
|
|
1328
|
+
"id": 55,
|
|
1159
1329
|
"name": "__type",
|
|
1160
1330
|
"kind": 65536,
|
|
1161
1331
|
"kindString": "Type literal",
|
|
@@ -1214,7 +1384,24 @@
|
|
|
1214
1384
|
{
|
|
1215
1385
|
"type": "reflection",
|
|
1216
1386
|
"declaration": {
|
|
1217
|
-
"id":
|
|
1387
|
+
"id": 56,
|
|
1388
|
+
"name": "__type",
|
|
1389
|
+
"kind": 65536,
|
|
1390
|
+
"kindString": "Type literal",
|
|
1391
|
+
"flags": {},
|
|
1392
|
+
"sources": [
|
|
1393
|
+
{
|
|
1394
|
+
"fileName": "node_modules/@xyo-network/module/dist/esm/Config.d.ts",
|
|
1395
|
+
"line": 7,
|
|
1396
|
+
"character": 90
|
|
1397
|
+
}
|
|
1398
|
+
]
|
|
1399
|
+
}
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
"type": "reflection",
|
|
1403
|
+
"declaration": {
|
|
1404
|
+
"id": 57,
|
|
1218
1405
|
"name": "__type",
|
|
1219
1406
|
"kind": 65536,
|
|
1220
1407
|
"kindString": "Type literal",
|
|
@@ -1251,7 +1438,24 @@
|
|
|
1251
1438
|
{
|
|
1252
1439
|
"type": "reflection",
|
|
1253
1440
|
"declaration": {
|
|
1254
|
-
"id":
|
|
1441
|
+
"id": 58,
|
|
1442
|
+
"name": "__type",
|
|
1443
|
+
"kind": 65536,
|
|
1444
|
+
"kindString": "Type literal",
|
|
1445
|
+
"flags": {},
|
|
1446
|
+
"sources": [
|
|
1447
|
+
{
|
|
1448
|
+
"fileName": "node_modules/@xyo-network/module/dist/esm/Config.d.ts",
|
|
1449
|
+
"line": 7,
|
|
1450
|
+
"character": 90
|
|
1451
|
+
}
|
|
1452
|
+
]
|
|
1453
|
+
}
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"type": "reflection",
|
|
1457
|
+
"declaration": {
|
|
1458
|
+
"id": 59,
|
|
1255
1459
|
"name": "__type",
|
|
1256
1460
|
"kind": 65536,
|
|
1257
1461
|
"kindString": "Type literal",
|
|
@@ -1290,7 +1494,7 @@
|
|
|
1290
1494
|
]
|
|
1291
1495
|
},
|
|
1292
1496
|
{
|
|
1293
|
-
"id":
|
|
1497
|
+
"id": 60,
|
|
1294
1498
|
"name": "useWitnessModule",
|
|
1295
1499
|
"kind": 64,
|
|
1296
1500
|
"kindString": "Function",
|
|
@@ -1300,19 +1504,19 @@
|
|
|
1300
1504
|
"fileName": "packages/sdk/packages/node/src/contexts/useWitnessModule.ts",
|
|
1301
1505
|
"line": 5,
|
|
1302
1506
|
"character": 13,
|
|
1303
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1507
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/useWitnessModule.ts#L5"
|
|
1304
1508
|
}
|
|
1305
1509
|
],
|
|
1306
1510
|
"signatures": [
|
|
1307
1511
|
{
|
|
1308
|
-
"id":
|
|
1512
|
+
"id": 61,
|
|
1309
1513
|
"name": "useWitnessModule",
|
|
1310
1514
|
"kind": 4096,
|
|
1311
1515
|
"kindString": "Call signature",
|
|
1312
1516
|
"flags": {},
|
|
1313
1517
|
"parameters": [
|
|
1314
1518
|
{
|
|
1315
|
-
"id":
|
|
1519
|
+
"id": 62,
|
|
1316
1520
|
"name": "address",
|
|
1317
1521
|
"kind": 32768,
|
|
1318
1522
|
"kindString": "Parameter",
|
|
@@ -1344,7 +1548,7 @@
|
|
|
1344
1548
|
]
|
|
1345
1549
|
},
|
|
1346
1550
|
{
|
|
1347
|
-
"id":
|
|
1551
|
+
"id": 63,
|
|
1348
1552
|
"name": "useWitnessModules",
|
|
1349
1553
|
"kind": 64,
|
|
1350
1554
|
"kindString": "Function",
|
|
@@ -1354,12 +1558,12 @@
|
|
|
1354
1558
|
"fileName": "packages/sdk/packages/node/src/contexts/useWitnessModules.ts",
|
|
1355
1559
|
"line": 6,
|
|
1356
1560
|
"character": 13,
|
|
1357
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1561
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/contexts/useWitnessModules.ts#L6"
|
|
1358
1562
|
}
|
|
1359
1563
|
],
|
|
1360
1564
|
"signatures": [
|
|
1361
1565
|
{
|
|
1362
|
-
"id":
|
|
1566
|
+
"id": 64,
|
|
1363
1567
|
"name": "useWitnessModules",
|
|
1364
1568
|
"kind": 4096,
|
|
1365
1569
|
"kindString": "Call signature",
|
|
@@ -1390,14 +1594,14 @@
|
|
|
1390
1594
|
{
|
|
1391
1595
|
"title": "Interfaces",
|
|
1392
1596
|
"children": [
|
|
1393
|
-
|
|
1597
|
+
18,
|
|
1394
1598
|
2
|
|
1395
1599
|
]
|
|
1396
1600
|
},
|
|
1397
1601
|
{
|
|
1398
1602
|
"title": "Type Aliases",
|
|
1399
1603
|
"children": [
|
|
1400
|
-
|
|
1604
|
+
9
|
|
1401
1605
|
]
|
|
1402
1606
|
},
|
|
1403
1607
|
{
|
|
@@ -1409,18 +1613,18 @@
|
|
|
1409
1613
|
{
|
|
1410
1614
|
"title": "Functions",
|
|
1411
1615
|
"children": [
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
31,
|
|
1418
|
-
33,
|
|
1616
|
+
10,
|
|
1617
|
+
14,
|
|
1618
|
+
29,
|
|
1619
|
+
32,
|
|
1620
|
+
34,
|
|
1419
1621
|
37,
|
|
1420
1622
|
39,
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1623
|
+
44,
|
|
1624
|
+
46,
|
|
1625
|
+
50,
|
|
1626
|
+
60,
|
|
1627
|
+
63
|
|
1424
1628
|
]
|
|
1425
1629
|
}
|
|
1426
1630
|
],
|
|
@@ -1429,7 +1633,7 @@
|
|
|
1429
1633
|
"fileName": "packages/sdk/packages/node/src/index.ts",
|
|
1430
1634
|
"line": 1,
|
|
1431
1635
|
"character": 0,
|
|
1432
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1636
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/5c7465308/packages/sdk/packages/node/src/index.ts#L1"
|
|
1433
1637
|
}
|
|
1434
1638
|
]
|
|
1435
1639
|
}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export declare const useModule: (address?: string) => import("@xyo-network/module").XyoModule<import("@xyo-network/payload").SchemaFields & import("@xyo-network/payload").PayloadFields & {
|
|
2
|
+
security?: {
|
|
3
|
+
allowed?: Record<string, string[][]> | undefined;
|
|
4
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
5
|
+
} | undefined;
|
|
6
|
+
} & {
|
|
2
7
|
schema: string;
|
|
3
8
|
}> | null | undefined;
|
|
4
9
|
//# sourceMappingURL=useModule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../src/contexts/useModule.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,aAAc,MAAM
|
|
1
|
+
{"version":3,"file":"useModule.d.ts","sourceRoot":"","sources":["../../../src/contexts/useModule.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,aAAc,MAAM;;;;;;;qBAGzC,CAAA"}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export declare const useModules: () => (import("@xyo-network/module").XyoModule<import("@xyo-network/payload").SchemaFields & import("@xyo-network/payload").PayloadFields & {
|
|
2
|
+
security?: {
|
|
3
|
+
allowed?: Record<string, string[][]> | undefined;
|
|
4
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
5
|
+
} | undefined;
|
|
6
|
+
} & {
|
|
2
7
|
schema: string;
|
|
3
8
|
}> | null | undefined)[] | undefined;
|
|
4
9
|
//# sourceMappingURL=useModules.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useModules.d.ts","sourceRoot":"","sources":["../../../src/contexts/useModules.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"useModules.d.ts","sourceRoot":"","sources":["../../../src/contexts/useModules.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU;;;;;;;oCAItB,CAAA"}
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@xylabs/react-flexbox": "^2.14.20",
|
|
14
14
|
"@xylabs/react-shared": "^2.14.20",
|
|
15
|
-
"@xyo-network/react-shared": "^2.
|
|
15
|
+
"@xyo-network/react-shared": "^2.36.0",
|
|
16
16
|
"lodash": "^4.17.21",
|
|
17
17
|
"tslib": "^2.4.0"
|
|
18
18
|
},
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
},
|
|
74
74
|
"sideEffects": false,
|
|
75
75
|
"types": "dist/esm/index.d.ts",
|
|
76
|
-
"version": "2.
|
|
76
|
+
"version": "2.36.0"
|
|
77
77
|
}
|