@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/client/index.js
CHANGED
|
@@ -29905,6 +29905,11 @@ var createStoreImpl = (createState) => {
|
|
|
29905
29905
|
};
|
|
29906
29906
|
var createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;
|
|
29907
29907
|
|
|
29908
|
+
// node_modules/zustand/esm/middleware.mjs
|
|
29909
|
+
function combine(initialState, create) {
|
|
29910
|
+
return (...args) => Object.assign({}, initialState, create(...args));
|
|
29911
|
+
}
|
|
29912
|
+
|
|
29908
29913
|
// src/client/islandStore.ts
|
|
29909
29914
|
var getIslandStoreSnapshot = () => {
|
|
29910
29915
|
globalThis.__ABS_ISLAND_STATE__ ??= {};
|
|
@@ -29938,8 +29943,8 @@ var initializeIslandStores = (state) => {
|
|
|
29938
29943
|
}
|
|
29939
29944
|
}
|
|
29940
29945
|
};
|
|
29941
|
-
var createIslandStore = (storeId, createState) => {
|
|
29942
|
-
const store = createStore(createState);
|
|
29946
|
+
var createIslandStore = (storeId, initialState, createState) => {
|
|
29947
|
+
const store = createStore(combine(initialState, createState));
|
|
29943
29948
|
const stores = getIslandStores();
|
|
29944
29949
|
const storeInstances = stores.get(storeId) ?? new Set;
|
|
29945
29950
|
const initialSnapshot = getIslandStoreSnapshot()[storeId];
|
|
@@ -30258,5 +30263,5 @@ export {
|
|
|
30258
30263
|
createIslandManifestResolver
|
|
30259
30264
|
};
|
|
30260
30265
|
|
|
30261
|
-
//# debugId=
|
|
30266
|
+
//# debugId=25BC0AC8AC6B255164756E2164756E21
|
|
30262
30267
|
//# sourceMappingURL=index.js.map
|