@icanbwell/types 7.5.0 → 7.6.0

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": "@icanbwell/types",
3
- "version": "7.5.0",
3
+ "version": "7.6.0",
4
4
  "typedoc": {
5
5
  "entryPoint": "./src/index.ts",
6
6
  "tsconfig": "./tsconfig.lib.json"
@@ -36,8 +36,8 @@
36
36
  "import": "./frontend-telemetry.js"
37
37
  }
38
38
  },
39
- "repoVersion": "17.9.0",
40
- "description": "@icanbwell/types. repo version: 17.9.0",
39
+ "repoVersion": "17.11.0",
40
+ "description": "@icanbwell/types. repo version: 17.11.0",
41
41
  "peerDependencies": {
42
42
  "react-native": "0.x",
43
43
  "react-native-biometrics": "3.x",
@@ -8,7 +8,7 @@ import { Platform } from 'react-native';
8
8
  export type NativeEvents<T = any> = {
9
9
  openwebview: (url: string) => void;
10
10
  closewebview: (data: T) => void;
11
- reloadwebview: (remount?: boolean) => void;
11
+ reloadwebview: (preserveSession?: boolean) => void;
12
12
  nativebridgedependencies: (nativeBridgeDependencies: PluginKeys[]) => void;
13
13
  [OnAuthSuccessEventKey]: (data: OnAuthSuccessEventData) => void;
14
14
  [ErrorEventKey]: (data: ErrorEventData) => void;
@@ -20,7 +20,7 @@ export type NativeEmittableEventEmitter = TypedEmitter<NativeBridgeEmittableEven
20
20
  export interface IWebview {
21
21
  open(url: string): void;
22
22
  close<T>(data: T): void;
23
- reload(remount?: boolean): void;
23
+ reload(preserveSession?: boolean): void;
24
24
  isWithin: boolean;
25
25
  }
26
26
  type IBiometryInformation = {
@@ -174,7 +174,7 @@ export interface INativeBridge {
174
174
  system: ISystem;
175
175
  deepLink: IDeepLink;
176
176
  utils: IUtils;
177
- reloadView(remount?: boolean): void;
177
+ reloadView(preserveSession?: boolean): void;
178
178
  }
179
179
  export type GlobalPermissionStatus = PermissionStatus | PermissionState;
180
180
  export type PluginKeys = Exclude<keyof INativeBridge, 'webview' | 'reloadView'>;