@icanbwell/types 7.3.0 → 7.5.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 +3 -3
- package/src/native-bridge.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icanbwell/types",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.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.
|
|
40
|
-
"description": "@icanbwell/types. repo version: 17.
|
|
39
|
+
"repoVersion": "17.9.0",
|
|
40
|
+
"description": "@icanbwell/types. repo version: 17.9.0",
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"react-native": "0.x",
|
|
43
43
|
"react-native-biometrics": "3.x",
|
package/src/native-bridge.d.ts
CHANGED
|
@@ -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: () => void;
|
|
11
|
+
reloadwebview: (remount?: 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(): void;
|
|
23
|
+
reload(remount?: 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(): void;
|
|
177
|
+
reloadView(remount?: boolean): void;
|
|
178
178
|
}
|
|
179
179
|
export type GlobalPermissionStatus = PermissionStatus | PermissionState;
|
|
180
180
|
export type PluginKeys = Exclude<keyof INativeBridge, 'webview' | 'reloadView'>;
|