@xyo-network/react-witness 2.48.4 → 2.48.6
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
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"fileName": "witness/src/hooks/useWitness.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/3adeaa95712/packages/modules/packages/witness/src/hooks/useWitness.tsx#L4"
|
|
21
21
|
}
|
|
22
22
|
],
|
|
23
23
|
"signatures": [
|
|
@@ -58,26 +58,17 @@
|
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"id": 5,
|
|
61
|
-
"name": "
|
|
61
|
+
"name": "logger",
|
|
62
62
|
"kind": 32768,
|
|
63
63
|
"kindString": "Parameter",
|
|
64
64
|
"flags": {
|
|
65
65
|
"isOptional": true
|
|
66
66
|
},
|
|
67
67
|
"type": {
|
|
68
|
-
"type": "
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"name": "boolean"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"type": "reference",
|
|
76
|
-
"name": "RenderSpinCheckConfig",
|
|
77
|
-
"qualifiedName": "RenderSpinCheckConfig",
|
|
78
|
-
"package": "@xylabs/react-render-spin-check"
|
|
79
|
-
}
|
|
80
|
-
]
|
|
68
|
+
"type": "reference",
|
|
69
|
+
"name": "Logger",
|
|
70
|
+
"qualifiedName": "Logger",
|
|
71
|
+
"package": "@xyo-network/core"
|
|
81
72
|
}
|
|
82
73
|
}
|
|
83
74
|
],
|
|
@@ -130,7 +121,7 @@
|
|
|
130
121
|
"fileName": "witness/src/hooks/useWitnesses.tsx",
|
|
131
122
|
"line": 4,
|
|
132
123
|
"character": 13,
|
|
133
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
124
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3adeaa95712/packages/modules/packages/witness/src/hooks/useWitnesses.tsx#L4"
|
|
134
125
|
}
|
|
135
126
|
],
|
|
136
127
|
"signatures": [
|
|
@@ -158,30 +149,6 @@
|
|
|
158
149
|
},
|
|
159
150
|
{
|
|
160
151
|
"id": 9,
|
|
161
|
-
"name": "spinCheck",
|
|
162
|
-
"kind": 32768,
|
|
163
|
-
"kindString": "Parameter",
|
|
164
|
-
"flags": {
|
|
165
|
-
"isOptional": true
|
|
166
|
-
},
|
|
167
|
-
"type": {
|
|
168
|
-
"type": "union",
|
|
169
|
-
"types": [
|
|
170
|
-
{
|
|
171
|
-
"type": "intrinsic",
|
|
172
|
-
"name": "boolean"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"type": "reference",
|
|
176
|
-
"name": "RenderSpinCheckConfig",
|
|
177
|
-
"qualifiedName": "RenderSpinCheckConfig",
|
|
178
|
-
"package": "@xylabs/react-render-spin-check"
|
|
179
|
-
}
|
|
180
|
-
]
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"id": 10,
|
|
185
152
|
"name": "logger",
|
|
186
153
|
"kind": 32768,
|
|
187
154
|
"kindString": "Parameter",
|
|
@@ -252,7 +219,7 @@
|
|
|
252
219
|
"fileName": "witness/src/index.ts",
|
|
253
220
|
"line": 1,
|
|
254
221
|
"character": 0,
|
|
255
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
222
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3adeaa95712/packages/modules/packages/witness/src/index.ts#L1"
|
|
256
223
|
}
|
|
257
224
|
]
|
|
258
225
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { WitnessWrapper } from '@xyo-network/witness';
|
|
2
|
-
export declare const useWitness: (nameOrAddress?: string | undefined, account?: import("@xyo-network/account-model").AccountInstance | undefined,
|
|
2
|
+
export declare const useWitness: (nameOrAddress?: string | undefined, account?: import("@xyo-network/account-model").AccountInstance | undefined, logger?: import("@xyo-network/core").Logger | undefined) => [WitnessWrapper | undefined, Error | undefined];
|
|
3
3
|
//# sourceMappingURL=useWitness.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWitness.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWitness.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAErD,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"useWitness.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWitness.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAErD,eAAO,MAAM,UAAU,8NAAyD,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { WitnessWrapper } from '@xyo-network/witness';
|
|
2
|
-
export declare const useWitnesses: (account?: import("@xyo-network/account-model").AccountInstance | undefined,
|
|
2
|
+
export declare const useWitnesses: (account?: import("@xyo-network/account-model").AccountInstance | undefined, logger?: import("@xyo-network/core").Logger | undefined) => [WitnessWrapper[] | undefined, Error | undefined];
|
|
3
3
|
//# sourceMappingURL=useWitnesses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useWitnesses.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWitnesses.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAErD,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"useWitnesses.d.ts","sourceRoot":"","sources":["../../../src/hooks/useWitnesses.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAErD,eAAO,MAAM,YAAY,4LAA4D,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/react-node": "^2.48.
|
|
14
|
-
"@xyo-network/witness": "^2.55.
|
|
13
|
+
"@xyo-network/react-node": "^2.48.6",
|
|
14
|
+
"@xyo-network/witness": "^2.55.2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@xylabs/ts-scripts-yarn3": "^2.16.5",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
},
|
|
71
71
|
"sideEffects": false,
|
|
72
72
|
"types": "dist/types/index.d.ts",
|
|
73
|
-
"version": "2.48.
|
|
73
|
+
"version": "2.48.6"
|
|
74
74
|
}
|