cogsbox-state 0.5.89 → 0.5.91

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.
@@ -191,6 +191,7 @@ export type OptionsType<T extends unknown = unknown> = {
191
191
  modifyState?: (state: T) => T;
192
192
  localStorage?: {
193
193
  key: string | ((state: T) => string);
194
+ onChange?: (state: T) => void;
194
195
  };
195
196
  formElements?: FormsElementsType;
196
197
  enabledSync?: (state: T) => boolean;