@xyo-network/react-witness 2.53.0 → 2.54.1
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 +105 -27
- package/package.json +4 -4
package/dist/docs.json
CHANGED
|
@@ -1,38 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": 0,
|
|
3
3
|
"name": "@xyo-network/react-witness",
|
|
4
|
+
"variant": "project",
|
|
4
5
|
"kind": 1,
|
|
5
|
-
"kindString": "Project",
|
|
6
6
|
"flags": {},
|
|
7
|
-
"originalName": "",
|
|
8
7
|
"children": [
|
|
9
8
|
{
|
|
10
9
|
"id": 1,
|
|
11
10
|
"name": "useWitness",
|
|
11
|
+
"variant": "declaration",
|
|
12
12
|
"kind": 64,
|
|
13
|
-
"kindString": "Function",
|
|
14
13
|
"flags": {},
|
|
15
14
|
"sources": [
|
|
16
15
|
{
|
|
17
16
|
"fileName": "witness/src/hooks/useWitness.tsx",
|
|
18
17
|
"line": 4,
|
|
19
18
|
"character": 13,
|
|
20
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
19
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/619c3fe27620/packages/modules/packages/witness/src/hooks/useWitness.tsx#L4"
|
|
21
20
|
}
|
|
22
21
|
],
|
|
23
22
|
"signatures": [
|
|
24
23
|
{
|
|
25
24
|
"id": 2,
|
|
26
25
|
"name": "useWitness",
|
|
26
|
+
"variant": "signature",
|
|
27
27
|
"kind": 4096,
|
|
28
|
-
"kindString": "Call signature",
|
|
29
28
|
"flags": {},
|
|
29
|
+
"sources": [
|
|
30
|
+
{
|
|
31
|
+
"fileName": "node/dist/types/hooks/useWrappedModule.d.ts",
|
|
32
|
+
"line": 32,
|
|
33
|
+
"character": 152
|
|
34
|
+
}
|
|
35
|
+
],
|
|
30
36
|
"parameters": [
|
|
31
37
|
{
|
|
32
38
|
"id": 3,
|
|
33
39
|
"name": "nameOrAddress",
|
|
40
|
+
"variant": "param",
|
|
34
41
|
"kind": 32768,
|
|
35
|
-
"kindString": "Parameter",
|
|
36
42
|
"flags": {
|
|
37
43
|
"isOptional": true
|
|
38
44
|
},
|
|
@@ -44,30 +50,36 @@
|
|
|
44
50
|
{
|
|
45
51
|
"id": 4,
|
|
46
52
|
"name": "account",
|
|
53
|
+
"variant": "param",
|
|
47
54
|
"kind": 32768,
|
|
48
|
-
"kindString": "Parameter",
|
|
49
55
|
"flags": {
|
|
50
56
|
"isOptional": true
|
|
51
57
|
},
|
|
52
58
|
"type": {
|
|
53
59
|
"type": "reference",
|
|
60
|
+
"target": {
|
|
61
|
+
"sourceFileName": "../../../../node_modules/@xyo-network/account-model/src/Account.ts",
|
|
62
|
+
"qualifiedName": "AccountInstance"
|
|
63
|
+
},
|
|
54
64
|
"name": "AccountInstance",
|
|
55
|
-
"qualifiedName": "AccountInstance",
|
|
56
65
|
"package": "@xyo-network/account-model"
|
|
57
66
|
}
|
|
58
67
|
},
|
|
59
68
|
{
|
|
60
69
|
"id": 5,
|
|
61
70
|
"name": "logger",
|
|
71
|
+
"variant": "param",
|
|
62
72
|
"kind": 32768,
|
|
63
|
-
"kindString": "Parameter",
|
|
64
73
|
"flags": {
|
|
65
74
|
"isOptional": true
|
|
66
75
|
},
|
|
67
76
|
"type": {
|
|
68
77
|
"type": "reference",
|
|
78
|
+
"target": {
|
|
79
|
+
"sourceFileName": "../../../../node_modules/@xyo-network/core/src/lib/Base.ts",
|
|
80
|
+
"qualifiedName": "Logger"
|
|
81
|
+
},
|
|
69
82
|
"name": "Logger",
|
|
70
|
-
"qualifiedName": "Logger",
|
|
71
83
|
"package": "@xyo-network/core"
|
|
72
84
|
}
|
|
73
85
|
}
|
|
@@ -84,8 +96,11 @@
|
|
|
84
96
|
},
|
|
85
97
|
{
|
|
86
98
|
"type": "reference",
|
|
99
|
+
"target": {
|
|
100
|
+
"sourceFileName": "../../../../node_modules/@xyo-network/witness/src/WitnessWrapper.ts",
|
|
101
|
+
"qualifiedName": "WitnessWrapper"
|
|
102
|
+
},
|
|
87
103
|
"name": "WitnessWrapper",
|
|
88
|
-
"qualifiedName": "WitnessWrapper",
|
|
89
104
|
"package": "@xyo-network/witness"
|
|
90
105
|
}
|
|
91
106
|
]
|
|
@@ -99,8 +114,11 @@
|
|
|
99
114
|
},
|
|
100
115
|
{
|
|
101
116
|
"type": "reference",
|
|
117
|
+
"target": {
|
|
118
|
+
"sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
|
|
119
|
+
"qualifiedName": "Error"
|
|
120
|
+
},
|
|
102
121
|
"name": "Error",
|
|
103
|
-
"qualifiedName": "Error",
|
|
104
122
|
"package": "typescript"
|
|
105
123
|
}
|
|
106
124
|
]
|
|
@@ -113,52 +131,65 @@
|
|
|
113
131
|
{
|
|
114
132
|
"id": 6,
|
|
115
133
|
"name": "useWitnesses",
|
|
134
|
+
"variant": "declaration",
|
|
116
135
|
"kind": 64,
|
|
117
|
-
"kindString": "Function",
|
|
118
136
|
"flags": {},
|
|
119
137
|
"sources": [
|
|
120
138
|
{
|
|
121
139
|
"fileName": "witness/src/hooks/useWitnesses.tsx",
|
|
122
140
|
"line": 4,
|
|
123
141
|
"character": 13,
|
|
124
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
142
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/619c3fe27620/packages/modules/packages/witness/src/hooks/useWitnesses.tsx#L4"
|
|
125
143
|
}
|
|
126
144
|
],
|
|
127
145
|
"signatures": [
|
|
128
146
|
{
|
|
129
147
|
"id": 7,
|
|
130
148
|
"name": "useWitnesses",
|
|
149
|
+
"variant": "signature",
|
|
131
150
|
"kind": 4096,
|
|
132
|
-
"kindString": "Call signature",
|
|
133
151
|
"flags": {},
|
|
152
|
+
"sources": [
|
|
153
|
+
{
|
|
154
|
+
"fileName": "node/dist/types/hooks/useWrappedModules.d.ts",
|
|
155
|
+
"line": 32,
|
|
156
|
+
"character": 151
|
|
157
|
+
}
|
|
158
|
+
],
|
|
134
159
|
"parameters": [
|
|
135
160
|
{
|
|
136
161
|
"id": 8,
|
|
137
162
|
"name": "account",
|
|
163
|
+
"variant": "param",
|
|
138
164
|
"kind": 32768,
|
|
139
|
-
"kindString": "Parameter",
|
|
140
165
|
"flags": {
|
|
141
166
|
"isOptional": true
|
|
142
167
|
},
|
|
143
168
|
"type": {
|
|
144
169
|
"type": "reference",
|
|
170
|
+
"target": {
|
|
171
|
+
"sourceFileName": "../../../../node_modules/@xyo-network/account-model/src/Account.ts",
|
|
172
|
+
"qualifiedName": "AccountInstance"
|
|
173
|
+
},
|
|
145
174
|
"name": "AccountInstance",
|
|
146
|
-
"qualifiedName": "AccountInstance",
|
|
147
175
|
"package": "@xyo-network/account-model"
|
|
148
176
|
}
|
|
149
177
|
},
|
|
150
178
|
{
|
|
151
179
|
"id": 9,
|
|
152
180
|
"name": "logger",
|
|
181
|
+
"variant": "param",
|
|
153
182
|
"kind": 32768,
|
|
154
|
-
"kindString": "Parameter",
|
|
155
183
|
"flags": {
|
|
156
184
|
"isOptional": true
|
|
157
185
|
},
|
|
158
186
|
"type": {
|
|
159
187
|
"type": "reference",
|
|
188
|
+
"target": {
|
|
189
|
+
"sourceFileName": "../../../../node_modules/@xyo-network/core/src/lib/Base.ts",
|
|
190
|
+
"qualifiedName": "Logger"
|
|
191
|
+
},
|
|
160
192
|
"name": "Logger",
|
|
161
|
-
"qualifiedName": "Logger",
|
|
162
193
|
"package": "@xyo-network/core"
|
|
163
194
|
}
|
|
164
195
|
}
|
|
@@ -177,8 +208,11 @@
|
|
|
177
208
|
"type": "array",
|
|
178
209
|
"elementType": {
|
|
179
210
|
"type": "reference",
|
|
211
|
+
"target": {
|
|
212
|
+
"sourceFileName": "../../../../node_modules/@xyo-network/witness/src/WitnessWrapper.ts",
|
|
213
|
+
"qualifiedName": "WitnessWrapper"
|
|
214
|
+
},
|
|
180
215
|
"name": "WitnessWrapper",
|
|
181
|
-
"qualifiedName": "WitnessWrapper",
|
|
182
216
|
"package": "@xyo-network/witness"
|
|
183
217
|
}
|
|
184
218
|
}
|
|
@@ -193,8 +227,11 @@
|
|
|
193
227
|
},
|
|
194
228
|
{
|
|
195
229
|
"type": "reference",
|
|
230
|
+
"target": {
|
|
231
|
+
"sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
|
|
232
|
+
"qualifiedName": "Error"
|
|
233
|
+
},
|
|
196
234
|
"name": "Error",
|
|
197
|
-
"qualifiedName": "Error",
|
|
198
235
|
"package": "typescript"
|
|
199
236
|
}
|
|
200
237
|
]
|
|
@@ -214,12 +251,53 @@
|
|
|
214
251
|
]
|
|
215
252
|
}
|
|
216
253
|
],
|
|
217
|
-
"
|
|
254
|
+
"packageName": "@xyo-network/react-witness",
|
|
255
|
+
"readme": [
|
|
218
256
|
{
|
|
219
|
-
"
|
|
220
|
-
"
|
|
221
|
-
|
|
222
|
-
|
|
257
|
+
"kind": "text",
|
|
258
|
+
"text": "[![logo][]](https://xyo.network)\n\nPart of [@xyo-network/sdk-xyo-react](https://www.npmjs.com/package/@xyo-network/sdk-xyo-react)\n\n## License\n\n> See the [LICENSE](LICENSE) file for license details\n\n## Credits\n\n[Made with 🔥 and ❄️ by XYO](https://xyo.network)\n\n[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png"
|
|
259
|
+
}
|
|
260
|
+
],
|
|
261
|
+
"symbolIdMap": {
|
|
262
|
+
"0": {
|
|
263
|
+
"sourceFileName": "src/index.ts",
|
|
264
|
+
"qualifiedName": ""
|
|
265
|
+
},
|
|
266
|
+
"1": {
|
|
267
|
+
"sourceFileName": "src/hooks/useWitness.tsx",
|
|
268
|
+
"qualifiedName": "useWitness"
|
|
269
|
+
},
|
|
270
|
+
"2": {
|
|
271
|
+
"sourceFileName": "../node/src/hooks/useWrappedModule.tsx",
|
|
272
|
+
"qualifiedName": "useWitness"
|
|
273
|
+
},
|
|
274
|
+
"3": {
|
|
275
|
+
"sourceFileName": "../node/src/hooks/useWrappedModule.tsx",
|
|
276
|
+
"qualifiedName": "nameOrAddress"
|
|
277
|
+
},
|
|
278
|
+
"4": {
|
|
279
|
+
"sourceFileName": "../node/src/hooks/useWrappedModule.tsx",
|
|
280
|
+
"qualifiedName": "account"
|
|
281
|
+
},
|
|
282
|
+
"5": {
|
|
283
|
+
"sourceFileName": "../node/src/hooks/useWrappedModule.tsx",
|
|
284
|
+
"qualifiedName": "logger"
|
|
285
|
+
},
|
|
286
|
+
"6": {
|
|
287
|
+
"sourceFileName": "src/hooks/useWitnesses.tsx",
|
|
288
|
+
"qualifiedName": "useWitnesses"
|
|
289
|
+
},
|
|
290
|
+
"7": {
|
|
291
|
+
"sourceFileName": "../node/src/hooks/useWrappedModules.tsx",
|
|
292
|
+
"qualifiedName": "useWitnesses"
|
|
293
|
+
},
|
|
294
|
+
"8": {
|
|
295
|
+
"sourceFileName": "../node/src/hooks/useWrappedModules.tsx",
|
|
296
|
+
"qualifiedName": "account"
|
|
297
|
+
},
|
|
298
|
+
"9": {
|
|
299
|
+
"sourceFileName": "../node/src/hooks/useWrappedModules.tsx",
|
|
300
|
+
"qualifiedName": "logger"
|
|
223
301
|
}
|
|
224
|
-
|
|
302
|
+
}
|
|
225
303
|
}
|
package/package.json
CHANGED
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/react-node": "^2.
|
|
13
|
+
"@xyo-network/react-node": "^2.54.1",
|
|
14
14
|
"@xyo-network/witness": "^2.62.1"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@xylabs/ts-scripts-yarn3": "^2.17.
|
|
18
|
-
"@xylabs/tsconfig-react": "^2.17.
|
|
17
|
+
"@xylabs/ts-scripts-yarn3": "^2.17.14",
|
|
18
|
+
"@xylabs/tsconfig-react": "^2.17.14",
|
|
19
19
|
"typescript": "^5.1.3"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
},
|
|
71
71
|
"sideEffects": false,
|
|
72
72
|
"types": "dist/types/index.d.ts",
|
|
73
|
-
"version": "2.
|
|
73
|
+
"version": "2.54.1"
|
|
74
74
|
}
|