@xyo-network/react-diviner 2.46.6 → 2.46.7
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/
|
|
20
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/10a0e53a1b1/packages/modules/packages/diviner/src/hooks/useDiviner.tsx#L4"
|
|
21
21
|
}
|
|
22
22
|
],
|
|
23
23
|
"signatures": [
|
|
@@ -82,6 +82,198 @@
|
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
"type": "reference",
|
|
85
|
+
"typeArguments": [
|
|
86
|
+
{
|
|
87
|
+
"type": "reference",
|
|
88
|
+
"typeArguments": [
|
|
89
|
+
{
|
|
90
|
+
"type": "reference",
|
|
91
|
+
"typeArguments": [
|
|
92
|
+
{
|
|
93
|
+
"type": "intersection",
|
|
94
|
+
"types": [
|
|
95
|
+
{
|
|
96
|
+
"type": "reference",
|
|
97
|
+
"name": "SchemaFields",
|
|
98
|
+
"qualifiedName": "SchemaFields",
|
|
99
|
+
"package": "@xyo-network/payload-model"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "reference",
|
|
103
|
+
"name": "PayloadFields",
|
|
104
|
+
"qualifiedName": "PayloadFields",
|
|
105
|
+
"package": "@xyo-network/payload-model"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "reflection",
|
|
109
|
+
"declaration": {
|
|
110
|
+
"id": 6,
|
|
111
|
+
"name": "__type",
|
|
112
|
+
"kind": 65536,
|
|
113
|
+
"kindString": "Type literal",
|
|
114
|
+
"flags": {},
|
|
115
|
+
"sources": [
|
|
116
|
+
{
|
|
117
|
+
"fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
|
|
118
|
+
"line": 8,
|
|
119
|
+
"character": 103
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "reference",
|
|
126
|
+
"typeArguments": [
|
|
127
|
+
{
|
|
128
|
+
"type": "intersection",
|
|
129
|
+
"types": [
|
|
130
|
+
{
|
|
131
|
+
"type": "reference",
|
|
132
|
+
"typeArguments": [
|
|
133
|
+
{
|
|
134
|
+
"type": "intersection",
|
|
135
|
+
"types": [
|
|
136
|
+
{
|
|
137
|
+
"type": "reference",
|
|
138
|
+
"name": "SchemaFields",
|
|
139
|
+
"qualifiedName": "SchemaFields",
|
|
140
|
+
"package": "@xyo-network/payload-model"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"type": "reference",
|
|
144
|
+
"name": "PayloadFields",
|
|
145
|
+
"qualifiedName": "PayloadFields",
|
|
146
|
+
"package": "@xyo-network/payload-model"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"type": "reflection",
|
|
150
|
+
"declaration": {
|
|
151
|
+
"id": 7,
|
|
152
|
+
"name": "__type",
|
|
153
|
+
"kind": 65536,
|
|
154
|
+
"kindString": "Type literal",
|
|
155
|
+
"flags": {},
|
|
156
|
+
"sources": [
|
|
157
|
+
{
|
|
158
|
+
"fileName": "node_modules/@xyo-network/module-model/dist/types/Config.d.ts",
|
|
159
|
+
"line": 8,
|
|
160
|
+
"character": 103
|
|
161
|
+
}
|
|
162
|
+
]
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"type": "reference",
|
|
167
|
+
"typeArguments": [
|
|
168
|
+
{
|
|
169
|
+
"type": "intersection",
|
|
170
|
+
"types": [
|
|
171
|
+
{
|
|
172
|
+
"type": "reflection",
|
|
173
|
+
"declaration": {
|
|
174
|
+
"id": 8,
|
|
175
|
+
"name": "__type",
|
|
176
|
+
"kind": 65536,
|
|
177
|
+
"kindString": "Type literal",
|
|
178
|
+
"flags": {},
|
|
179
|
+
"sources": [
|
|
180
|
+
{
|
|
181
|
+
"fileName": "node_modules/@xyo-network/diviner-model/dist/types/Config.d.ts",
|
|
182
|
+
"line": 5,
|
|
183
|
+
"character": 90
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"type": "reference",
|
|
190
|
+
"typeArguments": [
|
|
191
|
+
{
|
|
192
|
+
"type": "intrinsic",
|
|
193
|
+
"name": "undefined"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"type": "literal",
|
|
197
|
+
"value": "schema"
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"name": "Omit",
|
|
201
|
+
"qualifiedName": "Omit",
|
|
202
|
+
"package": "typescript"
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"type": "literal",
|
|
208
|
+
"value": "schema"
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"name": "Omit",
|
|
212
|
+
"qualifiedName": "Omit",
|
|
213
|
+
"package": "typescript"
|
|
214
|
+
}
|
|
215
|
+
]
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"type": "literal",
|
|
219
|
+
"value": "schema"
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"name": "Omit",
|
|
223
|
+
"qualifiedName": "Omit",
|
|
224
|
+
"package": "typescript"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"type": "reflection",
|
|
228
|
+
"declaration": {
|
|
229
|
+
"id": 9,
|
|
230
|
+
"name": "__type",
|
|
231
|
+
"kind": 65536,
|
|
232
|
+
"kindString": "Type literal",
|
|
233
|
+
"flags": {},
|
|
234
|
+
"sources": [
|
|
235
|
+
{
|
|
236
|
+
"fileName": "node_modules/@xyo-network/module-model/dist/types/ModuleParams.d.ts",
|
|
237
|
+
"line": 18,
|
|
238
|
+
"character": 58
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"type": "literal",
|
|
247
|
+
"value": "schema"
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
"name": "Omit",
|
|
251
|
+
"qualifiedName": "Omit",
|
|
252
|
+
"package": "typescript"
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"type": "intrinsic",
|
|
258
|
+
"name": "undefined"
|
|
259
|
+
}
|
|
260
|
+
],
|
|
261
|
+
"name": "DivinerParams",
|
|
262
|
+
"qualifiedName": "DivinerParams",
|
|
263
|
+
"package": "@xyo-network/diviner-model"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"type": "reference",
|
|
267
|
+
"name": "DivinerModuleEventData",
|
|
268
|
+
"qualifiedName": "DivinerModuleEventData",
|
|
269
|
+
"package": "@xyo-network/diviner-model"
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
"name": "DivinerModule",
|
|
273
|
+
"qualifiedName": "DivinerModule",
|
|
274
|
+
"package": "@xyo-network/diviner-model"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
85
277
|
"name": "DivinerWrapper",
|
|
86
278
|
"qualifiedName": "DivinerWrapper",
|
|
87
279
|
"package": "@xyo-network/diviner-wrapper"
|
|
@@ -119,10 +311,10 @@
|
|
|
119
311
|
],
|
|
120
312
|
"sources": [
|
|
121
313
|
{
|
|
122
|
-
"fileName": "diviner/src/index.ts",
|
|
314
|
+
"fileName": "packages/modules/packages/diviner/src/index.ts",
|
|
123
315
|
"line": 1,
|
|
124
316
|
"character": 0,
|
|
125
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
317
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/10a0e53a1b1/packages/modules/packages/diviner/src/index.ts#L1"
|
|
126
318
|
}
|
|
127
319
|
]
|
|
128
320
|
}
|
|
@@ -1,3 +1,25 @@
|
|
|
1
1
|
import { DivinerWrapper } from '@xyo-network/diviner';
|
|
2
|
-
export declare const useDiviner: (nameOrAddress?: string | undefined, account?: import("@xyo-network/account-model").AccountInstance | undefined, spinCheck?: boolean | undefined) => [DivinerWrapper
|
|
2
|
+
export declare const useDiviner: (nameOrAddress?: string | undefined, account?: import("@xyo-network/account-model").AccountInstance | undefined, spinCheck?: boolean | 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
|
+
schema: string;
|
|
5
|
+
security?: {
|
|
6
|
+
allowAnonymous?: boolean | undefined;
|
|
7
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
8
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
9
|
+
} | undefined;
|
|
10
|
+
storeQueries?: boolean | undefined;
|
|
11
|
+
} & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
12
|
+
name?: string | undefined;
|
|
13
|
+
schema: "network.xyo.diviner.config";
|
|
14
|
+
security?: {
|
|
15
|
+
allowAnonymous?: boolean | undefined;
|
|
16
|
+
allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
|
|
17
|
+
disallowed?: Record<string, string[]> | undefined;
|
|
18
|
+
} | undefined;
|
|
19
|
+
storeQueries?: boolean | undefined;
|
|
20
|
+
} & Omit<{
|
|
21
|
+
schema: "network.xyo.diviner.config";
|
|
22
|
+
} & Omit<undefined, "schema">, "schema">, "schema"> & {
|
|
23
|
+
schema: string;
|
|
24
|
+
}, "schema">, undefined>, import("@xyo-network/diviner").DivinerModuleEventData>> | undefined, Error | undefined];
|
|
3
25
|
//# 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;;;;;;;;;;;;;;;;;;;;;;iHAAyD,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.
|
|
14
|
-
"@xyo-network/react-node": "^2.46.
|
|
13
|
+
"@xyo-network/diviner": "^2.53.2",
|
|
14
|
+
"@xyo-network/react-node": "^2.46.7"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@mui/icons-material": "^5",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
},
|
|
71
71
|
"sideEffects": false,
|
|
72
72
|
"types": "dist/types/index.d.ts",
|
|
73
|
-
"version": "2.46.
|
|
73
|
+
"version": "2.46.7"
|
|
74
74
|
}
|