@measured/puck-plugin-heading-analyzer 0.19.2-canary.5f01eb54 → 0.19.2-canary.5f6f6d8e

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
@@ -1842,7 +1842,7 @@ var createHistorySlice = (set, get) => {
1842
1842
  const { dispatch, history } = get();
1843
1843
  dispatch({
1844
1844
  type: "set",
1845
- state: ((_a = history.histories[history.histories.length - 1]) == null ? void 0 : _a.state) || history.initialAppState
1845
+ state: ((_a = histories[histories.length - 1]) == null ? void 0 : _a.state) || history.initialAppState
1846
1846
  });
1847
1847
  set({ history: __spreadProps(__spreadValues({}, history), { histories, index: histories.length - 1 }) });
1848
1848
  },
package/dist/index.mjs CHANGED
@@ -1830,7 +1830,7 @@ var createHistorySlice = (set, get) => {
1830
1830
  const { dispatch, history } = get();
1831
1831
  dispatch({
1832
1832
  type: "set",
1833
- state: ((_a = history.histories[history.histories.length - 1]) == null ? void 0 : _a.state) || history.initialAppState
1833
+ state: ((_a = histories[histories.length - 1]) == null ? void 0 : _a.state) || history.initialAppState
1834
1834
  });
1835
1835
  set({ history: __spreadProps(__spreadValues({}, history), { histories, index: histories.length - 1 }) });
1836
1836
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@measured/puck-plugin-heading-analyzer",
3
- "version": "0.19.2-canary.5f01eb54",
3
+ "version": "0.19.2-canary.5f6f6d8e",
4
4
  "author": "Chris Villa <chris@puckeditor.com>",
5
5
  "repository": "measuredco/puck",
6
6
  "bugs": "https://github.com/measuredco/puck/issues",
@@ -25,7 +25,7 @@
25
25
  "dist"
26
26
  ],
27
27
  "devDependencies": {
28
- "@measured/puck": "^0.19.2-canary.5f01eb54",
28
+ "@measured/puck": "^0.19.2-canary.5f6f6d8e",
29
29
  "@types/react": "^19.0.1",
30
30
  "@types/react-dom": "^19.0.2",
31
31
  "eslint": "^7.32.0",