@jsonui/react 0.7.2 → 0.7.4

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 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) || null;
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