@xyo-network/react-payload-diviner 2.49.12 → 2.50.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.
@@ -3,5 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./Context"), exports);
5
5
  tslib_1.__exportStar(require("./Provider"), exports);
6
+ tslib_1.__exportStar(require("./State"), exports);
6
7
  tslib_1.__exportStar(require("./use"), exports);
7
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/DivinedPayload/index.ts"],"names":[],"mappings":";;;AAAA,oDAAyB;AACzB,qDAA0B;AAC1B,gDAAqB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/DivinedPayload/index.ts"],"names":[],"mappings":";;;AAAA,oDAAyB;AACzB,qDAA0B;AAC1B,kDAAuB;AACvB,gDAAqB"}
package/dist/docs.json CHANGED
@@ -7,14 +7,279 @@
7
7
  "originalName": "",
8
8
  "children": [
9
9
  {
10
- "id": 24,
10
+ "id": 2,
11
+ "name": "DivinedPayloadProviderProps",
12
+ "kind": 256,
13
+ "kindString": "Interface",
14
+ "flags": {},
15
+ "children": [
16
+ {
17
+ "id": 3,
18
+ "name": "hash",
19
+ "kind": 1024,
20
+ "kindString": "Property",
21
+ "flags": {
22
+ "isOptional": true
23
+ },
24
+ "sources": [
25
+ {
26
+ "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Provider.tsx",
27
+ "line": 12,
28
+ "character": 2,
29
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Provider.tsx#L12"
30
+ }
31
+ ],
32
+ "type": {
33
+ "type": "intrinsic",
34
+ "name": "string"
35
+ }
36
+ }
37
+ ],
38
+ "groups": [
39
+ {
40
+ "title": "Properties",
41
+ "children": [
42
+ 3
43
+ ]
44
+ }
45
+ ],
46
+ "sources": [
47
+ {
48
+ "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Provider.tsx",
49
+ "line": 11,
50
+ "character": 17,
51
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Provider.tsx#L11"
52
+ }
53
+ ],
54
+ "extendedTypes": [
55
+ {
56
+ "type": "reference",
57
+ "name": "WithChildren",
58
+ "qualifiedName": "WithChildren",
59
+ "package": "@xylabs/react-shared"
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "id": 16,
65
+ "name": "DivinedPayloadState",
66
+ "kind": 256,
67
+ "kindString": "Interface",
68
+ "flags": {},
69
+ "children": [
70
+ {
71
+ "id": 17,
72
+ "name": "payload",
73
+ "kind": 1024,
74
+ "kindString": "Property",
75
+ "flags": {
76
+ "isOptional": true
77
+ },
78
+ "sources": [
79
+ {
80
+ "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/State.ts",
81
+ "line": 6,
82
+ "character": 2,
83
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/State.ts#L6"
84
+ }
85
+ ],
86
+ "type": {
87
+ "type": "union",
88
+ "types": [
89
+ {
90
+ "type": "literal",
91
+ "value": null
92
+ },
93
+ {
94
+ "type": "intersection",
95
+ "types": [
96
+ {
97
+ "type": "reference",
98
+ "name": "SchemaFields",
99
+ "qualifiedName": "SchemaFields",
100
+ "package": "@xyo-network/payload-model"
101
+ },
102
+ {
103
+ "type": "reference",
104
+ "name": "PayloadFields",
105
+ "qualifiedName": "PayloadFields",
106
+ "package": "@xyo-network/payload-model"
107
+ },
108
+ {
109
+ "type": "reflection",
110
+ "declaration": {
111
+ "id": 18,
112
+ "name": "__type",
113
+ "kind": 65536,
114
+ "kindString": "Type literal",
115
+ "flags": {},
116
+ "sources": [
117
+ {
118
+ "fileName": "node_modules/@xyo-network/payload-model/dist/types/Payload.d.ts",
119
+ "line": 20,
120
+ "character": 17
121
+ }
122
+ ]
123
+ }
124
+ }
125
+ ]
126
+ }
127
+ ]
128
+ }
129
+ },
130
+ {
131
+ "id": 19,
132
+ "name": "payloadError",
133
+ "kind": 1024,
134
+ "kindString": "Property",
135
+ "flags": {
136
+ "isOptional": true
137
+ },
138
+ "sources": [
139
+ {
140
+ "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/State.ts",
141
+ "line": 7,
142
+ "character": 2,
143
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/State.ts#L7"
144
+ }
145
+ ],
146
+ "type": {
147
+ "type": "reference",
148
+ "name": "Error",
149
+ "qualifiedName": "Error",
150
+ "package": "typescript"
151
+ }
152
+ },
153
+ {
154
+ "id": 22,
155
+ "name": "provided",
156
+ "kind": 1024,
157
+ "kindString": "Property",
158
+ "flags": {},
159
+ "sources": [
160
+ {
161
+ "fileName": "packages/sdk/packages/shared/dist/types/contexts/contextEx/State.d.ts",
162
+ "line": 2,
163
+ "character": 4
164
+ }
165
+ ],
166
+ "type": {
167
+ "type": "intrinsic",
168
+ "name": "boolean"
169
+ },
170
+ "inheritedFrom": {
171
+ "type": "reference",
172
+ "name": "ContextExState.provided"
173
+ }
174
+ },
175
+ {
176
+ "id": 20,
177
+ "name": "setPayload",
178
+ "kind": 1024,
179
+ "kindString": "Property",
180
+ "flags": {
181
+ "isOptional": true
182
+ },
183
+ "sources": [
184
+ {
185
+ "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/State.ts",
186
+ "line": 8,
187
+ "character": 2,
188
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/State.ts#L8"
189
+ }
190
+ ],
191
+ "type": {
192
+ "type": "reference",
193
+ "typeArguments": [
194
+ {
195
+ "type": "union",
196
+ "types": [
197
+ {
198
+ "type": "intrinsic",
199
+ "name": "undefined"
200
+ },
201
+ {
202
+ "type": "literal",
203
+ "value": null
204
+ },
205
+ {
206
+ "type": "intersection",
207
+ "types": [
208
+ {
209
+ "type": "reference",
210
+ "name": "SchemaFields",
211
+ "qualifiedName": "SchemaFields",
212
+ "package": "@xyo-network/payload-model"
213
+ },
214
+ {
215
+ "type": "reference",
216
+ "name": "PayloadFields",
217
+ "qualifiedName": "PayloadFields",
218
+ "package": "@xyo-network/payload-model"
219
+ },
220
+ {
221
+ "type": "reflection",
222
+ "declaration": {
223
+ "id": 21,
224
+ "name": "__type",
225
+ "kind": 65536,
226
+ "kindString": "Type literal",
227
+ "flags": {},
228
+ "sources": [
229
+ {
230
+ "fileName": "node_modules/@xyo-network/payload-model/dist/types/Payload.d.ts",
231
+ "line": 20,
232
+ "character": 17
233
+ }
234
+ ]
235
+ }
236
+ }
237
+ ]
238
+ }
239
+ ]
240
+ }
241
+ ],
242
+ "name": "Dispatch",
243
+ "qualifiedName": "React.Dispatch",
244
+ "package": "@types/react"
245
+ }
246
+ }
247
+ ],
248
+ "groups": [
249
+ {
250
+ "title": "Properties",
251
+ "children": [
252
+ 17,
253
+ 19,
254
+ 22,
255
+ 20
256
+ ]
257
+ }
258
+ ],
259
+ "sources": [
260
+ {
261
+ "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/State.ts",
262
+ "line": 5,
263
+ "character": 17,
264
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/State.ts#L5"
265
+ }
266
+ ],
267
+ "extendedTypes": [
268
+ {
269
+ "type": "reference",
270
+ "name": "ContextExState"
271
+ }
272
+ ]
273
+ },
274
+ {
275
+ "id": 33,
11
276
  "name": "PayloadDivinerState",
12
277
  "kind": 256,
13
278
  "kindString": "Interface",
14
279
  "flags": {},
15
280
  "children": [
16
281
  {
17
- "id": 25,
282
+ "id": 34,
18
283
  "name": "diviner",
19
284
  "kind": 1024,
20
285
  "kindString": "Property",
@@ -26,7 +291,7 @@
26
291
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/State.ts",
27
292
  "line": 5,
28
293
  "character": 2,
29
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/State.ts#L5"
294
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/State.ts#L5"
30
295
  }
31
296
  ],
32
297
  "type": {
@@ -53,7 +318,7 @@
53
318
  {
54
319
  "type": "reflection",
55
320
  "declaration": {
56
- "id": 26,
321
+ "id": 35,
57
322
  "name": "__type",
58
323
  "kind": 65536,
59
324
  "kindString": "Type literal",
@@ -61,7 +326,7 @@
61
326
  "sources": [
62
327
  {
63
328
  "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
64
- "line": 8,
329
+ "line": 15,
65
330
  "character": 103
66
331
  }
67
332
  ]
@@ -94,7 +359,7 @@
94
359
  {
95
360
  "type": "reflection",
96
361
  "declaration": {
97
- "id": 27,
362
+ "id": 36,
98
363
  "name": "__type",
99
364
  "kind": 65536,
100
365
  "kindString": "Type literal",
@@ -102,7 +367,7 @@
102
367
  "sources": [
103
368
  {
104
369
  "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
105
- "line": 8,
370
+ "line": 15,
106
371
  "character": 103
107
372
  }
108
373
  ]
@@ -117,7 +382,7 @@
117
382
  {
118
383
  "type": "reflection",
119
384
  "declaration": {
120
- "id": 28,
385
+ "id": 37,
121
386
  "name": "__type",
122
387
  "kind": 65536,
123
388
  "kindString": "Type literal",
@@ -172,7 +437,7 @@
172
437
  {
173
438
  "type": "reflection",
174
439
  "declaration": {
175
- "id": 29,
440
+ "id": 38,
176
441
  "name": "__type",
177
442
  "kind": 65536,
178
443
  "kindString": "Type literal",
@@ -180,7 +445,7 @@
180
445
  "sources": [
181
446
  {
182
447
  "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
183
- "line": 26,
448
+ "line": 64,
184
449
  "character": 58
185
450
  }
186
451
  ]
@@ -215,7 +480,7 @@
215
480
  }
216
481
  },
217
482
  {
218
- "id": 30,
483
+ "id": 39,
219
484
  "name": "setDiviner",
220
485
  "kind": 1024,
221
486
  "kindString": "Property",
@@ -227,7 +492,7 @@
227
492
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/State.ts",
228
493
  "line": 6,
229
494
  "character": 2,
230
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/State.ts#L6"
495
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/State.ts#L6"
231
496
  }
232
497
  ],
233
498
  "type": {
@@ -257,7 +522,7 @@
257
522
  {
258
523
  "type": "reflection",
259
524
  "declaration": {
260
- "id": 31,
525
+ "id": 40,
261
526
  "name": "__type",
262
527
  "kind": 65536,
263
528
  "kindString": "Type literal",
@@ -265,7 +530,7 @@
265
530
  "sources": [
266
531
  {
267
532
  "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
268
- "line": 8,
533
+ "line": 15,
269
534
  "character": 103
270
535
  }
271
536
  ]
@@ -298,7 +563,7 @@
298
563
  {
299
564
  "type": "reflection",
300
565
  "declaration": {
301
- "id": 32,
566
+ "id": 41,
302
567
  "name": "__type",
303
568
  "kind": 65536,
304
569
  "kindString": "Type literal",
@@ -306,7 +571,7 @@
306
571
  "sources": [
307
572
  {
308
573
  "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
309
- "line": 8,
574
+ "line": 15,
310
575
  "character": 103
311
576
  }
312
577
  ]
@@ -321,7 +586,7 @@
321
586
  {
322
587
  "type": "reflection",
323
588
  "declaration": {
324
- "id": 33,
589
+ "id": 42,
325
590
  "name": "__type",
326
591
  "kind": 65536,
327
592
  "kindString": "Type literal",
@@ -376,7 +641,7 @@
376
641
  {
377
642
  "type": "reflection",
378
643
  "declaration": {
379
- "id": 34,
644
+ "id": 43,
380
645
  "name": "__type",
381
646
  "kind": 65536,
382
647
  "kindString": "Type literal",
@@ -384,7 +649,7 @@
384
649
  "sources": [
385
650
  {
386
651
  "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
387
- "line": 26,
652
+ "line": 64,
388
653
  "character": 58
389
654
  }
390
655
  ]
@@ -428,8 +693,8 @@
428
693
  {
429
694
  "title": "Properties",
430
695
  "children": [
431
- 25,
432
- 30
696
+ 34,
697
+ 39
433
698
  ]
434
699
  }
435
700
  ],
@@ -438,12 +703,12 @@
438
703
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/State.ts",
439
704
  "line": 4,
440
705
  "character": 17,
441
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/State.ts#L4"
706
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/State.ts#L4"
442
707
  }
443
708
  ]
444
709
  },
445
710
  {
446
- "id": 17,
711
+ "id": 26,
447
712
  "name": "PayloadDivinerProviderProps",
448
713
  "kind": 4194304,
449
714
  "kindString": "Type alias",
@@ -453,7 +718,7 @@
453
718
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Provider.tsx",
454
719
  "line": 7,
455
720
  "character": 12,
456
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Provider.tsx#L7"
721
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Provider.tsx#L7"
457
722
  }
458
723
  ],
459
724
  "type": {
@@ -462,14 +727,14 @@
462
727
  {
463
728
  "type": "reflection",
464
729
  "declaration": {
465
- "id": 18,
730
+ "id": 27,
466
731
  "name": "__type",
467
732
  "kind": 65536,
468
733
  "kindString": "Type literal",
469
734
  "flags": {},
470
735
  "children": [
471
736
  {
472
- "id": 19,
737
+ "id": 28,
473
738
  "name": "diviner",
474
739
  "kind": 1024,
475
740
  "kindString": "Property",
@@ -489,7 +754,7 @@
489
754
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Provider.tsx",
490
755
  "line": 9,
491
756
  "character": 2,
492
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Provider.tsx#L9"
757
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Provider.tsx#L9"
493
758
  }
494
759
  ],
495
760
  "type": {
@@ -504,7 +769,7 @@
504
769
  {
505
770
  "title": "Properties",
506
771
  "children": [
507
- 19
772
+ 28
508
773
  ]
509
774
  }
510
775
  ],
@@ -513,7 +778,7 @@
513
778
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Provider.tsx",
514
779
  "line": 7,
515
780
  "character": 65,
516
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Provider.tsx#L7"
781
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Provider.tsx#L7"
517
782
  }
518
783
  ]
519
784
  }
@@ -535,7 +800,7 @@
535
800
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Context.tsx",
536
801
  "line": 5,
537
802
  "character": 13,
538
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Context.tsx#L5"
803
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Context.tsx#L5"
539
804
  }
540
805
  ],
541
806
  "type": {
@@ -546,6 +811,7 @@
546
811
  "types": [
547
812
  {
548
813
  "type": "reference",
814
+ "id": 16,
549
815
  "name": "DivinedPayloadState"
550
816
  },
551
817
  {
@@ -562,7 +828,7 @@
562
828
  "defaultValue": "..."
563
829
  },
564
830
  {
565
- "id": 16,
831
+ "id": 25,
566
832
  "name": "PayloadDivinerContext",
567
833
  "kind": 32,
568
834
  "kindString": "Variable",
@@ -574,7 +840,7 @@
574
840
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Context.ts",
575
841
  "line": 5,
576
842
  "character": 6,
577
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Context.ts#L5"
843
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Context.ts#L5"
578
844
  }
579
845
  ],
580
846
  "type": {
@@ -585,7 +851,7 @@
585
851
  "types": [
586
852
  {
587
853
  "type": "reference",
588
- "id": 24,
854
+ "id": 33,
589
855
  "name": "PayloadDivinerState"
590
856
  },
591
857
  {
@@ -602,7 +868,7 @@
602
868
  "defaultValue": "..."
603
869
  },
604
870
  {
605
- "id": 2,
871
+ "id": 4,
606
872
  "name": "DivinedPayloadProvider",
607
873
  "kind": 64,
608
874
  "kindString": "Function",
@@ -612,30 +878,31 @@
612
878
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Provider.tsx",
613
879
  "line": 15,
614
880
  "character": 13,
615
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Provider.tsx#L15"
881
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Provider.tsx#L15"
616
882
  }
617
883
  ],
618
884
  "signatures": [
619
885
  {
620
- "id": 3,
886
+ "id": 5,
621
887
  "name": "DivinedPayloadProvider",
622
888
  "kind": 4096,
623
889
  "kindString": "Call signature",
624
890
  "flags": {},
625
891
  "parameters": [
626
892
  {
627
- "id": 4,
893
+ "id": 6,
628
894
  "name": "props",
629
895
  "kind": 32768,
630
896
  "kindString": "Parameter",
631
897
  "flags": {},
632
898
  "type": {
633
899
  "type": "reference",
900
+ "id": 2,
634
901
  "name": "DivinedPayloadProviderProps"
635
902
  }
636
903
  },
637
904
  {
638
- "id": 5,
905
+ "id": 7,
639
906
  "name": "context",
640
907
  "kind": 32768,
641
908
  "kindString": "Parameter",
@@ -677,7 +944,7 @@
677
944
  ]
678
945
  },
679
946
  {
680
- "id": 6,
947
+ "id": 8,
681
948
  "name": "DivinedPayloadWithHandleInner",
682
949
  "kind": 64,
683
950
  "kindString": "Function",
@@ -687,19 +954,19 @@
687
954
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Provider.tsx",
688
955
  "line": 30,
689
956
  "character": 13,
690
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Provider.tsx#L30"
957
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Provider.tsx#L30"
691
958
  }
692
959
  ],
693
960
  "signatures": [
694
961
  {
695
- "id": 7,
962
+ "id": 9,
696
963
  "name": "DivinedPayloadWithHandleInner",
697
964
  "kind": 4096,
698
965
  "kindString": "Call signature",
699
966
  "flags": {},
700
967
  "parameters": [
701
968
  {
702
- "id": 8,
969
+ "id": 10,
703
970
  "name": "props",
704
971
  "kind": 32768,
705
972
  "kindString": "Parameter",
@@ -718,7 +985,7 @@
718
985
  }
719
986
  },
720
987
  {
721
- "id": 9,
988
+ "id": 11,
722
989
  "name": "context",
723
990
  "kind": 32768,
724
991
  "kindString": "Parameter",
@@ -760,7 +1027,7 @@
760
1027
  ]
761
1028
  },
762
1029
  {
763
- "id": 10,
1030
+ "id": 12,
764
1031
  "name": "DivinedPayloadWithHandleProvider",
765
1032
  "kind": 64,
766
1033
  "kindString": "Function",
@@ -770,30 +1037,31 @@
770
1037
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Provider.tsx",
771
1038
  "line": 43,
772
1039
  "character": 13,
773
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Provider.tsx#L43"
1040
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/Provider.tsx#L43"
774
1041
  }
775
1042
  ],
776
1043
  "signatures": [
777
1044
  {
778
- "id": 11,
1045
+ "id": 13,
779
1046
  "name": "DivinedPayloadWithHandleProvider",
780
1047
  "kind": 4096,
781
1048
  "kindString": "Call signature",
782
1049
  "flags": {},
783
1050
  "parameters": [
784
1051
  {
785
- "id": 12,
1052
+ "id": 14,
786
1053
  "name": "props",
787
1054
  "kind": 32768,
788
1055
  "kindString": "Parameter",
789
1056
  "flags": {},
790
1057
  "type": {
791
1058
  "type": "reference",
1059
+ "id": 2,
792
1060
  "name": "DivinedPayloadProviderProps"
793
1061
  }
794
1062
  },
795
1063
  {
796
- "id": 13,
1064
+ "id": 15,
797
1065
  "name": "context",
798
1066
  "kind": 32768,
799
1067
  "kindString": "Parameter",
@@ -835,7 +1103,7 @@
835
1103
  ]
836
1104
  },
837
1105
  {
838
- "id": 20,
1106
+ "id": 29,
839
1107
  "name": "PayloadDivinerProvider",
840
1108
  "kind": 64,
841
1109
  "kindString": "Function",
@@ -845,31 +1113,31 @@
845
1113
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Provider.tsx",
846
1114
  "line": 12,
847
1115
  "character": 13,
848
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Provider.tsx#L12"
1116
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/Provider.tsx#L12"
849
1117
  }
850
1118
  ],
851
1119
  "signatures": [
852
1120
  {
853
- "id": 21,
1121
+ "id": 30,
854
1122
  "name": "PayloadDivinerProvider",
855
1123
  "kind": 4096,
856
1124
  "kindString": "Call signature",
857
1125
  "flags": {},
858
1126
  "parameters": [
859
1127
  {
860
- "id": 22,
1128
+ "id": 31,
861
1129
  "name": "props",
862
1130
  "kind": 32768,
863
1131
  "kindString": "Parameter",
864
1132
  "flags": {},
865
1133
  "type": {
866
1134
  "type": "reference",
867
- "id": 17,
1135
+ "id": 26,
868
1136
  "name": "PayloadDivinerProviderProps"
869
1137
  }
870
1138
  },
871
1139
  {
872
- "id": 23,
1140
+ "id": 32,
873
1141
  "name": "context",
874
1142
  "kind": 32768,
875
1143
  "kindString": "Parameter",
@@ -911,7 +1179,7 @@
911
1179
  ]
912
1180
  },
913
1181
  {
914
- "id": 38,
1182
+ "id": 47,
915
1183
  "name": "useDivinePayload",
916
1184
  "kind": 64,
917
1185
  "kindString": "Function",
@@ -921,19 +1189,19 @@
921
1189
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/use.ts",
922
1190
  "line": 14,
923
1191
  "character": 13,
924
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/use.ts#L14"
1192
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/use.ts#L14"
925
1193
  }
926
1194
  ],
927
1195
  "signatures": [
928
1196
  {
929
- "id": 39,
1197
+ "id": 48,
930
1198
  "name": "useDivinePayload",
931
1199
  "kind": 4096,
932
1200
  "kindString": "Call signature",
933
1201
  "flags": {},
934
1202
  "typeParameter": [
935
1203
  {
936
- "id": 42,
1204
+ "id": 51,
937
1205
  "name": "T",
938
1206
  "kind": 131072,
939
1207
  "kindString": "Type parameter",
@@ -956,7 +1224,7 @@
956
1224
  {
957
1225
  "type": "reflection",
958
1226
  "declaration": {
959
- "id": 40,
1227
+ "id": 49,
960
1228
  "name": "__type",
961
1229
  "kind": 65536,
962
1230
  "kindString": "Type literal",
@@ -990,7 +1258,7 @@
990
1258
  {
991
1259
  "type": "reflection",
992
1260
  "declaration": {
993
- "id": 41,
1261
+ "id": 50,
994
1262
  "name": "__type",
995
1263
  "kind": 65536,
996
1264
  "kindString": "Type literal",
@@ -1010,7 +1278,7 @@
1010
1278
  ],
1011
1279
  "parameters": [
1012
1280
  {
1013
- "id": 43,
1281
+ "id": 52,
1014
1282
  "name": "huri",
1015
1283
  "kind": 32768,
1016
1284
  "kindString": "Parameter",
@@ -1039,7 +1307,7 @@
1039
1307
  },
1040
1308
  {
1041
1309
  "type": "reference",
1042
- "id": 42,
1310
+ "id": 51,
1043
1311
  "name": "T"
1044
1312
  }
1045
1313
  ]
@@ -1060,7 +1328,7 @@
1060
1328
  },
1061
1329
  {
1062
1330
  "type": "reference",
1063
- "id": 42,
1331
+ "id": 51,
1064
1332
  "name": "T"
1065
1333
  }
1066
1334
  ]
@@ -1091,7 +1359,7 @@
1091
1359
  ]
1092
1360
  },
1093
1361
  {
1094
- "id": 44,
1362
+ "id": 53,
1095
1363
  "name": "useDivinePayloads",
1096
1364
  "kind": 64,
1097
1365
  "kindString": "Function",
@@ -1101,19 +1369,19 @@
1101
1369
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/use.ts",
1102
1370
  "line": 51,
1103
1371
  "character": 13,
1104
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/use.ts#L51"
1372
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/use.ts#L51"
1105
1373
  }
1106
1374
  ],
1107
1375
  "signatures": [
1108
1376
  {
1109
- "id": 45,
1377
+ "id": 54,
1110
1378
  "name": "useDivinePayloads",
1111
1379
  "kind": 4096,
1112
1380
  "kindString": "Call signature",
1113
1381
  "flags": {},
1114
1382
  "typeParameter": [
1115
1383
  {
1116
- "id": 48,
1384
+ "id": 57,
1117
1385
  "name": "T",
1118
1386
  "kind": 131072,
1119
1387
  "kindString": "Type parameter",
@@ -1136,7 +1404,7 @@
1136
1404
  {
1137
1405
  "type": "reflection",
1138
1406
  "declaration": {
1139
- "id": 46,
1407
+ "id": 55,
1140
1408
  "name": "__type",
1141
1409
  "kind": 65536,
1142
1410
  "kindString": "Type literal",
@@ -1170,7 +1438,7 @@
1170
1438
  {
1171
1439
  "type": "reflection",
1172
1440
  "declaration": {
1173
- "id": 47,
1441
+ "id": 56,
1174
1442
  "name": "__type",
1175
1443
  "kind": 65536,
1176
1444
  "kindString": "Type literal",
@@ -1190,7 +1458,7 @@
1190
1458
  ],
1191
1459
  "parameters": [
1192
1460
  {
1193
- "id": 49,
1461
+ "id": 58,
1194
1462
  "name": "huriList",
1195
1463
  "kind": 32768,
1196
1464
  "kindString": "Parameter",
@@ -1225,7 +1493,7 @@
1225
1493
  },
1226
1494
  {
1227
1495
  "type": "reference",
1228
- "id": 48,
1496
+ "id": 57,
1229
1497
  "name": "T"
1230
1498
  }
1231
1499
  ]
@@ -1254,7 +1522,7 @@
1254
1522
  },
1255
1523
  {
1256
1524
  "type": "reference",
1257
- "id": 48,
1525
+ "id": 57,
1258
1526
  "name": "T"
1259
1527
  }
1260
1528
  ]
@@ -1291,7 +1559,7 @@
1291
1559
  ]
1292
1560
  },
1293
1561
  {
1294
- "id": 14,
1562
+ "id": 23,
1295
1563
  "name": "useDivinedPayload",
1296
1564
  "kind": 64,
1297
1565
  "kindString": "Function",
@@ -1301,12 +1569,12 @@
1301
1569
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/use.ts",
1302
1570
  "line": 5,
1303
1571
  "character": 13,
1304
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/use.ts#L5"
1572
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/DivinedPayload/use.ts#L5"
1305
1573
  }
1306
1574
  ],
1307
1575
  "signatures": [
1308
1576
  {
1309
- "id": 15,
1577
+ "id": 24,
1310
1578
  "name": "useDivinedPayload",
1311
1579
  "kind": 4096,
1312
1580
  "kindString": "Call signature",
@@ -1319,6 +1587,7 @@
1319
1587
  "types": [
1320
1588
  {
1321
1589
  "type": "reference",
1590
+ "id": 16,
1322
1591
  "name": "DivinedPayloadState"
1323
1592
  },
1324
1593
  {
@@ -1340,7 +1609,7 @@
1340
1609
  ]
1341
1610
  },
1342
1611
  {
1343
- "id": 35,
1612
+ "id": 44,
1344
1613
  "name": "usePayloadDiviner",
1345
1614
  "kind": 64,
1346
1615
  "kindString": "Function",
@@ -1350,19 +1619,19 @@
1350
1619
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/use.ts",
1351
1620
  "line": 10,
1352
1621
  "character": 13,
1353
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/use.ts#L10"
1622
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/contexts/PayloadDiviner/use.ts#L10"
1354
1623
  }
1355
1624
  ],
1356
1625
  "signatures": [
1357
1626
  {
1358
- "id": 36,
1627
+ "id": 45,
1359
1628
  "name": "usePayloadDiviner",
1360
1629
  "kind": 4096,
1361
1630
  "kindString": "Call signature",
1362
1631
  "flags": {},
1363
1632
  "parameters": [
1364
1633
  {
1365
- "id": 37,
1634
+ "id": 46,
1366
1635
  "name": "required",
1367
1636
  "kind": 32768,
1368
1637
  "kindString": "Parameter",
@@ -1382,7 +1651,7 @@
1382
1651
  "types": [
1383
1652
  {
1384
1653
  "type": "reference",
1385
- "id": 24,
1654
+ "id": 33,
1386
1655
  "name": "PayloadDivinerState"
1387
1656
  },
1388
1657
  {
@@ -1408,33 +1677,35 @@
1408
1677
  {
1409
1678
  "title": "Interfaces",
1410
1679
  "children": [
1411
- 24
1680
+ 2,
1681
+ 16,
1682
+ 33
1412
1683
  ]
1413
1684
  },
1414
1685
  {
1415
1686
  "title": "Type Aliases",
1416
1687
  "children": [
1417
- 17
1688
+ 26
1418
1689
  ]
1419
1690
  },
1420
1691
  {
1421
1692
  "title": "Variables",
1422
1693
  "children": [
1423
1694
  1,
1424
- 16
1695
+ 25
1425
1696
  ]
1426
1697
  },
1427
1698
  {
1428
1699
  "title": "Functions",
1429
1700
  "children": [
1430
- 2,
1431
- 6,
1432
- 10,
1433
- 20,
1434
- 38,
1435
- 44,
1436
- 14,
1437
- 35
1701
+ 4,
1702
+ 8,
1703
+ 12,
1704
+ 29,
1705
+ 47,
1706
+ 53,
1707
+ 23,
1708
+ 44
1438
1709
  ]
1439
1710
  }
1440
1711
  ],
@@ -1443,7 +1714,7 @@
1443
1714
  "fileName": "packages/sdk/packages/payload/packages/diviner/src/index.ts",
1444
1715
  "line": 1,
1445
1716
  "character": 0,
1446
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/adb387973aa3/packages/sdk/packages/payload/packages/diviner/src/index.ts#L1"
1717
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/2db82686c/packages/sdk/packages/payload/packages/diviner/src/index.ts#L1"
1447
1718
  }
1448
1719
  ]
1449
1720
  }
@@ -1,4 +1,5 @@
1
1
  export * from './Context';
2
2
  export * from './Provider';
3
+ export * from './State';
3
4
  export * from './use';
4
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/DivinedPayload/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/contexts/DivinedPayload/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
@@ -1,10 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import type { WithChildren } from '@xylabs/react-shared';
3
- interface DivinedPayloadProviderProps extends WithChildren {
3
+ export interface DivinedPayloadProviderProps extends WithChildren {
4
4
  hash?: string;
5
5
  }
6
6
  export declare const DivinedPayloadProvider: React.FC<DivinedPayloadProviderProps>;
7
7
  export declare const DivinedPayloadWithHandleInner: React.FC<WithChildren>;
8
8
  export declare const DivinedPayloadWithHandleProvider: React.FC<DivinedPayloadProviderProps>;
9
- export {};
10
9
  //# sourceMappingURL=Provider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/DivinedPayload/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAUxD,UAAU,2BAA4B,SAAQ,YAAY;IACxD,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAaxE,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAWhE,CAAA;AAED,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAMlF,CAAA"}
1
+ {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/DivinedPayload/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAUxD,MAAM,WAAW,2BAA4B,SAAQ,YAAY;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAaxE,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAWhE,CAAA;AAED,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CAMlF,CAAA"}
@@ -1,4 +1,5 @@
1
1
  export * from './Context';
2
2
  export * from './Provider';
3
+ export * from './State';
3
4
  export * from './use';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/DivinedPayload/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/DivinedPayload/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAAA"}
package/package.json CHANGED
@@ -10,18 +10,19 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xylabs/react-async-effect": "^2.17.2",
14
- "@xylabs/react-shared": "^2.17.2",
15
- "@xyo-network/diviner": "^2.57.5",
16
- "@xyo-network/module": "^2.57.5",
17
- "@xyo-network/payload-model": "^2.57.5",
18
- "@xyo-network/react-error": "^2.49.12",
19
- "@xyo-network/react-payload-huri": "^2.49.12",
20
- "@xyo-network/react-shared": "^2.49.12",
13
+ "@xylabs/react-async-effect": "^2.17.3",
14
+ "@xylabs/react-shared": "^2.17.3",
15
+ "@xyo-network/diviner": "^2.58.0",
16
+ "@xyo-network/module": "^2.58.0",
17
+ "@xyo-network/payload-model": "^2.58.0",
18
+ "@xyo-network/react-error": "^2.50.0",
19
+ "@xyo-network/react-payload-huri": "^2.50.0",
20
+ "@xyo-network/react-shared": "^2.50.0",
21
21
  "lodash": "^4.17.21"
22
22
  },
23
23
  "devDependencies": {
24
- "@xylabs/ts-scripts-yarn3": "^2.17.13"
24
+ "@xylabs/ts-scripts-yarn3": "^2.17.13",
25
+ "typescript": "^5.0.4"
25
26
  },
26
27
  "peerDependencies": {
27
28
  "@mui/icons-material": "^5",
@@ -75,5 +76,5 @@
75
76
  },
76
77
  "sideEffects": false,
77
78
  "types": "dist/types/index.d.ts",
78
- "version": "2.49.12"
79
+ "version": "2.50.0"
79
80
  }
@@ -8,7 +8,7 @@ import { useDivinePayload } from '../PayloadDiviner'
8
8
  import { DivinedPayloadContext } from './Context'
9
9
  import { useDivinedPayload } from './use'
10
10
 
11
- interface DivinedPayloadProviderProps extends WithChildren {
11
+ export interface DivinedPayloadProviderProps extends WithChildren {
12
12
  hash?: string
13
13
  }
14
14
 
@@ -1,3 +1,4 @@
1
1
  export * from './Context'
2
2
  export * from './Provider'
3
+ export * from './State'
3
4
  export * from './use'
package/typedoc.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "$schema": "https://typedoc.org/schema.json",
3
+ "entryPoints": ["src/index.ts"],
4
+ "tsconfig": "./tsconfig.typedoc.json"
5
+ }