@akanjs/client 0.9.44 → 0.9.46

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.
@@ -1,8 +1,5 @@
1
1
  "use client";
2
- import {
3
- createContext,
4
- useContext
5
- } from "react";
2
+ import { createContext, useContext } from "react";
6
3
  const DEFAULT_TOP_INSET = 48;
7
4
  const DEFAULT_BOTTOM_INSET = 60;
8
5
  const defaultPageState = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/client",
3
- "version": "0.9.44",
3
+ "version": "0.9.46",
4
4
  "sourceType": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,10 +15,10 @@
15
15
  "node": ">=20"
16
16
  },
17
17
  "dependencies": {
18
- "@capacitor/core": "7.2.0",
18
+ "@capacitor/core": "7.4.2",
19
19
  "@capacitor/device": "7.0.1",
20
- "@capacitor/haptics": "7.0.1",
21
- "@capacitor/keyboard": "7.0.1",
20
+ "@capacitor/haptics": "^7.0.2",
21
+ "@capacitor/keyboard": "^7.0.2",
22
22
  "@capacitor/preferences": "7.0.1",
23
23
  "capacitor-plugin-safe-area": "^3.0.4",
24
24
  "clsx": "^2.1.1",
package/src/csrTypes.d.ts CHANGED
@@ -7,6 +7,9 @@ export interface CsrConfig {
7
7
  transition?: TransitionType;
8
8
  safeArea?: boolean;
9
9
  topInset?: boolean | number;
10
+ /**
11
+ * @default 48px
12
+ */
10
13
  bottomInset?: boolean | number;
11
14
  gesture?: boolean;
12
15
  cache?: boolean;