cogsbox-state 0.5.34 → 0.5.36

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.
@@ -190,7 +190,6 @@ export type OptionsType<T extends unknown = unknown> = {
190
190
  reactiveDeps?: (state: T) => any[] | true;
191
191
  reactiveType?: ReactivityType[] | ReactivityType;
192
192
  syncUpdate?: Partial<UpdateTypeDetail>;
193
- localStorageKey?: string;
194
193
  initState?: {
195
194
  ctx?: Record<string, any>;
196
195
  initialState: T;
@@ -277,7 +276,7 @@ type LocalStorageData<T> = {
277
276
  baseServerState?: T;
278
277
  };
279
278
  export declare const notifyComponent: (stateKey: string, componentId: string) => void;
280
- export declare function useCogsStateFn<TStateObject extends unknown>(stateObject: TStateObject, { stateKey, serverSync, localStorage, formElements, middleware, reactiveDeps, reactiveType, componentId, localStorageKey, initState, syncUpdate, }?: {
279
+ export declare function useCogsStateFn<TStateObject extends unknown>(stateObject: TStateObject, { stateKey, serverSync, localStorage, formElements, middleware, reactiveDeps, reactiveType, componentId, initState, syncUpdate, }?: {
281
280
  stateKey?: string;
282
281
  componentId?: string;
283
282
  } & OptionsType<TStateObject>): [TStateObject, StateObject<TStateObject>];