@measured/puck 0.19.2-canary.5f01eb54 → 0.19.2-canary.7cccfddf

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/index.js CHANGED
@@ -2279,7 +2279,7 @@ var createHistorySlice = (set, get) => {
2279
2279
  const { dispatch, history } = get();
2280
2280
  dispatch({
2281
2281
  type: "set",
2282
- state: ((_a = history.histories[history.histories.length - 1]) == null ? void 0 : _a.state) || history.initialAppState
2282
+ state: ((_a = histories[histories.length - 1]) == null ? void 0 : _a.state) || history.initialAppState
2283
2283
  });
2284
2284
  set({ history: __spreadProps(__spreadValues({}, history), { histories, index: histories.length - 1 }) });
2285
2285
  },
package/dist/index.mjs CHANGED
@@ -1393,7 +1393,7 @@ var createHistorySlice = (set, get) => {
1393
1393
  const { dispatch, history } = get();
1394
1394
  dispatch({
1395
1395
  type: "set",
1396
- state: ((_a = history.histories[history.histories.length - 1]) == null ? void 0 : _a.state) || history.initialAppState
1396
+ state: ((_a = histories[histories.length - 1]) == null ? void 0 : _a.state) || history.initialAppState
1397
1397
  });
1398
1398
  set({ history: __spreadProps(__spreadValues({}, history), { histories, index: histories.length - 1 }) });
1399
1399
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck",
3
- "version": "0.19.2-canary.5f01eb54",
3
+ "version": "0.19.2-canary.7cccfddf",
4
4
  "author": "Chris Villa <chris@puckeditor.com>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",