@absolutejs/absolute 0.19.0-beta.339 → 0.19.0-beta.340
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/angular/browser.js +8 -3
- package/dist/angular/browser.js.map +5 -4
- package/dist/angular/index.js +8 -3
- package/dist/angular/index.js.map +5 -4
- package/dist/build.js +2 -2
- package/dist/build.js.map +1 -1
- package/dist/client/index.js +8 -3
- package/dist/client/index.js.map +5 -4
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/islands/browser.js +8 -3
- package/dist/islands/browser.js.map +5 -4
- package/dist/islands/index.js +8 -3
- package/dist/islands/index.js.map +5 -4
- package/dist/islands/server.js +8 -3
- package/dist/islands/server.js.map +5 -4
- package/dist/react/browser.js +8 -3
- package/dist/react/browser.js.map +5 -4
- package/dist/react/hooks/index.js +8 -3
- package/dist/react/hooks/index.js.map +5 -4
- package/dist/react/index.js +8 -3
- package/dist/react/index.js.map +5 -4
- package/dist/src/client/islandStore.d.ts +1 -1
- package/dist/svelte/browser.js +8 -3
- package/dist/svelte/browser.js.map +5 -4
- package/dist/svelte/index.js +8 -3
- package/dist/svelte/index.js.map +5 -4
- package/dist/vue/browser.js +8 -3
- package/dist/vue/browser.js.map +5 -4
- package/dist/vue/index.js +8 -3
- package/dist/vue/index.js.map +5 -4
- package/package.json +1 -1
package/dist/angular/browser.js
CHANGED
|
@@ -38476,6 +38476,11 @@ var createStoreImpl = (createState) => {
|
|
|
38476
38476
|
};
|
|
38477
38477
|
var createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;
|
|
38478
38478
|
|
|
38479
|
+
// node_modules/zustand/esm/middleware.mjs
|
|
38480
|
+
function combine(initialState, create) {
|
|
38481
|
+
return (...args) => Object.assign({}, initialState, create(...args));
|
|
38482
|
+
}
|
|
38483
|
+
|
|
38479
38484
|
// src/client/islandStore.ts
|
|
38480
38485
|
var getIslandStoreSnapshot = () => {
|
|
38481
38486
|
globalThis.__ABS_ISLAND_STATE__ ??= {};
|
|
@@ -38509,8 +38514,8 @@ var initializeIslandStores = (state) => {
|
|
|
38509
38514
|
}
|
|
38510
38515
|
}
|
|
38511
38516
|
};
|
|
38512
|
-
var createIslandStore = (storeId, createState) => {
|
|
38513
|
-
const store = createStore(createState);
|
|
38517
|
+
var createIslandStore = (storeId, initialState, createState) => {
|
|
38518
|
+
const store = createStore(combine(initialState, createState));
|
|
38514
38519
|
const stores = getIslandStores();
|
|
38515
38520
|
const storeInstances = stores.get(storeId) ?? new Set;
|
|
38516
38521
|
const initialSnapshot = getIslandStoreSnapshot()[storeId];
|
|
@@ -38589,5 +38594,5 @@ export {
|
|
|
38589
38594
|
Island
|
|
38590
38595
|
};
|
|
38591
38596
|
|
|
38592
|
-
//# debugId=
|
|
38597
|
+
//# debugId=DEC02EDF17D62E8B64756E2164756E21
|
|
38593
38598
|
//# sourceMappingURL=browser.js.map
|