@overmap-ai/core 1.0.57-export-overmap-reducer.0 → 1.0.57-export-overmap-reducer.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.
@@ -3226,6 +3226,8 @@ var __publicField = (obj, key, value) => {
3226
3226
  },
3227
3227
  appearance: "dark",
3228
3228
  isFetchingInitialData: false,
3229
+ // TODO: this is being used only in the custom hook in /web called useRetrySDK, which has something to do with licences
3230
+ // this has no purpose of being put into /core, it should be removed from here. But licences need to be fixed before this is done.
3229
3231
  isLoading: false
3230
3232
  };
3231
3233
  const settingSlice = toolkit.createSlice({
@@ -8343,14 +8345,14 @@ var __publicField = (obj, key, value) => {
8343
8345
  }
8344
8346
  const makeClient = (apiUrl, store) => new OvermapSDK(apiUrl, store);
8345
8347
  const SDKContext = React.createContext({});
8346
- const SDKProvider = React.memo(({ children, API_URL, store }) => {
8348
+ const SDKProvider = genericMemo(function SDKProvider2(props) {
8349
+ const { children, API_URL, store } = props;
8347
8350
  const client = React.useMemo(() => makeClient(API_URL, store), [API_URL, store]);
8348
8351
  React.useEffect(() => {
8349
8352
  setClientStore(store);
8350
8353
  }, [store]);
8351
8354
  return /* @__PURE__ */ jsxRuntime.jsx(SDKContext.Provider, { value: { sdk: client }, children });
8352
8355
  });
8353
- SDKProvider.displayName = "SDKProvider";
8354
8356
  const useSDK = () => {
8355
8357
  return React.useContext(SDKContext);
8356
8358
  };