@jsonui/react 0.7.2 → 0.7.3
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/index.js +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/tests/redux.test.d.ts +13 -0
- package/dist/cjs/types/types.d.ts +3 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/esm/types/tests/redux.test.d.ts +13 -0
- package/dist/esm/types/types.d.ts +3 -3
- package/dist/index.d.ts +4 -4
- package/package.json +3 -3
package/dist/cjs/index.js
CHANGED
|
@@ -18789,7 +18789,7 @@ var ReduxPathTypeEnum;
|
|
|
18789
18789
|
ReduxPathTypeEnum["TOUCH"] = "TOUCH";
|
|
18790
18790
|
ReduxPathTypeEnum["NORMAL"] = "NORMAL";
|
|
18791
18791
|
})(ReduxPathTypeEnum || (ReduxPathTypeEnum = {}));const getState = (state) => state === null || state === void 0 ? void 0 : state.root;
|
|
18792
|
-
const getValue = (state, store, path) => jsonPointerGet(state[store], path)
|
|
18792
|
+
const getValue = (state, store, path) => jsonPointerGet(state[store], path);
|
|
18793
18793
|
const getStoreNameFromType = (store, type) =>
|
|
18794
18794
|
// eslint-disable-next-line no-nested-ternary
|
|
18795
18795
|
type === ReduxPathTypeEnum.ERROR ? `${store}${STORE_ERROR_POSTFIX}` : type === ReduxPathTypeEnum.TOUCH ? `${store}${STORE_TOUCH_POSTFIX}` : `${store}`;
|
|
@@ -19969,4 +19969,5 @@ const JsonUI = (props) => jsxRuntime$1.exports.jsx(ViewerWeb, Object.assign({},
|
|
|
19969
19969
|
exports.JsonUI = JsonUI;
|
|
19970
19970
|
exports.MessageHandler = MessageHandler;
|
|
19971
19971
|
exports.MessageHandlerContext = MessageHandlerContext;
|
|
19972
|
+
exports["default"] = JsonUI;
|
|
19972
19973
|
//# sourceMappingURL=index.js.map
|