@akanjs/next 0.9.35 → 0.9.37

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/next",
3
- "version": "0.9.35",
3
+ "version": "0.9.37",
4
4
  "sourceType": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
package/useCsrValues.d.ts CHANGED
@@ -18,13 +18,13 @@ export declare const useCsrValues: (rootRouteGuide: RouteGuide, pathRoutes: Path
18
18
  clientHeight: number;
19
19
  location: import("@akanjs/client").Location;
20
20
  prevLocation: import("@akanjs/client").Location | null;
21
- history: import("react").MutableRefObject<import("@akanjs/client").History>;
22
- topSafeAreaRef: import("react").RefObject<HTMLDivElement>;
23
- bottomSafeAreaRef: import("react").RefObject<HTMLDivElement>;
24
- prevPageContentRef: import("react").RefObject<HTMLDivElement>;
25
- pageContentRef: import("react").RefObject<HTMLDivElement>;
26
- frameRootRef: import("react").RefObject<HTMLDivElement>;
27
- onBack: import("react").MutableRefObject<{ [K in TransitionType]?: () => Promise<void>; }>;
21
+ history: import("react").RefObject<import("@akanjs/client").History>;
22
+ topSafeAreaRef: import("react").RefObject<HTMLDivElement | null>;
23
+ bottomSafeAreaRef: import("react").RefObject<HTMLDivElement | null>;
24
+ prevPageContentRef: import("react").RefObject<HTMLDivElement | null>;
25
+ pageContentRef: import("react").RefObject<HTMLDivElement | null>;
26
+ frameRootRef: import("react").RefObject<HTMLDivElement | null>;
27
+ onBack: import("react").RefObject<{ [K in TransitionType]?: () => Promise<void>; }>;
28
28
  router: RouterInstance;
29
29
  pathRoutes: PathRoute[];
30
30
  };
package/useHistory.d.ts CHANGED
@@ -12,7 +12,7 @@ interface setBackOptions {
12
12
  scrollToTop?: boolean;
13
13
  }
14
14
  export declare const useHistory: (locations?: Location[]) => {
15
- history: import("react").MutableRefObject<History>;
15
+ history: import("react").RefObject<History>;
16
16
  setHistoryForward: ({ type, location, scrollTop, scrollToTop }: setForwardOptions) => void;
17
17
  setHistoryBack: ({ location, scrollTop, scrollToTop }: setBackOptions) => void;
18
18
  getNextLocation: () => Location | null;
package/useInterval.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const useInterval: (callback: (() => void) | (() => Promise<void>), delay: number) => import("react").MutableRefObject<(() => void) | (() => Promise<void>) | null>;
1
+ export declare const useInterval: (callback: (() => void) | (() => Promise<void>), delay: number) => import("react").RefObject<(() => void) | (() => Promise<void>) | null>;