@xyo-network/react-diviner 2.49.6 → 2.49.8

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/docs.json CHANGED
@@ -14,10 +14,10 @@
14
14
  "flags": {},
15
15
  "sources": [
16
16
  {
17
- "fileName": "diviner/src/hooks/useDiviner.tsx",
17
+ "fileName": "packages/modules/packages/diviner/src/hooks/useDiviner.tsx",
18
18
  "line": 4,
19
19
  "character": 13,
20
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/6ed85e42b/packages/modules/packages/diviner/src/hooks/useDiviner.tsx#L4"
20
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/c095b3a1d/packages/modules/packages/diviner/src/hooks/useDiviner.tsx#L4"
21
21
  }
22
22
  ],
23
23
  "signatures": [
@@ -87,6 +87,190 @@
87
87
  "typeArguments": [
88
88
  {
89
89
  "type": "reference",
90
+ "typeArguments": [
91
+ {
92
+ "type": "reference",
93
+ "typeArguments": [
94
+ {
95
+ "type": "intersection",
96
+ "types": [
97
+ {
98
+ "type": "reference",
99
+ "name": "SchemaFields",
100
+ "qualifiedName": "SchemaFields",
101
+ "package": "@xyo-network/payload-model"
102
+ },
103
+ {
104
+ "type": "reference",
105
+ "name": "PayloadFields",
106
+ "qualifiedName": "PayloadFields",
107
+ "package": "@xyo-network/payload-model"
108
+ },
109
+ {
110
+ "type": "reflection",
111
+ "declaration": {
112
+ "id": 6,
113
+ "name": "__type",
114
+ "kind": 65536,
115
+ "kindString": "Type literal",
116
+ "flags": {},
117
+ "sources": [
118
+ {
119
+ "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
120
+ "line": 8,
121
+ "character": 103
122
+ }
123
+ ]
124
+ }
125
+ },
126
+ {
127
+ "type": "reference",
128
+ "typeArguments": [
129
+ {
130
+ "type": "intersection",
131
+ "types": [
132
+ {
133
+ "type": "reference",
134
+ "typeArguments": [
135
+ {
136
+ "type": "intersection",
137
+ "types": [
138
+ {
139
+ "type": "reference",
140
+ "name": "SchemaFields",
141
+ "qualifiedName": "SchemaFields",
142
+ "package": "@xyo-network/payload-model"
143
+ },
144
+ {
145
+ "type": "reference",
146
+ "name": "PayloadFields",
147
+ "qualifiedName": "PayloadFields",
148
+ "package": "@xyo-network/payload-model"
149
+ },
150
+ {
151
+ "type": "reflection",
152
+ "declaration": {
153
+ "id": 7,
154
+ "name": "__type",
155
+ "kind": 65536,
156
+ "kindString": "Type literal",
157
+ "flags": {},
158
+ "sources": [
159
+ {
160
+ "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
161
+ "line": 8,
162
+ "character": 103
163
+ }
164
+ ]
165
+ }
166
+ },
167
+ {
168
+ "type": "reference",
169
+ "typeArguments": [
170
+ {
171
+ "type": "intersection",
172
+ "types": [
173
+ {
174
+ "type": "reflection",
175
+ "declaration": {
176
+ "id": 8,
177
+ "name": "__type",
178
+ "kind": 65536,
179
+ "kindString": "Type literal",
180
+ "flags": {},
181
+ "sources": [
182
+ {
183
+ "fileName": "node_modules/@xyo-network/diviner-model/dist/types/Config.d.ts",
184
+ "line": 5,
185
+ "character": 90
186
+ }
187
+ ]
188
+ }
189
+ },
190
+ {
191
+ "type": "reference",
192
+ "typeArguments": [
193
+ {
194
+ "type": "intrinsic",
195
+ "name": "undefined"
196
+ },
197
+ {
198
+ "type": "literal",
199
+ "value": "schema"
200
+ }
201
+ ],
202
+ "name": "Omit",
203
+ "qualifiedName": "Omit",
204
+ "package": "typescript"
205
+ }
206
+ ]
207
+ },
208
+ {
209
+ "type": "literal",
210
+ "value": "schema"
211
+ }
212
+ ],
213
+ "name": "Omit",
214
+ "qualifiedName": "Omit",
215
+ "package": "typescript"
216
+ }
217
+ ]
218
+ },
219
+ {
220
+ "type": "literal",
221
+ "value": "schema"
222
+ }
223
+ ],
224
+ "name": "Omit",
225
+ "qualifiedName": "Omit",
226
+ "package": "typescript"
227
+ },
228
+ {
229
+ "type": "reflection",
230
+ "declaration": {
231
+ "id": 9,
232
+ "name": "__type",
233
+ "kind": 65536,
234
+ "kindString": "Type literal",
235
+ "flags": {},
236
+ "sources": [
237
+ {
238
+ "fileName": "node_modules/@xyo-network/module-model/dist/types/ModuleParams.d.ts",
239
+ "line": 18,
240
+ "character": 58
241
+ }
242
+ ]
243
+ }
244
+ }
245
+ ]
246
+ },
247
+ {
248
+ "type": "literal",
249
+ "value": "schema"
250
+ }
251
+ ],
252
+ "name": "Omit",
253
+ "qualifiedName": "Omit",
254
+ "package": "typescript"
255
+ }
256
+ ]
257
+ },
258
+ {
259
+ "type": "intrinsic",
260
+ "name": "undefined"
261
+ }
262
+ ],
263
+ "name": "DivinerParams",
264
+ "qualifiedName": "DivinerParams",
265
+ "package": "@xyo-network/diviner-model"
266
+ },
267
+ {
268
+ "type": "reference",
269
+ "name": "DivinerModuleEventData",
270
+ "qualifiedName": "DivinerModuleEventData",
271
+ "package": "@xyo-network/diviner-model"
272
+ }
273
+ ],
90
274
  "name": "DivinerModule",
91
275
  "qualifiedName": "DivinerModule",
92
276
  "package": "@xyo-network/diviner-model"
@@ -119,29 +303,29 @@
119
303
  ]
120
304
  },
121
305
  {
122
- "id": 6,
306
+ "id": 10,
123
307
  "name": "useDiviners",
124
308
  "kind": 64,
125
309
  "kindString": "Function",
126
310
  "flags": {},
127
311
  "sources": [
128
312
  {
129
- "fileName": "diviner/src/hooks/useDiviners.tsx",
313
+ "fileName": "packages/modules/packages/diviner/src/hooks/useDiviners.tsx",
130
314
  "line": 4,
131
315
  "character": 13,
132
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/6ed85e42b/packages/modules/packages/diviner/src/hooks/useDiviners.tsx#L4"
316
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/c095b3a1d/packages/modules/packages/diviner/src/hooks/useDiviners.tsx#L4"
133
317
  }
134
318
  ],
135
319
  "signatures": [
136
320
  {
137
- "id": 7,
321
+ "id": 11,
138
322
  "name": "useDiviners",
139
323
  "kind": 4096,
140
324
  "kindString": "Call signature",
141
325
  "flags": {},
142
326
  "parameters": [
143
327
  {
144
- "id": 8,
328
+ "id": 12,
145
329
  "name": "account",
146
330
  "kind": 32768,
147
331
  "kindString": "Parameter",
@@ -156,7 +340,7 @@
156
340
  }
157
341
  },
158
342
  {
159
- "id": 9,
343
+ "id": 13,
160
344
  "name": "logger",
161
345
  "kind": 32768,
162
346
  "kindString": "Parameter",
@@ -188,6 +372,190 @@
188
372
  "typeArguments": [
189
373
  {
190
374
  "type": "reference",
375
+ "typeArguments": [
376
+ {
377
+ "type": "reference",
378
+ "typeArguments": [
379
+ {
380
+ "type": "intersection",
381
+ "types": [
382
+ {
383
+ "type": "reference",
384
+ "name": "SchemaFields",
385
+ "qualifiedName": "SchemaFields",
386
+ "package": "@xyo-network/payload-model"
387
+ },
388
+ {
389
+ "type": "reference",
390
+ "name": "PayloadFields",
391
+ "qualifiedName": "PayloadFields",
392
+ "package": "@xyo-network/payload-model"
393
+ },
394
+ {
395
+ "type": "reflection",
396
+ "declaration": {
397
+ "id": 14,
398
+ "name": "__type",
399
+ "kind": 65536,
400
+ "kindString": "Type literal",
401
+ "flags": {},
402
+ "sources": [
403
+ {
404
+ "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
405
+ "line": 8,
406
+ "character": 103
407
+ }
408
+ ]
409
+ }
410
+ },
411
+ {
412
+ "type": "reference",
413
+ "typeArguments": [
414
+ {
415
+ "type": "intersection",
416
+ "types": [
417
+ {
418
+ "type": "reference",
419
+ "typeArguments": [
420
+ {
421
+ "type": "intersection",
422
+ "types": [
423
+ {
424
+ "type": "reference",
425
+ "name": "SchemaFields",
426
+ "qualifiedName": "SchemaFields",
427
+ "package": "@xyo-network/payload-model"
428
+ },
429
+ {
430
+ "type": "reference",
431
+ "name": "PayloadFields",
432
+ "qualifiedName": "PayloadFields",
433
+ "package": "@xyo-network/payload-model"
434
+ },
435
+ {
436
+ "type": "reflection",
437
+ "declaration": {
438
+ "id": 15,
439
+ "name": "__type",
440
+ "kind": 65536,
441
+ "kindString": "Type literal",
442
+ "flags": {},
443
+ "sources": [
444
+ {
445
+ "fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
446
+ "line": 8,
447
+ "character": 103
448
+ }
449
+ ]
450
+ }
451
+ },
452
+ {
453
+ "type": "reference",
454
+ "typeArguments": [
455
+ {
456
+ "type": "intersection",
457
+ "types": [
458
+ {
459
+ "type": "reflection",
460
+ "declaration": {
461
+ "id": 16,
462
+ "name": "__type",
463
+ "kind": 65536,
464
+ "kindString": "Type literal",
465
+ "flags": {},
466
+ "sources": [
467
+ {
468
+ "fileName": "node_modules/@xyo-network/diviner-model/dist/types/Config.d.ts",
469
+ "line": 5,
470
+ "character": 90
471
+ }
472
+ ]
473
+ }
474
+ },
475
+ {
476
+ "type": "reference",
477
+ "typeArguments": [
478
+ {
479
+ "type": "intrinsic",
480
+ "name": "undefined"
481
+ },
482
+ {
483
+ "type": "literal",
484
+ "value": "schema"
485
+ }
486
+ ],
487
+ "name": "Omit",
488
+ "qualifiedName": "Omit",
489
+ "package": "typescript"
490
+ }
491
+ ]
492
+ },
493
+ {
494
+ "type": "literal",
495
+ "value": "schema"
496
+ }
497
+ ],
498
+ "name": "Omit",
499
+ "qualifiedName": "Omit",
500
+ "package": "typescript"
501
+ }
502
+ ]
503
+ },
504
+ {
505
+ "type": "literal",
506
+ "value": "schema"
507
+ }
508
+ ],
509
+ "name": "Omit",
510
+ "qualifiedName": "Omit",
511
+ "package": "typescript"
512
+ },
513
+ {
514
+ "type": "reflection",
515
+ "declaration": {
516
+ "id": 17,
517
+ "name": "__type",
518
+ "kind": 65536,
519
+ "kindString": "Type literal",
520
+ "flags": {},
521
+ "sources": [
522
+ {
523
+ "fileName": "node_modules/@xyo-network/module-model/dist/types/ModuleParams.d.ts",
524
+ "line": 18,
525
+ "character": 58
526
+ }
527
+ ]
528
+ }
529
+ }
530
+ ]
531
+ },
532
+ {
533
+ "type": "literal",
534
+ "value": "schema"
535
+ }
536
+ ],
537
+ "name": "Omit",
538
+ "qualifiedName": "Omit",
539
+ "package": "typescript"
540
+ }
541
+ ]
542
+ },
543
+ {
544
+ "type": "intrinsic",
545
+ "name": "undefined"
546
+ }
547
+ ],
548
+ "name": "DivinerParams",
549
+ "qualifiedName": "DivinerParams",
550
+ "package": "@xyo-network/diviner-model"
551
+ },
552
+ {
553
+ "type": "reference",
554
+ "name": "DivinerModuleEventData",
555
+ "qualifiedName": "DivinerModuleEventData",
556
+ "package": "@xyo-network/diviner-model"
557
+ }
558
+ ],
191
559
  "name": "DivinerModule",
192
560
  "qualifiedName": "DivinerModule",
193
561
  "package": "@xyo-network/diviner-model"
@@ -226,16 +594,16 @@
226
594
  "title": "Functions",
227
595
  "children": [
228
596
  1,
229
- 6
597
+ 10
230
598
  ]
231
599
  }
232
600
  ],
233
601
  "sources": [
234
602
  {
235
- "fileName": "diviner/src/index.ts",
603
+ "fileName": "packages/modules/packages/diviner/src/index.ts",
236
604
  "line": 1,
237
605
  "character": 0,
238
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/6ed85e42b/packages/modules/packages/diviner/src/index.ts#L1"
606
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/c095b3a1d/packages/modules/packages/diviner/src/index.ts#L1"
239
607
  }
240
608
  ]
241
609
  }
@@ -1,3 +1,31 @@
1
1
  import { DivinerWrapper } from '@xyo-network/diviner';
2
- export declare const useDiviner: (nameOrAddress?: string | undefined, account?: import("@xyo-network/account-model").AccountInstance | undefined, logger?: import("@xyo-network/core").Logger | undefined) => [DivinerWrapper<import("@xyo-network/diviner").DivinerModule> | undefined, Error | undefined];
2
+ export declare const useDiviner: (nameOrAddress?: string | undefined, account?: import("@xyo-network/account-model").AccountInstance | undefined, logger?: import("@xyo-network/core").Logger | undefined) => [DivinerWrapper<import("@xyo-network/diviner").DivinerModule<import("@xyo-network/diviner").DivinerParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
3
+ name?: string | undefined;
4
+ paging?: Record<string, {
5
+ size?: number | undefined;
6
+ }> | undefined;
7
+ schema: string;
8
+ security?: {
9
+ allowAnonymous?: boolean | undefined;
10
+ allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
11
+ disallowed?: Record<string, string[]> | undefined;
12
+ } | undefined;
13
+ storeQueries?: boolean | undefined;
14
+ } & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
15
+ name?: string | undefined;
16
+ paging?: Record<string, {
17
+ size?: number | undefined;
18
+ }> | undefined;
19
+ schema: "network.xyo.diviner.config";
20
+ security?: {
21
+ allowAnonymous?: boolean | undefined;
22
+ allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
23
+ disallowed?: Record<string, string[]> | undefined;
24
+ } | undefined;
25
+ storeQueries?: boolean | undefined;
26
+ } & Omit<{
27
+ schema: "network.xyo.diviner.config";
28
+ } & Omit<undefined, "schema">, "schema">, "schema"> & {
29
+ schema: string;
30
+ }, "schema">, undefined>, import("@xyo-network/diviner").DivinerModuleEventData>> | undefined, Error | undefined];
3
31
  //# sourceMappingURL=useDiviner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDiviner.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDiviner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAGrD,eAAO,MAAM,UAAU,4QAAyD,CAAA"}
1
+ {"version":3,"file":"useDiviner.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDiviner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAGrD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;iHAAyD,CAAA"}
@@ -1,3 +1,31 @@
1
1
  import { DivinerWrapper } from '@xyo-network/diviner';
2
- export declare const useDiviners: (account?: import("@xyo-network/account-model").AccountInstance | undefined, logger?: import("@xyo-network/core").Logger | undefined) => [DivinerWrapper<import("@xyo-network/diviner").DivinerModule>[] | undefined, Error | undefined];
2
+ export declare const useDiviners: (account?: import("@xyo-network/account-model").AccountInstance | undefined, logger?: import("@xyo-network/core").Logger | undefined) => [DivinerWrapper<import("@xyo-network/diviner").DivinerModule<import("@xyo-network/diviner").DivinerParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
3
+ name?: string | undefined;
4
+ paging?: Record<string, {
5
+ size?: number | undefined;
6
+ }> | undefined;
7
+ schema: string;
8
+ security?: {
9
+ allowAnonymous?: boolean | undefined;
10
+ allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
11
+ disallowed?: Record<string, string[]> | undefined;
12
+ } | undefined;
13
+ storeQueries?: boolean | undefined;
14
+ } & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
15
+ name?: string | undefined;
16
+ paging?: Record<string, {
17
+ size?: number | undefined;
18
+ }> | undefined;
19
+ schema: "network.xyo.diviner.config";
20
+ security?: {
21
+ allowAnonymous?: boolean | undefined;
22
+ allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
23
+ disallowed?: Record<string, string[]> | undefined;
24
+ } | undefined;
25
+ storeQueries?: boolean | undefined;
26
+ } & Omit<{
27
+ schema: "network.xyo.diviner.config";
28
+ } & Omit<undefined, "schema">, "schema">, "schema"> & {
29
+ schema: string;
30
+ }, "schema">, undefined>, import("@xyo-network/diviner").DivinerModuleEventData>>[] | undefined, Error | undefined];
3
31
  //# sourceMappingURL=useDiviners.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDiviners.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDiviners.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAGrD,eAAO,MAAM,WAAW,0OAA2D,CAAA"}
1
+ {"version":3,"file":"useDiviners.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDiviners.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAGrD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;mHAA2D,CAAA"}
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@xyo-network/diviner": "^2.56.2",
14
- "@xyo-network/react-node": "^2.49.6"
14
+ "@xyo-network/react-node": "^2.49.8"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@mui/icons-material": "^5",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "description": "Common React library for all XYO projects that use React",
26
26
  "devDependencies": {
27
- "@xylabs/ts-scripts-yarn3": "^2.17.6",
28
- "@xylabs/tsconfig-react": "^2.17.5",
27
+ "@xylabs/ts-scripts-yarn3": "^2.17.11",
28
+ "@xylabs/tsconfig-react": "^2.17.11",
29
29
  "typescript": "^5.0.4"
30
30
  },
31
31
  "browser": "dist/esm/index.js",
@@ -70,5 +70,5 @@
70
70
  },
71
71
  "sideEffects": false,
72
72
  "types": "dist/types/index.d.ts",
73
- "version": "2.49.6"
73
+ "version": "2.49.8"
74
74
  }