@absolutejs/absolute 0.19.0-beta.336 → 0.19.0-beta.337

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.
@@ -39755,7 +39755,15 @@ var createIslandStore = (storeId) => (createState) => {
39755
39755
  if (existingStore) {
39756
39756
  return existingStore;
39757
39757
  }
39758
- const store = createStore()(createState);
39758
+ const store = createStore()((set, get, api) => createState((update) => {
39759
+ set((state) => {
39760
+ const nextPartial = typeof update === "function" ? update(state) : update;
39761
+ return {
39762
+ ...state,
39763
+ ...nextPartial
39764
+ };
39765
+ });
39766
+ }, get, api));
39759
39767
  const initialSnapshot = getIslandStoreSnapshot()[storeId];
39760
39768
  applySnapshot(store, initialSnapshot);
39761
39769
  getIslandStoreSnapshot()[storeId] = toSerializableState(store.getState());
@@ -39809,5 +39817,5 @@ export {
39809
39817
  Island
39810
39818
  };
39811
39819
 
39812
- //# debugId=B0FCCDB646127B3764756E2164756E21
39820
+ //# debugId=A81F267E47B9578264756E2164756E21
39813
39821
  //# sourceMappingURL=index.js.map