@xyo-network/react-schema 2.61.0 → 2.63.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/cjs/contexts/Schema/Provider/Memory.js +2 -2
- package/dist/cjs/contexts/Schema/Provider/Memory.js.map +1 -1
- package/dist/docs.json +2057 -0
- package/dist/esm/contexts/Schema/Provider/Memory.js +1 -1
- package/dist/esm/contexts/Schema/Provider/Memory.js.map +1 -1
- package/dist/types/contexts/Schema/Provider/Memory.d.ts.map +1 -1
- package/dist/types/hooks/useGetSchema.d.ts +1 -5
- package/dist/types/hooks/useGetSchema.d.ts.map +1 -1
- package/package.json +28 -27
- package/src/contexts/Schema/Provider/Memory.tsx +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import compact from 'lodash/compact';
|
|
3
3
|
import { useEffect, useState } from 'react';
|
|
4
4
|
import { useSchemaStats } from '../../../hooks';
|
|
5
5
|
import { SchemaContext } from '../Context';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Memory.js","sourceRoot":"","sources":["../../../../../src/contexts/Schema/Provider/Memory.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Memory.js","sourceRoot":"","sources":["../../../../../src/contexts/Schema/Provider/Memory.tsx"],"names":[],"mappings":";AACA,OAAO,OAAO,MAAM,gBAAgB,CAAA;AACpC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAG1C,MAAM,CAAC,MAAM,oBAAoB,GAAgD,CAAC,EAAE,aAAa,EAAE,eAAe,GAAG,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IACrI,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAA;IACnD,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAuB,eAAe,CAAC,CAAA;IACnF,MAAM,CAAC,kBAAkB,CAAC,GAAG,cAAc,EAAE,CAAA;IAE7C,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,kBAAkB,EAAE;YACtB,MAAM,UAAU,GAAG,OAAO,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAA;YACtE,aAAa,CAAC,UAAU,CAAC,CAAA;SAC1B;IACH,CAAC,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAA;IAExB,OAAO,KAAC,aAAa,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,eAAe,IAAI,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,KAAM,KAAK,GAAI,CAAA;AACtJ,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Memory.d.ts","sourceRoot":"","sources":["../../../../../src/contexts/Schema/Provider/Memory.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Memory.d.ts","sourceRoot":"","sources":["../../../../../src/contexts/Schema/Provider/Memory.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAMnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAa5E,CAAA"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
declare const useGetSchemaPayload: (schema?: string) => {
|
|
5
5
|
notFound: boolean;
|
|
6
|
-
schemaHuri: import("@xyo-network/huri").Huri<
|
|
6
|
+
schemaHuri: import("@xyo-network/huri").Huri<{
|
|
7
7
|
schema: string;
|
|
8
8
|
}> | undefined;
|
|
9
9
|
schemaPayload: (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
@@ -14,8 +14,6 @@ declare const useGetSchemaPayload: (schema?: string) => {
|
|
|
14
14
|
extends?: string | undefined;
|
|
15
15
|
name?: string | undefined;
|
|
16
16
|
schema: "network.xyo.schema";
|
|
17
|
-
} & {
|
|
18
|
-
schema: "network.xyo.schema";
|
|
19
17
|
}) | null | undefined;
|
|
20
18
|
xyoError: (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
|
|
21
19
|
message?: string | undefined;
|
|
@@ -23,8 +21,6 @@ declare const useGetSchemaPayload: (schema?: string) => {
|
|
|
23
21
|
query?: string | undefined;
|
|
24
22
|
schema: "network.xyo.error.module";
|
|
25
23
|
sources?: string[] | undefined;
|
|
26
|
-
} & {
|
|
27
|
-
schema: "network.xyo.error.module";
|
|
28
24
|
}) | undefined;
|
|
29
25
|
};
|
|
30
26
|
export { useGetSchemaPayload };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetSchema.d.ts","sourceRoot":"","sources":["../../../src/hooks/useGetSchema.tsx"],"names":[],"mappings":"AAOA;;GAEG;AACH,QAAA,MAAM,mBAAmB,YAAa,MAAM
|
|
1
|
+
{"version":3,"file":"useGetSchema.d.ts","sourceRoot":"","sources":["../../../src/hooks/useGetSchema.tsx"],"names":[],"mappings":"AAOA;;GAEG;AACH,QAAA,MAAM,mBAAmB,YAAa,MAAM;;;;;;;;;;;;;;;;;;;;;CA0C3C,CAAA;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,34 +10,35 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xylabs/
|
|
14
|
-
"@xylabs/react-
|
|
15
|
-
"@xylabs/react-
|
|
16
|
-
"@xylabs/react-
|
|
17
|
-
"@
|
|
18
|
-
"@xyo-network/diviner-schema-
|
|
19
|
-
"@xyo-network/
|
|
20
|
-
"@xyo-network/
|
|
21
|
-
"@xyo-network/payload-
|
|
22
|
-
"@xyo-network/
|
|
23
|
-
"@xyo-network/react-
|
|
24
|
-
"@xyo-network/react-
|
|
25
|
-
"@xyo-network/react-
|
|
26
|
-
"@xyo-network/
|
|
27
|
-
"@xyo-network/schema-
|
|
28
|
-
"
|
|
13
|
+
"@xylabs/react-async-effect": "~2.19.1",
|
|
14
|
+
"@xylabs/react-link": "~2.19.1",
|
|
15
|
+
"@xylabs/react-select": "~2.19.1",
|
|
16
|
+
"@xylabs/react-shared": "~2.19.1",
|
|
17
|
+
"@xyo-network/diviner-schema-list-model": "^2.74.3",
|
|
18
|
+
"@xyo-network/diviner-schema-stats-model": "^2.74.3",
|
|
19
|
+
"@xyo-network/node-core-types": "^2.74.3",
|
|
20
|
+
"@xyo-network/payload-builder": "^2.74.3",
|
|
21
|
+
"@xyo-network/payload-model": "^2.74.3",
|
|
22
|
+
"@xyo-network/react-diviner": "~2.63.1",
|
|
23
|
+
"@xyo-network/react-event": "~2.63.1",
|
|
24
|
+
"@xyo-network/react-property": "~2.63.1",
|
|
25
|
+
"@xyo-network/react-shared": "~2.63.1",
|
|
26
|
+
"@xyo-network/schema-cache": "^2.74.3",
|
|
27
|
+
"@xyo-network/schema-payload-plugin": "^2.74.3",
|
|
28
|
+
"lodash": "^4.17.21"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@storybook/react": "^7.4.
|
|
32
|
-
"@
|
|
33
|
-
"@xylabs/
|
|
34
|
-
"@xylabs/
|
|
35
|
-
"@
|
|
36
|
-
"@xyo-network/
|
|
37
|
-
"@xyo-network/node-
|
|
38
|
-
"@xyo-network/
|
|
39
|
-
"@xyo-network/react-
|
|
40
|
-
"@xyo-network/react-
|
|
31
|
+
"@storybook/react": "^7.4.3",
|
|
32
|
+
"@types/lodash": "^4.14.198",
|
|
33
|
+
"@xylabs/react-flexbox": "~2.19.1",
|
|
34
|
+
"@xylabs/ts-scripts-yarn3": "^2.19.12",
|
|
35
|
+
"@xylabs/tsconfig-react": "^2.19.12",
|
|
36
|
+
"@xyo-network/http-bridge": "^2.74.3",
|
|
37
|
+
"@xyo-network/node-memory": "^2.74.3",
|
|
38
|
+
"@xyo-network/node-model": "^2.74.3",
|
|
39
|
+
"@xyo-network/react-node": "~2.63.1",
|
|
40
|
+
"@xyo-network/react-storybook": "~2.63.1",
|
|
41
|
+
"@xyo-network/react-wallet": "~2.63.1",
|
|
41
42
|
"react-json-view": "^1.21.3",
|
|
42
43
|
"typescript": "^5.2.2"
|
|
43
44
|
},
|
|
@@ -93,5 +94,5 @@
|
|
|
93
94
|
},
|
|
94
95
|
"sideEffects": false,
|
|
95
96
|
"types": "dist/types/index.d.ts",
|
|
96
|
-
"version": "2.
|
|
97
|
+
"version": "2.63.1"
|
|
97
98
|
}
|