@xyo-network/react-diviner 2.49.0 → 2.49.2
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": "
|
|
17
|
+
"fileName": "diviner/src/hooks/useDiviner.tsx",
|
|
18
18
|
"line": 4,
|
|
19
19
|
"character": 13,
|
|
20
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
20
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/c671b9f42/packages/modules/packages/diviner/src/hooks/useDiviner.tsx#L4"
|
|
21
21
|
}
|
|
22
22
|
],
|
|
23
23
|
"signatures": [
|
|
@@ -87,190 +87,6 @@
|
|
|
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
|
-
],
|
|
274
90
|
"name": "DivinerModule",
|
|
275
91
|
"qualifiedName": "DivinerModule",
|
|
276
92
|
"package": "@xyo-network/diviner-model"
|
|
@@ -303,29 +119,29 @@
|
|
|
303
119
|
]
|
|
304
120
|
},
|
|
305
121
|
{
|
|
306
|
-
"id":
|
|
122
|
+
"id": 6,
|
|
307
123
|
"name": "useDiviners",
|
|
308
124
|
"kind": 64,
|
|
309
125
|
"kindString": "Function",
|
|
310
126
|
"flags": {},
|
|
311
127
|
"sources": [
|
|
312
128
|
{
|
|
313
|
-
"fileName": "
|
|
129
|
+
"fileName": "diviner/src/hooks/useDiviners.tsx",
|
|
314
130
|
"line": 4,
|
|
315
131
|
"character": 13,
|
|
316
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
132
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/c671b9f42/packages/modules/packages/diviner/src/hooks/useDiviners.tsx#L4"
|
|
317
133
|
}
|
|
318
134
|
],
|
|
319
135
|
"signatures": [
|
|
320
136
|
{
|
|
321
|
-
"id":
|
|
137
|
+
"id": 7,
|
|
322
138
|
"name": "useDiviners",
|
|
323
139
|
"kind": 4096,
|
|
324
140
|
"kindString": "Call signature",
|
|
325
141
|
"flags": {},
|
|
326
142
|
"parameters": [
|
|
327
143
|
{
|
|
328
|
-
"id":
|
|
144
|
+
"id": 8,
|
|
329
145
|
"name": "account",
|
|
330
146
|
"kind": 32768,
|
|
331
147
|
"kindString": "Parameter",
|
|
@@ -340,7 +156,7 @@
|
|
|
340
156
|
}
|
|
341
157
|
},
|
|
342
158
|
{
|
|
343
|
-
"id":
|
|
159
|
+
"id": 9,
|
|
344
160
|
"name": "logger",
|
|
345
161
|
"kind": 32768,
|
|
346
162
|
"kindString": "Parameter",
|
|
@@ -372,190 +188,6 @@
|
|
|
372
188
|
"typeArguments": [
|
|
373
189
|
{
|
|
374
190
|
"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
|
-
],
|
|
559
191
|
"name": "DivinerModule",
|
|
560
192
|
"qualifiedName": "DivinerModule",
|
|
561
193
|
"package": "@xyo-network/diviner-model"
|
|
@@ -594,16 +226,16 @@
|
|
|
594
226
|
"title": "Functions",
|
|
595
227
|
"children": [
|
|
596
228
|
1,
|
|
597
|
-
|
|
229
|
+
6
|
|
598
230
|
]
|
|
599
231
|
}
|
|
600
232
|
],
|
|
601
233
|
"sources": [
|
|
602
234
|
{
|
|
603
|
-
"fileName": "
|
|
235
|
+
"fileName": "diviner/src/index.ts",
|
|
604
236
|
"line": 1,
|
|
605
237
|
"character": 0,
|
|
606
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
238
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/c671b9f42/packages/modules/packages/diviner/src/index.ts#L1"
|
|
607
239
|
}
|
|
608
240
|
]
|
|
609
241
|
}
|
|
@@ -1,31 +1,3 @@
|
|
|
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
|
|
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];
|
|
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];
|
|
31
3
|
//# 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
|
|
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,31 +1,3 @@
|
|
|
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
|
|
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];
|
|
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];
|
|
31
3
|
//# 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
|
|
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"}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@xyo-network/diviner": "^2.56.0",
|
|
14
|
-
"@xyo-network/react-node": "^2.49.
|
|
14
|
+
"@xyo-network/react-node": "^2.49.2"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@mui/icons-material": "^5",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"description": "Common React library for all XYO projects that use React",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@xylabs/ts-scripts-yarn3": "^2.
|
|
28
|
-
"@xylabs/tsconfig-react": "^2.
|
|
29
|
-
"typescript": "^
|
|
27
|
+
"@xylabs/ts-scripts-yarn3": "^2.17.6",
|
|
28
|
+
"@xylabs/tsconfig-react": "^2.17.5",
|
|
29
|
+
"typescript": "^5.0.4"
|
|
30
30
|
},
|
|
31
31
|
"browser": "dist/esm/index.js",
|
|
32
32
|
"docs": "dist/docs.json",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
},
|
|
71
71
|
"sideEffects": false,
|
|
72
72
|
"types": "dist/types/index.d.ts",
|
|
73
|
-
"version": "2.49.
|
|
73
|
+
"version": "2.49.2"
|
|
74
74
|
}
|