@icanbwell/types 1.10.0 → 1.11.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": "1.10.0",
3
+ "version": "1.11.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.30.0",
40
- "description": "@icanbwell/types. repo version: 3.30.0",
39
+ "repoVersion": "3.32.0",
40
+ "description": "@icanbwell/types. repo version: 3.32.0",
41
41
  "peerDependencies": {
42
42
  "react-native": "0.x",
43
43
  "react-native-biometrics": "3.x",
@@ -48,7 +48,8 @@
48
48
  "react-native-print": "0.x",
49
49
  "@react-native-async-storage/async-storage": "1.x",
50
50
  "@react-native-camera-roll/camera-roll": "5.x",
51
- "@react-native-community/geolocation": "3.x"
51
+ "@react-native-community/geolocation": "3.x",
52
+ "react-native-device-info": "^10.x"
52
53
  },
53
54
  "module": "./index.js",
54
55
  "main": "./index.js",
@@ -129,6 +129,7 @@ export interface IPushNotifications {
129
129
  }
130
130
  export interface IUtils {
131
131
  getPlatform(): Promise<typeof Platform.OS>;
132
+ getBundleId(): Promise<string>;
132
133
  }
133
134
  export interface ISystem {
134
135
  openSettings: typeof openSettings;
@@ -7,7 +7,8 @@ import type print from 'react-native-print';
7
7
  import type storage from '@react-native-async-storage/async-storage';
8
8
  import type * as cameraRoll from '@react-native-camera-roll/camera-roll';
9
9
  import type geolocation from '@react-native-community/geolocation';
10
- 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';
10
+ 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';
11
12
  export type NativePackages = Array<NativePackage>;
12
13
  export type NativeModuleMap = {
13
14
  biometrics?: typeof biometrics;
@@ -19,5 +20,6 @@ export type NativeModuleMap = {
19
20
  print?: typeof print;
20
21
  storage?: typeof storage;
21
22
  pushNotifications?: typeof pushNotifications;
23
+ deviceInfo?: typeof deviceInfo;
22
24
  };
23
25
  export type NativeModules = (keyof NativeModuleMap)[];