@xyo-network/react-diviner 2.56.0 → 2.56.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/cjs/hooks/index.js +2 -2
- package/dist/cjs/hooks/index.js.map +1 -1
- package/dist/cjs/hooks/useNodeDiviner.js +7 -0
- package/dist/cjs/hooks/useNodeDiviner.js.map +1 -0
- package/dist/cjs/hooks/useNodeDiviners.js +7 -0
- package/dist/cjs/hooks/useNodeDiviners.js.map +1 -0
- package/dist/docs.json +33 -493
- package/dist/esm/hooks/index.js +2 -2
- package/dist/esm/hooks/index.js.map +1 -1
- package/dist/esm/hooks/useNodeDiviner.js +4 -0
- package/dist/esm/hooks/useNodeDiviner.js.map +1 -0
- package/dist/esm/hooks/useNodeDiviners.js +4 -0
- package/dist/esm/hooks/useNodeDiviners.js.map +1 -0
- package/dist/types/hooks/index.d.ts +2 -2
- package/dist/types/hooks/index.d.ts.map +1 -1
- package/dist/types/hooks/useNodeDiviner.d.ts +3 -0
- package/dist/types/hooks/useNodeDiviner.d.ts.map +1 -0
- package/dist/types/hooks/useNodeDiviners.d.ts +3 -0
- package/dist/types/hooks/useNodeDiviners.d.ts.map +1 -0
- package/package.json +5 -5
- package/src/hooks/index.ts +2 -2
- package/src/hooks/useNodeDiviner.tsx +4 -0
- package/src/hooks/useNodeDiviners.tsx +4 -0
- package/dist/cjs/hooks/useDiviner.js +0 -7
- package/dist/cjs/hooks/useDiviner.js.map +0 -1
- package/dist/cjs/hooks/useDiviners.js +0 -7
- package/dist/cjs/hooks/useDiviners.js.map +0 -1
- package/dist/esm/hooks/useDiviner.js +0 -4
- package/dist/esm/hooks/useDiviner.js.map +0 -1
- package/dist/esm/hooks/useDiviners.js +0 -4
- package/dist/esm/hooks/useDiviners.js.map +0 -1
- package/dist/types/hooks/useDiviner.d.ts +0 -33
- package/dist/types/hooks/useDiviner.d.ts.map +0 -1
- package/dist/types/hooks/useDiviners.d.ts +0 -33
- package/dist/types/hooks/useDiviners.d.ts.map +0 -1
- package/src/hooks/useDiviner.tsx +0 -4
- package/src/hooks/useDiviners.tsx +0 -4
package/dist/cjs/hooks/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./
|
|
5
|
-
tslib_1.__exportStar(require("./
|
|
4
|
+
tslib_1.__exportStar(require("./useNodeDiviner"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./useNodeDiviners"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":";;;AAAA,2DAAgC;AAChC,4DAAiC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useNodeDiviner = void 0;
|
|
4
|
+
const diviner_1 = require("@xyo-network/diviner");
|
|
5
|
+
const react_node_1 = require("@xyo-network/react-node");
|
|
6
|
+
exports.useNodeDiviner = (0, react_node_1.WrappedNodeModuleHookFactory)(diviner_1.DivinerWrapper, 'useNodeDiviner');
|
|
7
|
+
//# sourceMappingURL=useNodeDiviner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNodeDiviner.js","sourceRoot":"","sources":["../../../src/hooks/useNodeDiviner.tsx"],"names":[],"mappings":";;;AAAA,kDAAqD;AACrD,wDAAsE;AAEzD,QAAA,cAAc,GAAG,IAAA,yCAA4B,EAAC,wBAAc,EAAE,gBAAgB,CAAC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useNodeDiviners = void 0;
|
|
4
|
+
const diviner_1 = require("@xyo-network/diviner");
|
|
5
|
+
const react_node_1 = require("@xyo-network/react-node");
|
|
6
|
+
exports.useNodeDiviners = (0, react_node_1.WrappedNodeModulesHookFactory)(diviner_1.DivinerWrapper, 'useNodeDiviners');
|
|
7
|
+
//# sourceMappingURL=useNodeDiviners.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNodeDiviners.js","sourceRoot":"","sources":["../../../src/hooks/useNodeDiviners.tsx"],"names":[],"mappings":";;;AAAA,kDAAqD;AACrD,wDAAuE;AAE1D,QAAA,eAAe,GAAG,IAAA,0CAA6B,EAAC,wBAAc,EAAE,iBAAiB,CAAC,CAAA"}
|
package/dist/docs.json
CHANGED
|
@@ -7,30 +7,30 @@
|
|
|
7
7
|
"children": [
|
|
8
8
|
{
|
|
9
9
|
"id": 1,
|
|
10
|
-
"name": "
|
|
10
|
+
"name": "useNodeDiviner",
|
|
11
11
|
"variant": "declaration",
|
|
12
12
|
"kind": 64,
|
|
13
13
|
"flags": {},
|
|
14
14
|
"sources": [
|
|
15
15
|
{
|
|
16
|
-
"fileName": "
|
|
16
|
+
"fileName": "diviner/src/hooks/useNodeDiviner.tsx",
|
|
17
17
|
"line": 4,
|
|
18
18
|
"character": 13,
|
|
19
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
19
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/6ed0ec3c32b6/packages/modules/packages/diviner/src/hooks/useNodeDiviner.tsx#L4"
|
|
20
20
|
}
|
|
21
21
|
],
|
|
22
22
|
"signatures": [
|
|
23
23
|
{
|
|
24
24
|
"id": 2,
|
|
25
|
-
"name": "
|
|
25
|
+
"name": "useNodeDiviner",
|
|
26
26
|
"variant": "signature",
|
|
27
27
|
"kind": 4096,
|
|
28
28
|
"flags": {},
|
|
29
29
|
"sources": [
|
|
30
30
|
{
|
|
31
|
-
"fileName": "
|
|
32
|
-
"line":
|
|
33
|
-
"character":
|
|
31
|
+
"fileName": "node/dist/types/hooks/useWrappedNodeModule.d.ts",
|
|
32
|
+
"line": 4,
|
|
33
|
+
"character": 205
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"parameters": [
|
|
@@ -107,220 +107,6 @@
|
|
|
107
107
|
"sourceFileName": "../../../../node_modules/@xyo-network/diviner-model/src/Diviner.ts",
|
|
108
108
|
"qualifiedName": "DivinerModule"
|
|
109
109
|
},
|
|
110
|
-
"typeArguments": [
|
|
111
|
-
{
|
|
112
|
-
"type": "reference",
|
|
113
|
-
"target": {
|
|
114
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/diviner-model/src/Diviner.ts",
|
|
115
|
-
"qualifiedName": "DivinerParams"
|
|
116
|
-
},
|
|
117
|
-
"typeArguments": [
|
|
118
|
-
{
|
|
119
|
-
"type": "intersection",
|
|
120
|
-
"types": [
|
|
121
|
-
{
|
|
122
|
-
"type": "reference",
|
|
123
|
-
"target": {
|
|
124
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/payload-model/src/Payload.ts",
|
|
125
|
-
"qualifiedName": "SchemaFields"
|
|
126
|
-
},
|
|
127
|
-
"name": "SchemaFields",
|
|
128
|
-
"package": "@xyo-network/payload-model"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"type": "reference",
|
|
132
|
-
"target": {
|
|
133
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/payload-model/src/Payload.ts",
|
|
134
|
-
"qualifiedName": "PayloadFields"
|
|
135
|
-
},
|
|
136
|
-
"name": "PayloadFields",
|
|
137
|
-
"package": "@xyo-network/payload-model"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"type": "reflection",
|
|
141
|
-
"declaration": {
|
|
142
|
-
"id": 6,
|
|
143
|
-
"name": "__type",
|
|
144
|
-
"variant": "declaration",
|
|
145
|
-
"kind": 65536,
|
|
146
|
-
"flags": {},
|
|
147
|
-
"sources": [
|
|
148
|
-
{
|
|
149
|
-
"fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
|
|
150
|
-
"line": 15,
|
|
151
|
-
"character": 103
|
|
152
|
-
}
|
|
153
|
-
]
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"type": "reference",
|
|
158
|
-
"target": {
|
|
159
|
-
"sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
|
|
160
|
-
"qualifiedName": "Omit"
|
|
161
|
-
},
|
|
162
|
-
"typeArguments": [
|
|
163
|
-
{
|
|
164
|
-
"type": "intersection",
|
|
165
|
-
"types": [
|
|
166
|
-
{
|
|
167
|
-
"type": "reference",
|
|
168
|
-
"target": {
|
|
169
|
-
"sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
|
|
170
|
-
"qualifiedName": "Omit"
|
|
171
|
-
},
|
|
172
|
-
"typeArguments": [
|
|
173
|
-
{
|
|
174
|
-
"type": "intersection",
|
|
175
|
-
"types": [
|
|
176
|
-
{
|
|
177
|
-
"type": "reference",
|
|
178
|
-
"target": {
|
|
179
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/payload-model/src/Payload.ts",
|
|
180
|
-
"qualifiedName": "SchemaFields"
|
|
181
|
-
},
|
|
182
|
-
"name": "SchemaFields",
|
|
183
|
-
"package": "@xyo-network/payload-model"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"type": "reference",
|
|
187
|
-
"target": {
|
|
188
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/payload-model/src/Payload.ts",
|
|
189
|
-
"qualifiedName": "PayloadFields"
|
|
190
|
-
},
|
|
191
|
-
"name": "PayloadFields",
|
|
192
|
-
"package": "@xyo-network/payload-model"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"type": "reflection",
|
|
196
|
-
"declaration": {
|
|
197
|
-
"id": 7,
|
|
198
|
-
"name": "__type",
|
|
199
|
-
"variant": "declaration",
|
|
200
|
-
"kind": 65536,
|
|
201
|
-
"flags": {},
|
|
202
|
-
"sources": [
|
|
203
|
-
{
|
|
204
|
-
"fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
|
|
205
|
-
"line": 15,
|
|
206
|
-
"character": 103
|
|
207
|
-
}
|
|
208
|
-
]
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"type": "reference",
|
|
213
|
-
"target": {
|
|
214
|
-
"sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
|
|
215
|
-
"qualifiedName": "Omit"
|
|
216
|
-
},
|
|
217
|
-
"typeArguments": [
|
|
218
|
-
{
|
|
219
|
-
"type": "intersection",
|
|
220
|
-
"types": [
|
|
221
|
-
{
|
|
222
|
-
"type": "reflection",
|
|
223
|
-
"declaration": {
|
|
224
|
-
"id": 8,
|
|
225
|
-
"name": "__type",
|
|
226
|
-
"variant": "declaration",
|
|
227
|
-
"kind": 65536,
|
|
228
|
-
"flags": {},
|
|
229
|
-
"sources": [
|
|
230
|
-
{
|
|
231
|
-
"fileName": "node_modules/@xyo-network/diviner-model/dist/types/Config.d.ts",
|
|
232
|
-
"line": 5,
|
|
233
|
-
"character": 90
|
|
234
|
-
}
|
|
235
|
-
]
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"type": "reference",
|
|
240
|
-
"target": {
|
|
241
|
-
"sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
|
|
242
|
-
"qualifiedName": "Omit"
|
|
243
|
-
},
|
|
244
|
-
"typeArguments": [
|
|
245
|
-
{
|
|
246
|
-
"type": "intrinsic",
|
|
247
|
-
"name": "undefined"
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"type": "literal",
|
|
251
|
-
"value": "schema"
|
|
252
|
-
}
|
|
253
|
-
],
|
|
254
|
-
"name": "Omit",
|
|
255
|
-
"package": "typescript"
|
|
256
|
-
}
|
|
257
|
-
]
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"type": "literal",
|
|
261
|
-
"value": "schema"
|
|
262
|
-
}
|
|
263
|
-
],
|
|
264
|
-
"name": "Omit",
|
|
265
|
-
"package": "typescript"
|
|
266
|
-
}
|
|
267
|
-
]
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"type": "literal",
|
|
271
|
-
"value": "schema"
|
|
272
|
-
}
|
|
273
|
-
],
|
|
274
|
-
"name": "Omit",
|
|
275
|
-
"package": "typescript"
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"type": "reflection",
|
|
279
|
-
"declaration": {
|
|
280
|
-
"id": 9,
|
|
281
|
-
"name": "__type",
|
|
282
|
-
"variant": "declaration",
|
|
283
|
-
"kind": 65536,
|
|
284
|
-
"flags": {},
|
|
285
|
-
"sources": [
|
|
286
|
-
{
|
|
287
|
-
"fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
|
|
288
|
-
"line": 64,
|
|
289
|
-
"character": 58
|
|
290
|
-
}
|
|
291
|
-
]
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
]
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"type": "literal",
|
|
298
|
-
"value": "schema"
|
|
299
|
-
}
|
|
300
|
-
],
|
|
301
|
-
"name": "Omit",
|
|
302
|
-
"package": "typescript"
|
|
303
|
-
}
|
|
304
|
-
]
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"type": "intrinsic",
|
|
308
|
-
"name": "undefined"
|
|
309
|
-
}
|
|
310
|
-
],
|
|
311
|
-
"name": "DivinerParams",
|
|
312
|
-
"package": "@xyo-network/diviner-model"
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
"type": "reference",
|
|
316
|
-
"target": {
|
|
317
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/diviner-model/src/Diviner.ts",
|
|
318
|
-
"qualifiedName": "DivinerModuleEventData"
|
|
319
|
-
},
|
|
320
|
-
"name": "DivinerModuleEventData",
|
|
321
|
-
"package": "@xyo-network/diviner-model"
|
|
322
|
-
}
|
|
323
|
-
],
|
|
324
110
|
"name": "DivinerModule",
|
|
325
111
|
"package": "@xyo-network/diviner-model"
|
|
326
112
|
}
|
|
@@ -354,36 +140,36 @@
|
|
|
354
140
|
]
|
|
355
141
|
},
|
|
356
142
|
{
|
|
357
|
-
"id":
|
|
358
|
-
"name": "
|
|
143
|
+
"id": 6,
|
|
144
|
+
"name": "useNodeDiviners",
|
|
359
145
|
"variant": "declaration",
|
|
360
146
|
"kind": 64,
|
|
361
147
|
"flags": {},
|
|
362
148
|
"sources": [
|
|
363
149
|
{
|
|
364
|
-
"fileName": "
|
|
150
|
+
"fileName": "diviner/src/hooks/useNodeDiviners.tsx",
|
|
365
151
|
"line": 4,
|
|
366
152
|
"character": 13,
|
|
367
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
153
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/6ed0ec3c32b6/packages/modules/packages/diviner/src/hooks/useNodeDiviners.tsx#L4"
|
|
368
154
|
}
|
|
369
155
|
],
|
|
370
156
|
"signatures": [
|
|
371
157
|
{
|
|
372
|
-
"id":
|
|
373
|
-
"name": "
|
|
158
|
+
"id": 7,
|
|
159
|
+
"name": "useNodeDiviners",
|
|
374
160
|
"variant": "signature",
|
|
375
161
|
"kind": 4096,
|
|
376
162
|
"flags": {},
|
|
377
163
|
"sources": [
|
|
378
164
|
{
|
|
379
|
-
"fileName": "
|
|
380
|
-
"line":
|
|
381
|
-
"character":
|
|
165
|
+
"fileName": "node/dist/types/hooks/useWrappedNodeModules.d.ts",
|
|
166
|
+
"line": 4,
|
|
167
|
+
"character": 205
|
|
382
168
|
}
|
|
383
169
|
],
|
|
384
170
|
"parameters": [
|
|
385
171
|
{
|
|
386
|
-
"id":
|
|
172
|
+
"id": 8,
|
|
387
173
|
"name": "account",
|
|
388
174
|
"variant": "param",
|
|
389
175
|
"kind": 32768,
|
|
@@ -401,7 +187,7 @@
|
|
|
401
187
|
}
|
|
402
188
|
},
|
|
403
189
|
{
|
|
404
|
-
"id":
|
|
190
|
+
"id": 9,
|
|
405
191
|
"name": "logger",
|
|
406
192
|
"variant": "param",
|
|
407
193
|
"kind": 32768,
|
|
@@ -444,220 +230,6 @@
|
|
|
444
230
|
"sourceFileName": "../../../../node_modules/@xyo-network/diviner-model/src/Diviner.ts",
|
|
445
231
|
"qualifiedName": "DivinerModule"
|
|
446
232
|
},
|
|
447
|
-
"typeArguments": [
|
|
448
|
-
{
|
|
449
|
-
"type": "reference",
|
|
450
|
-
"target": {
|
|
451
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/diviner-model/src/Diviner.ts",
|
|
452
|
-
"qualifiedName": "DivinerParams"
|
|
453
|
-
},
|
|
454
|
-
"typeArguments": [
|
|
455
|
-
{
|
|
456
|
-
"type": "intersection",
|
|
457
|
-
"types": [
|
|
458
|
-
{
|
|
459
|
-
"type": "reference",
|
|
460
|
-
"target": {
|
|
461
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/payload-model/src/Payload.ts",
|
|
462
|
-
"qualifiedName": "SchemaFields"
|
|
463
|
-
},
|
|
464
|
-
"name": "SchemaFields",
|
|
465
|
-
"package": "@xyo-network/payload-model"
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"type": "reference",
|
|
469
|
-
"target": {
|
|
470
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/payload-model/src/Payload.ts",
|
|
471
|
-
"qualifiedName": "PayloadFields"
|
|
472
|
-
},
|
|
473
|
-
"name": "PayloadFields",
|
|
474
|
-
"package": "@xyo-network/payload-model"
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
"type": "reflection",
|
|
478
|
-
"declaration": {
|
|
479
|
-
"id": 14,
|
|
480
|
-
"name": "__type",
|
|
481
|
-
"variant": "declaration",
|
|
482
|
-
"kind": 65536,
|
|
483
|
-
"flags": {},
|
|
484
|
-
"sources": [
|
|
485
|
-
{
|
|
486
|
-
"fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
|
|
487
|
-
"line": 15,
|
|
488
|
-
"character": 103
|
|
489
|
-
}
|
|
490
|
-
]
|
|
491
|
-
}
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
"type": "reference",
|
|
495
|
-
"target": {
|
|
496
|
-
"sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
|
|
497
|
-
"qualifiedName": "Omit"
|
|
498
|
-
},
|
|
499
|
-
"typeArguments": [
|
|
500
|
-
{
|
|
501
|
-
"type": "intersection",
|
|
502
|
-
"types": [
|
|
503
|
-
{
|
|
504
|
-
"type": "reference",
|
|
505
|
-
"target": {
|
|
506
|
-
"sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
|
|
507
|
-
"qualifiedName": "Omit"
|
|
508
|
-
},
|
|
509
|
-
"typeArguments": [
|
|
510
|
-
{
|
|
511
|
-
"type": "intersection",
|
|
512
|
-
"types": [
|
|
513
|
-
{
|
|
514
|
-
"type": "reference",
|
|
515
|
-
"target": {
|
|
516
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/payload-model/src/Payload.ts",
|
|
517
|
-
"qualifiedName": "SchemaFields"
|
|
518
|
-
},
|
|
519
|
-
"name": "SchemaFields",
|
|
520
|
-
"package": "@xyo-network/payload-model"
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
"type": "reference",
|
|
524
|
-
"target": {
|
|
525
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/payload-model/src/Payload.ts",
|
|
526
|
-
"qualifiedName": "PayloadFields"
|
|
527
|
-
},
|
|
528
|
-
"name": "PayloadFields",
|
|
529
|
-
"package": "@xyo-network/payload-model"
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
"type": "reflection",
|
|
533
|
-
"declaration": {
|
|
534
|
-
"id": 15,
|
|
535
|
-
"name": "__type",
|
|
536
|
-
"variant": "declaration",
|
|
537
|
-
"kind": 65536,
|
|
538
|
-
"flags": {},
|
|
539
|
-
"sources": [
|
|
540
|
-
{
|
|
541
|
-
"fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
|
|
542
|
-
"line": 15,
|
|
543
|
-
"character": 103
|
|
544
|
-
}
|
|
545
|
-
]
|
|
546
|
-
}
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
"type": "reference",
|
|
550
|
-
"target": {
|
|
551
|
-
"sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
|
|
552
|
-
"qualifiedName": "Omit"
|
|
553
|
-
},
|
|
554
|
-
"typeArguments": [
|
|
555
|
-
{
|
|
556
|
-
"type": "intersection",
|
|
557
|
-
"types": [
|
|
558
|
-
{
|
|
559
|
-
"type": "reflection",
|
|
560
|
-
"declaration": {
|
|
561
|
-
"id": 16,
|
|
562
|
-
"name": "__type",
|
|
563
|
-
"variant": "declaration",
|
|
564
|
-
"kind": 65536,
|
|
565
|
-
"flags": {},
|
|
566
|
-
"sources": [
|
|
567
|
-
{
|
|
568
|
-
"fileName": "node_modules/@xyo-network/diviner-model/dist/types/Config.d.ts",
|
|
569
|
-
"line": 5,
|
|
570
|
-
"character": 90
|
|
571
|
-
}
|
|
572
|
-
]
|
|
573
|
-
}
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
"type": "reference",
|
|
577
|
-
"target": {
|
|
578
|
-
"sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
|
|
579
|
-
"qualifiedName": "Omit"
|
|
580
|
-
},
|
|
581
|
-
"typeArguments": [
|
|
582
|
-
{
|
|
583
|
-
"type": "intrinsic",
|
|
584
|
-
"name": "undefined"
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
"type": "literal",
|
|
588
|
-
"value": "schema"
|
|
589
|
-
}
|
|
590
|
-
],
|
|
591
|
-
"name": "Omit",
|
|
592
|
-
"package": "typescript"
|
|
593
|
-
}
|
|
594
|
-
]
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
"type": "literal",
|
|
598
|
-
"value": "schema"
|
|
599
|
-
}
|
|
600
|
-
],
|
|
601
|
-
"name": "Omit",
|
|
602
|
-
"package": "typescript"
|
|
603
|
-
}
|
|
604
|
-
]
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
"type": "literal",
|
|
608
|
-
"value": "schema"
|
|
609
|
-
}
|
|
610
|
-
],
|
|
611
|
-
"name": "Omit",
|
|
612
|
-
"package": "typescript"
|
|
613
|
-
},
|
|
614
|
-
{
|
|
615
|
-
"type": "reflection",
|
|
616
|
-
"declaration": {
|
|
617
|
-
"id": 17,
|
|
618
|
-
"name": "__type",
|
|
619
|
-
"variant": "declaration",
|
|
620
|
-
"kind": 65536,
|
|
621
|
-
"flags": {},
|
|
622
|
-
"sources": [
|
|
623
|
-
{
|
|
624
|
-
"fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
|
|
625
|
-
"line": 64,
|
|
626
|
-
"character": 58
|
|
627
|
-
}
|
|
628
|
-
]
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
]
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"type": "literal",
|
|
635
|
-
"value": "schema"
|
|
636
|
-
}
|
|
637
|
-
],
|
|
638
|
-
"name": "Omit",
|
|
639
|
-
"package": "typescript"
|
|
640
|
-
}
|
|
641
|
-
]
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
"type": "intrinsic",
|
|
645
|
-
"name": "undefined"
|
|
646
|
-
}
|
|
647
|
-
],
|
|
648
|
-
"name": "DivinerParams",
|
|
649
|
-
"package": "@xyo-network/diviner-model"
|
|
650
|
-
},
|
|
651
|
-
{
|
|
652
|
-
"type": "reference",
|
|
653
|
-
"target": {
|
|
654
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/diviner-model/src/Diviner.ts",
|
|
655
|
-
"qualifiedName": "DivinerModuleEventData"
|
|
656
|
-
},
|
|
657
|
-
"name": "DivinerModuleEventData",
|
|
658
|
-
"package": "@xyo-network/diviner-model"
|
|
659
|
-
}
|
|
660
|
-
],
|
|
661
233
|
"name": "DivinerModule",
|
|
662
234
|
"package": "@xyo-network/diviner-model"
|
|
663
235
|
}
|
|
@@ -697,7 +269,7 @@
|
|
|
697
269
|
"title": "Functions",
|
|
698
270
|
"children": [
|
|
699
271
|
1,
|
|
700
|
-
|
|
272
|
+
6
|
|
701
273
|
]
|
|
702
274
|
}
|
|
703
275
|
],
|
|
@@ -714,72 +286,40 @@
|
|
|
714
286
|
"qualifiedName": ""
|
|
715
287
|
},
|
|
716
288
|
"1": {
|
|
717
|
-
"sourceFileName": "src/hooks/
|
|
718
|
-
"qualifiedName": "
|
|
289
|
+
"sourceFileName": "src/hooks/useNodeDiviner.tsx",
|
|
290
|
+
"qualifiedName": "useNodeDiviner"
|
|
719
291
|
},
|
|
720
292
|
"2": {
|
|
721
|
-
"sourceFileName": "../node/src/hooks/
|
|
722
|
-
"qualifiedName": "
|
|
293
|
+
"sourceFileName": "../node/src/hooks/useWrappedNodeModule.tsx",
|
|
294
|
+
"qualifiedName": "useNodeDiviner"
|
|
723
295
|
},
|
|
724
296
|
"3": {
|
|
725
|
-
"sourceFileName": "../node/src/hooks/
|
|
297
|
+
"sourceFileName": "../node/src/hooks/useWrappedNodeModule.tsx",
|
|
726
298
|
"qualifiedName": "nameOrAddress"
|
|
727
299
|
},
|
|
728
300
|
"4": {
|
|
729
|
-
"sourceFileName": "../node/src/hooks/
|
|
301
|
+
"sourceFileName": "../node/src/hooks/useWrappedNodeModule.tsx",
|
|
730
302
|
"qualifiedName": "wallet"
|
|
731
303
|
},
|
|
732
304
|
"5": {
|
|
733
|
-
"sourceFileName": "../node/src/hooks/
|
|
305
|
+
"sourceFileName": "../node/src/hooks/useWrappedNodeModule.tsx",
|
|
734
306
|
"qualifiedName": "logger"
|
|
735
307
|
},
|
|
736
308
|
"6": {
|
|
737
|
-
"sourceFileName": "
|
|
738
|
-
"qualifiedName": "
|
|
309
|
+
"sourceFileName": "src/hooks/useNodeDiviners.tsx",
|
|
310
|
+
"qualifiedName": "useNodeDiviners"
|
|
739
311
|
},
|
|
740
312
|
"7": {
|
|
741
|
-
"sourceFileName": "
|
|
742
|
-
"qualifiedName": "
|
|
313
|
+
"sourceFileName": "../node/src/hooks/useWrappedNodeModules.tsx",
|
|
314
|
+
"qualifiedName": "useNodeDiviners"
|
|
743
315
|
},
|
|
744
316
|
"8": {
|
|
745
|
-
"sourceFileName": "
|
|
746
|
-
"qualifiedName": "__type"
|
|
747
|
-
},
|
|
748
|
-
"9": {
|
|
749
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/module-model/src/Config.ts",
|
|
750
|
-
"qualifiedName": "__type"
|
|
751
|
-
},
|
|
752
|
-
"10": {
|
|
753
|
-
"sourceFileName": "src/hooks/useDiviners.tsx",
|
|
754
|
-
"qualifiedName": "useDiviners"
|
|
755
|
-
},
|
|
756
|
-
"11": {
|
|
757
|
-
"sourceFileName": "../node/src/hooks/useWrappedModules.tsx",
|
|
758
|
-
"qualifiedName": "useDiviners"
|
|
759
|
-
},
|
|
760
|
-
"12": {
|
|
761
|
-
"sourceFileName": "../node/src/hooks/useWrappedModules.tsx",
|
|
317
|
+
"sourceFileName": "../node/src/hooks/useWrappedNodeModules.tsx",
|
|
762
318
|
"qualifiedName": "account"
|
|
763
319
|
},
|
|
764
|
-
"
|
|
765
|
-
"sourceFileName": "../node/src/hooks/
|
|
320
|
+
"9": {
|
|
321
|
+
"sourceFileName": "../node/src/hooks/useWrappedNodeModules.tsx",
|
|
766
322
|
"qualifiedName": "logger"
|
|
767
|
-
},
|
|
768
|
-
"14": {
|
|
769
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/module-model/src/Config.ts",
|
|
770
|
-
"qualifiedName": "__type"
|
|
771
|
-
},
|
|
772
|
-
"15": {
|
|
773
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/module-model/src/Config.ts",
|
|
774
|
-
"qualifiedName": "__type"
|
|
775
|
-
},
|
|
776
|
-
"16": {
|
|
777
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/diviner-model/src/Config.ts",
|
|
778
|
-
"qualifiedName": "__type"
|
|
779
|
-
},
|
|
780
|
-
"17": {
|
|
781
|
-
"sourceFileName": "../../../../node_modules/@xyo-network/module-model/src/Config.ts",
|
|
782
|
-
"qualifiedName": "__type"
|
|
783
323
|
}
|
|
784
324
|
}
|
|
785
325
|
}
|
package/dist/esm/hooks/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './useNodeDiviner';
|
|
2
|
+
export * from './useNodeDiviners';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNodeDiviner.js","sourceRoot":"","sources":["../../../src/hooks/useNodeDiviner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAA;AAEtE,MAAM,CAAC,MAAM,cAAc,GAAG,4BAA4B,CAAC,cAAc,EAAE,gBAAgB,CAAC,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DivinerWrapper } from '@xyo-network/diviner';
|
|
2
|
+
import { WrappedNodeModulesHookFactory } from '@xyo-network/react-node';
|
|
3
|
+
export const useNodeDiviners = WrappedNodeModulesHookFactory(DivinerWrapper, 'useNodeDiviners');
|
|
4
|
+
//# sourceMappingURL=useNodeDiviners.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNodeDiviners.js","sourceRoot":"","sources":["../../../src/hooks/useNodeDiviners.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAA;AAEvE,MAAM,CAAC,MAAM,eAAe,GAAG,6BAA6B,CAAC,cAAc,EAAE,iBAAiB,CAAC,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './useNodeDiviner';
|
|
2
|
+
export * from './useNodeDiviners';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DivinerWrapper } from '@xyo-network/diviner';
|
|
2
|
+
export declare const useNodeDiviner: (nameOrAddress?: string | undefined, wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined, logger?: import("@xyo-network/core").Logger | undefined) => [DivinerWrapper<import("@xyo-network/diviner").DivinerModule> | undefined, Error | undefined];
|
|
3
|
+
//# sourceMappingURL=useNodeDiviner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNodeDiviner.d.ts","sourceRoot":"","sources":["../../../src/hooks/useNodeDiviner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAGrD,eAAO,MAAM,cAAc,yQAAiE,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DivinerWrapper } from '@xyo-network/diviner';
|
|
2
|
+
export declare const useNodeDiviners: (account?: import("@xyo-network/wallet-model").WalletInstance | undefined, logger?: import("@xyo-network/core").Logger | undefined) => [DivinerWrapper<import("@xyo-network/diviner").DivinerModule>[] | undefined, Error | undefined];
|
|
3
|
+
//# sourceMappingURL=useNodeDiviners.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNodeDiviners.d.ts","sourceRoot":"","sources":["../../../src/hooks/useNodeDiviners.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAGrD,eAAO,MAAM,eAAe,wOAAmE,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/diviner": "^2.64.
|
|
14
|
-
"@xyo-network/react-node": "^2.56.
|
|
13
|
+
"@xyo-network/diviner": "^2.64.1",
|
|
14
|
+
"@xyo-network/react-node": "^2.56.2"
|
|
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.
|
|
28
|
-
"@xylabs/tsconfig-react": "^2.
|
|
27
|
+
"@xylabs/ts-scripts-yarn3": "^2.18.2",
|
|
28
|
+
"@xylabs/tsconfig-react": "^2.18.2",
|
|
29
29
|
"typescript": "^5.1.6"
|
|
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.56.
|
|
73
|
+
"version": "2.56.2"
|
|
74
74
|
}
|
package/src/hooks/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './useNodeDiviner'
|
|
2
|
+
export * from './useNodeDiviners'
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useDiviner = void 0;
|
|
4
|
-
const diviner_1 = require("@xyo-network/diviner");
|
|
5
|
-
const react_node_1 = require("@xyo-network/react-node");
|
|
6
|
-
exports.useDiviner = (0, react_node_1.WrappedModuleHookFactory)(diviner_1.DivinerWrapper, 'useDiviner');
|
|
7
|
-
//# sourceMappingURL=useDiviner.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDiviner.js","sourceRoot":"","sources":["../../../src/hooks/useDiviner.tsx"],"names":[],"mappings":";;;AAAA,kDAAqD;AACrD,wDAAkE;AAErD,QAAA,UAAU,GAAG,IAAA,qCAAwB,EAAC,wBAAc,EAAE,YAAY,CAAC,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useDiviners = void 0;
|
|
4
|
-
const diviner_1 = require("@xyo-network/diviner");
|
|
5
|
-
const react_node_1 = require("@xyo-network/react-node");
|
|
6
|
-
exports.useDiviners = (0, react_node_1.WrappedModulesHookFactory)(diviner_1.DivinerWrapper, 'useDiviners');
|
|
7
|
-
//# sourceMappingURL=useDiviners.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDiviners.js","sourceRoot":"","sources":["../../../src/hooks/useDiviners.tsx"],"names":[],"mappings":";;;AAAA,kDAAqD;AACrD,wDAAmE;AAEtD,QAAA,WAAW,GAAG,IAAA,sCAAyB,EAAC,wBAAc,EAAE,aAAa,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDiviner.js","sourceRoot":"","sources":["../../../src/hooks/useDiviner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAA;AAElE,MAAM,CAAC,MAAM,UAAU,GAAG,wBAAwB,CAAC,cAAc,EAAE,YAAY,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDiviners.js","sourceRoot":"","sources":["../../../src/hooks/useDiviners.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAA;AAEnE,MAAM,CAAC,MAAM,WAAW,GAAG,yBAAyB,CAAC,cAAc,EAAE,aAAa,CAAC,CAAA"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { DivinerWrapper } from '@xyo-network/diviner';
|
|
2
|
-
export declare const useDiviner: (nameOrAddress?: string | undefined, wallet?: import("@xyo-network/wallet-model").WalletInstance | 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
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
4
|
-
readonly name?: string | undefined;
|
|
5
|
-
readonly paging?: Record<string, {
|
|
6
|
-
size?: number | undefined;
|
|
7
|
-
}> | undefined;
|
|
8
|
-
readonly schema: string;
|
|
9
|
-
readonly security?: {
|
|
10
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
11
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
12
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
13
|
-
} | undefined;
|
|
14
|
-
readonly storeQueries?: boolean | undefined;
|
|
15
|
-
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
16
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
17
|
-
readonly name?: string | undefined;
|
|
18
|
-
readonly paging?: Record<string, {
|
|
19
|
-
size?: number | undefined;
|
|
20
|
-
}> | undefined;
|
|
21
|
-
readonly schema: "network.xyo.diviner.config";
|
|
22
|
-
readonly security?: {
|
|
23
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
24
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
25
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
26
|
-
} | undefined;
|
|
27
|
-
readonly storeQueries?: boolean | undefined;
|
|
28
|
-
} & Omit<{
|
|
29
|
-
schema: "network.xyo.diviner.config";
|
|
30
|
-
} & Omit<undefined, "schema">, "schema">, "schema"> & {
|
|
31
|
-
schema: string;
|
|
32
|
-
}, "schema">, undefined>, import("@xyo-network/diviner").DivinerModuleEventData>> | undefined, Error | undefined];
|
|
33
|
-
//# sourceMappingURL=useDiviner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,33 +0,0 @@
|
|
|
1
|
-
import { DivinerWrapper } from '@xyo-network/diviner';
|
|
2
|
-
export declare const useDiviners: (account?: import("@xyo-network/wallet-model").WalletInstance | 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
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
4
|
-
readonly name?: string | undefined;
|
|
5
|
-
readonly paging?: Record<string, {
|
|
6
|
-
size?: number | undefined;
|
|
7
|
-
}> | undefined;
|
|
8
|
-
readonly schema: string;
|
|
9
|
-
readonly security?: {
|
|
10
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
11
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
12
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
13
|
-
} | undefined;
|
|
14
|
-
readonly storeQueries?: boolean | undefined;
|
|
15
|
-
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
16
|
-
readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
|
|
17
|
-
readonly name?: string | undefined;
|
|
18
|
-
readonly paging?: Record<string, {
|
|
19
|
-
size?: number | undefined;
|
|
20
|
-
}> | undefined;
|
|
21
|
-
readonly schema: "network.xyo.diviner.config";
|
|
22
|
-
readonly security?: {
|
|
23
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
24
|
-
readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
25
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
26
|
-
} | undefined;
|
|
27
|
-
readonly storeQueries?: boolean | undefined;
|
|
28
|
-
} & Omit<{
|
|
29
|
-
schema: "network.xyo.diviner.config";
|
|
30
|
-
} & Omit<undefined, "schema">, "schema">, "schema"> & {
|
|
31
|
-
schema: string;
|
|
32
|
-
}, "schema">, undefined>, import("@xyo-network/diviner").DivinerModuleEventData>>[] | undefined, Error | undefined];
|
|
33
|
-
//# sourceMappingURL=useDiviners.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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/src/hooks/useDiviner.tsx
DELETED