use-good-hooks 1.0.31 → 1.0.32

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.
@@ -42,10 +42,8 @@ declare const useHistoryState: <T>(initialPresent: T, options?: UseHistoryOption
42
42
  canRedo: boolean;
43
43
  canUndo: boolean;
44
44
  clear: () => void;
45
- history: {
46
- past: T[];
47
- future: T[];
48
- };
45
+ future: T[];
46
+ past: T[];
49
47
  pause: () => void;
50
48
  paused: boolean;
51
49
  redo: () => void;
@@ -129,10 +129,8 @@ const k = {
129
129
  canRedo: u,
130
130
  canUndo: n,
131
131
  clear: w,
132
- history: {
133
- past: p.past,
134
- future: p.future
135
- },
132
+ future: p.future,
133
+ past: p.past,
136
134
  pause: U,
137
135
  paused: p.paused,
138
136
  redo: O,
package/package.json CHANGED
@@ -50,5 +50,5 @@
50
50
  "test:coverage": "vitest --coverage --run",
51
51
  "test:watch": "vitest"
52
52
  },
53
- "version": "1.0.31"
53
+ "version": "1.0.32"
54
54
  }