@xyo-network/react-schema 2.60.12 → 2.61.0
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/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/package.json +21 -22
- package/src/contexts/Schema/Provider/Memory.tsx +1 -1
- package/dist/docs.json +0 -2185
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SchemaMemoryProvider = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
|
-
const
|
|
6
|
+
const lodash_1 = require("@xylabs/lodash");
|
|
7
7
|
const react_1 = require("react");
|
|
8
8
|
const hooks_1 = require("../../../hooks");
|
|
9
9
|
const Context_1 = require("../Context");
|
|
@@ -14,7 +14,7 @@ const SchemaMemoryProvider = (_a) => {
|
|
|
14
14
|
const [fetchedSchemaStats] = (0, hooks_1.useSchemaStats)();
|
|
15
15
|
(0, react_1.useEffect)(() => {
|
|
16
16
|
if (fetchedSchemaStats) {
|
|
17
|
-
const schemaList = (0,
|
|
17
|
+
const schemaList = (0, lodash_1.compact)(fetchedSchemaStats.map(({ name }) => name));
|
|
18
18
|
setSchemaList(schemaList);
|
|
19
19
|
}
|
|
20
20
|
}, [fetchedSchemaStats]);
|
|
@@ -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":";;;;;AAAA,2CAAwC;AAExC,iCAA2C;AAE3C,0CAA+C;AAC/C,wCAA0C;AAGnC,MAAM,oBAAoB,GAAgD,CAAC,EAAiD,EAAE,EAAE;QAArD,EAAE,aAAa,EAAE,eAAe,GAAG,EAAE,OAAY,EAAP,KAAK,sBAA/C,oCAAiD,CAAF;IAC/H,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAC,aAAa,CAAC,CAAA;IACnD,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAuB,eAAe,CAAC,CAAA;IACnF,MAAM,CAAC,kBAAkB,CAAC,GAAG,IAAA,sBAAc,GAAE,CAAA;IAE7C,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,IAAI,kBAAkB,EAAE;YACtB,MAAM,UAAU,GAAG,IAAA,gBAAO,EAAC,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,uBAAC,uBAAa,CAAC,QAAQ,kBAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,UAAU,EAAE,SAAS,EAAE,aAAa,EAAE,IAAM,KAAK,EAAI,CAAA;AACtJ,CAAC,CAAA;AAbY,QAAA,oBAAoB,wBAahC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import compact from 'lodash
|
|
2
|
+
import { compact } from '@xylabs/lodash';
|
|
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":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAExC,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":";AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAKnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,mBAAmB,CAAC,CAa5E,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,35 +10,34 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
+
"@xylabs/lodash": "^2.10.11",
|
|
13
14
|
"@xylabs/react-async-effect": "~2.17.15",
|
|
14
15
|
"@xylabs/react-link": "~2.17.15",
|
|
15
16
|
"@xylabs/react-select": "~2.17.15",
|
|
16
17
|
"@xylabs/react-shared": "~2.17.15",
|
|
17
|
-
"@xyo-network/diviner-schema-list-model": "^2.
|
|
18
|
-
"@xyo-network/diviner-schema-stats-model": "^2.
|
|
19
|
-
"@xyo-network/node-core-types": "^2.
|
|
20
|
-
"@xyo-network/payload-builder": "^2.
|
|
21
|
-
"@xyo-network/payload-model": "^2.
|
|
22
|
-
"@xyo-network/react-diviner": "~2.
|
|
23
|
-
"@xyo-network/react-event": "~2.
|
|
24
|
-
"@xyo-network/react-property": "~2.
|
|
25
|
-
"@xyo-network/react-shared": "~2.
|
|
26
|
-
"@xyo-network/schema-cache": "^2.
|
|
27
|
-
"@xyo-network/schema-payload-plugin": "^2.
|
|
28
|
-
"lodash": "^4.17.21"
|
|
18
|
+
"@xyo-network/diviner-schema-list-model": "^2.73.3",
|
|
19
|
+
"@xyo-network/diviner-schema-stats-model": "^2.73.3",
|
|
20
|
+
"@xyo-network/node-core-types": "^2.73.3",
|
|
21
|
+
"@xyo-network/payload-builder": "^2.73.3",
|
|
22
|
+
"@xyo-network/payload-model": "^2.73.3",
|
|
23
|
+
"@xyo-network/react-diviner": "~2.61.0",
|
|
24
|
+
"@xyo-network/react-event": "~2.61.0",
|
|
25
|
+
"@xyo-network/react-property": "~2.61.0",
|
|
26
|
+
"@xyo-network/react-shared": "~2.61.0",
|
|
27
|
+
"@xyo-network/schema-cache": "^2.73.3",
|
|
28
|
+
"@xyo-network/schema-payload-plugin": "^2.73.3"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@storybook/react": "^7.4.0",
|
|
32
|
-
"@types/lodash": "^4.14.198",
|
|
33
32
|
"@xylabs/react-flexbox": "~2.17.15",
|
|
34
|
-
"@xylabs/ts-scripts-yarn3": "^2.19.
|
|
35
|
-
"@xylabs/tsconfig-react": "^2.19.
|
|
36
|
-
"@xyo-network/http-bridge": "^2.
|
|
37
|
-
"@xyo-network/node-memory": "^2.
|
|
38
|
-
"@xyo-network/node-model": "^2.
|
|
39
|
-
"@xyo-network/react-node": "~2.
|
|
40
|
-
"@xyo-network/react-storybook": "~2.
|
|
41
|
-
"@xyo-network/react-wallet": "~2.
|
|
33
|
+
"@xylabs/ts-scripts-yarn3": "^2.19.5",
|
|
34
|
+
"@xylabs/tsconfig-react": "^2.19.5",
|
|
35
|
+
"@xyo-network/http-bridge": "^2.73.3",
|
|
36
|
+
"@xyo-network/node-memory": "^2.73.3",
|
|
37
|
+
"@xyo-network/node-model": "^2.73.3",
|
|
38
|
+
"@xyo-network/react-node": "~2.61.0",
|
|
39
|
+
"@xyo-network/react-storybook": "~2.61.0",
|
|
40
|
+
"@xyo-network/react-wallet": "~2.61.0",
|
|
42
41
|
"react-json-view": "^1.21.3",
|
|
43
42
|
"typescript": "^5.2.2"
|
|
44
43
|
},
|
|
@@ -94,5 +93,5 @@
|
|
|
94
93
|
},
|
|
95
94
|
"sideEffects": false,
|
|
96
95
|
"types": "dist/types/index.d.ts",
|
|
97
|
-
"version": "2.
|
|
96
|
+
"version": "2.61.0"
|
|
98
97
|
}
|