@akanjs/store 0.9.33 → 0.9.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/store",
3
- "version": "0.9.33",
3
+ "version": "0.9.35",
4
4
  "sourceType": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,7 +15,7 @@
15
15
  "node": ">=22"
16
16
  },
17
17
  "dependencies": {
18
- "react": "18.3.1",
18
+ "react": "19.1.1",
19
19
  "zustand": "^5.0.2"
20
20
  },
21
21
  "exports": {
@@ -2,7 +2,7 @@ import { DataList, type Dayjs, type Prettify, Type } from "@akanjs/base";
2
2
  import { type FetchPolicy } from "@akanjs/common";
3
3
  import { DocumentModel, type FilterType, type GetStateObject, ProtoFile, QueryOf, type SortOf } from "@akanjs/constant";
4
4
  import { DbGraphQL, DefaultOf, FetchInitForm, FieldState, FilterListArgs, FilterStateArgs, SliceMeta } from "@akanjs/signal";
5
- import { MutableRefObject } from "react";
5
+ import { RefObject } from "react";
6
6
  import { Mutate, StoreApi } from "zustand";
7
7
  import type { Submit } from "./types";
8
8
  export declare const baseSt: WithSelectors<any>;
@@ -219,7 +219,7 @@ export interface WithSelectors<SA> {
219
219
  fireImmediately?: boolean;
220
220
  }): () => void;
221
221
  };
222
- ref: <U>(selector: (state: SA) => U) => MutableRefObject<U>;
222
+ ref: <U>(selector: (state: SA) => U) => RefObject<U>;
223
223
  sel: <U>(selector: (state: SA) => U, equals?: (a: U, b: U) => boolean) => U;
224
224
  use: {
225
225
  [K in keyof SA as SA[K] extends (...args: any) => any ? never : K]: () => SA[K];