@icanbwell/types 2.2.0 → 3.0.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": "2.2.0",
3
+ "version": "3.0.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": "6.5.0",
40
- "description": "@icanbwell/types. repo version: 6.5.0",
39
+ "repoVersion": "7.0.0",
40
+ "description": "@icanbwell/types. repo version: 7.0.0",
41
41
  "peerDependencies": {
42
42
  "react-native": "0.x",
43
43
  "react-native-biometrics": "3.x",
@@ -56,6 +56,7 @@
56
56
  "type": "module",
57
57
  "types": "./src/index.d.ts",
58
58
  "dependencies": {
59
- "apollo-link-rest": "0.9.0"
59
+ "apollo-link-rest": "0.9.0",
60
+ "react-native-android-location-enabler": "2.0.1"
60
61
  }
61
62
  }
@@ -139,14 +139,13 @@ export interface IUtils {
139
139
  }
140
140
  export interface ISystem {
141
141
  openSettings: typeof openSettings;
142
- openOsLocationSettings(timeout?: number): Promise<void>;
143
142
  }
144
143
  export type DeepLinkType = {
145
144
  scheme: string;
146
145
  webUrl: string;
147
146
  };
148
147
  export interface IDeepLink {
149
- openLink(deepLink: DeepLinkType): Promise<void>;
148
+ openLink(deepLink: DeepLinkType, target?: string): Promise<void>;
150
149
  }
151
150
  export interface INativeBridge {
152
151
  webview: IWebview;
@@ -1,3 +1,4 @@
1
+ import type androidLocationEnabler from 'react-native-android-location-enabler';
1
2
  import type biometrics from 'react-native-biometrics';
2
3
  import type documentPicker from 'react-native-document-picker';
3
4
  import type fileSystem from 'react-native-fs';
@@ -8,9 +9,10 @@ import type storage from '@react-native-async-storage/async-storage';
8
9
  import type * as cameraRoll from '@react-native-camera-roll/camera-roll';
9
10
  import type geolocation from '@react-native-community/geolocation';
10
11
  import type deviceInfo from 'react-native-device-info';
11
- export type NativePackage = '@react-native-async-storage/async-storage' | '@react-native-community/geolocation' | '@react-native-camera-roll/camera-roll' | 'react-native-biometrics' | 'react-native-permissions' | 'react-native-print' | 'react-native-webview' | 'react-native-fs' | 'react-native-document-picker' | 'react-native-notifications' | 'react-native-device-info';
12
+ export type NativePackage = '@react-native-async-storage/async-storage' | '@react-native-community/geolocation' | '@react-native-camera-roll/camera-roll' | 'react-native-biometrics' | 'react-native-permissions' | 'react-native-print' | 'react-native-webview' | 'react-native-fs' | 'react-native-document-picker' | 'react-native-notifications' | 'react-native-device-info' | 'react-native-android-location-enabler';
12
13
  export type NativePackages = Array<NativePackage>;
13
14
  export type NativeModuleMap = {
15
+ androidLocationEnabler?: typeof androidLocationEnabler;
14
16
  biometrics?: typeof biometrics;
15
17
  permissions?: typeof permissions;
16
18
  cameraRoll?: typeof cameraRoll;