@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.
@@ -29942,7 +29942,15 @@ var createIslandStore = (storeId) => (createState) => {
29942
29942
  if (existingStore) {
29943
29943
  return existingStore;
29944
29944
  }
29945
- const store = createStore()(createState);
29945
+ const store = createStore()((set, get, api) => createState((update) => {
29946
+ set((state) => {
29947
+ const nextPartial = typeof update === "function" ? update(state) : update;
29948
+ return {
29949
+ ...state,
29950
+ ...nextPartial
29951
+ };
29952
+ });
29953
+ }, get, api));
29946
29954
  const initialSnapshot = getIslandStoreSnapshot()[storeId];
29947
29955
  applySnapshot(store, initialSnapshot);
29948
29956
  getIslandStoreSnapshot()[storeId] = toSerializableState(store.getState());
@@ -30236,5 +30244,5 @@ export {
30236
30244
  createIslandManifestResolver
30237
30245
  };
30238
30246
 
30239
- //# debugId=4E2FF1E2436F6DF964756E2164756E21
30247
+ //# debugId=ED02FF0864132D5064756E2164756E21
30240
30248
  //# sourceMappingURL=index.js.map