@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.
@@ -38513,7 +38513,15 @@ var createIslandStore = (storeId) => (createState) => {
38513
38513
  if (existingStore) {
38514
38514
  return existingStore;
38515
38515
  }
38516
- const store = createStore()(createState);
38516
+ const store = createStore()((set, get, api) => createState((update) => {
38517
+ set((state) => {
38518
+ const nextPartial = typeof update === "function" ? update(state) : update;
38519
+ return {
38520
+ ...state,
38521
+ ...nextPartial
38522
+ };
38523
+ });
38524
+ }, get, api));
38517
38525
  const initialSnapshot = getIslandStoreSnapshot()[storeId];
38518
38526
  applySnapshot(store, initialSnapshot);
38519
38527
  getIslandStoreSnapshot()[storeId] = toSerializableState(store.getState());
@@ -38567,5 +38575,5 @@ export {
38567
38575
  Island
38568
38576
  };
38569
38577
 
38570
- //# debugId=D9FEFCEEF55F5AEA64756E2164756E21
38578
+ //# debugId=FA0D8CD2D75B6B1D64756E2164756E21
38571
38579
  //# sourceMappingURL=browser.js.map