@icanbwell/types 1.4.0 → 1.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 +3 -3
- package/src/native-bridge.d.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icanbwell/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"typedoc": {
|
|
5
5
|
"entryPoint": "./src/index.ts",
|
|
6
6
|
"tsconfig": "./tsconfig.lib.json"
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"import": "./index.js"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
-
"repoVersion": "3.
|
|
40
|
-
"description": "@icanbwell/types. repo version: 3.
|
|
39
|
+
"repoVersion": "3.17.0",
|
|
40
|
+
"description": "@icanbwell/types. repo version: 3.17.0",
|
|
41
41
|
"module": "./index.js",
|
|
42
42
|
"main": "./index.js",
|
|
43
43
|
"type": "module",
|
package/src/native-bridge.d.ts
CHANGED
|
@@ -129,6 +129,15 @@ export interface IPushNotifications {
|
|
|
129
129
|
export interface ISystem {
|
|
130
130
|
openSettings: typeof openSettings;
|
|
131
131
|
}
|
|
132
|
+
export type DeepLinkType = {
|
|
133
|
+
link: string;
|
|
134
|
+
iosFallback: string;
|
|
135
|
+
androidFallback: string;
|
|
136
|
+
webUrl: string;
|
|
137
|
+
};
|
|
138
|
+
export interface IDeepLink {
|
|
139
|
+
openLink(deepLink: DeepLinkType): Promise<void>;
|
|
140
|
+
}
|
|
132
141
|
export interface INativeBridge {
|
|
133
142
|
webview: IWebview;
|
|
134
143
|
biometrics: IBiometrics;
|
|
@@ -141,6 +150,7 @@ export interface INativeBridge {
|
|
|
141
150
|
documentPicker: IDocumentPicker;
|
|
142
151
|
pushNotifications: IPushNotifications;
|
|
143
152
|
system: ISystem;
|
|
153
|
+
deepLink: IDeepLink;
|
|
144
154
|
reloadView(): void;
|
|
145
155
|
}
|
|
146
156
|
export type GlobalPermissionStatus = PermissionStatus | PermissionState;
|