@icanbwell/types 1.8.0 → 1.8.2
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 +17 -16
- package/src/native-bridge.d.ts +1 -1
- package/src/native-plugins.d.ts +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icanbwell/types",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.2",
|
|
4
4
|
"typedoc": {
|
|
5
5
|
"entryPoint": "./src/index.ts",
|
|
6
6
|
"tsconfig": "./tsconfig.lib.json"
|
|
@@ -36,24 +36,25 @@
|
|
|
36
36
|
"import": "./index.js"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
-
"repoVersion": "3.
|
|
40
|
-
"description": "@icanbwell/types. repo version: 3.
|
|
39
|
+
"repoVersion": "3.24.2",
|
|
40
|
+
"description": "@icanbwell/types. repo version: 3.24.2",
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"react-native": "0.x",
|
|
43
|
+
"react-native-biometrics": "3.x",
|
|
44
|
+
"react-native-document-picker": "9.x",
|
|
45
|
+
"react-native-fs": "2.x",
|
|
46
|
+
"react-native-notifications": "5.x",
|
|
47
|
+
"react-native-permissions": "3.x",
|
|
48
|
+
"react-native-print": "0.x",
|
|
49
|
+
"@react-native-async-storage/async-storage": "1.x",
|
|
50
|
+
"@react-native-camera-roll/camera-roll": "5.x",
|
|
51
|
+
"@react-native-community/geolocation": "3.x"
|
|
52
|
+
},
|
|
41
53
|
"module": "./index.js",
|
|
42
54
|
"main": "./index.js",
|
|
43
55
|
"type": "module",
|
|
44
56
|
"types": "./src/index.d.ts",
|
|
45
57
|
"dependencies": {
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
"@react-native-community/geolocation": "3.0.6",
|
|
49
|
-
"apollo-link-rest": "0.9.0",
|
|
50
|
-
"react-native": "0.71.2",
|
|
51
|
-
"react-native-biometrics": "3.0.1",
|
|
52
|
-
"react-native-document-picker": "9.0.1",
|
|
53
|
-
"react-native-fs": "2.20.0",
|
|
54
|
-
"react-native-notifications": "5.0.0",
|
|
55
|
-
"react-native-permissions": "3.8.0",
|
|
56
|
-
"react-native-print": "0.11.0"
|
|
57
|
-
},
|
|
58
|
-
"peerDependencies": {}
|
|
58
|
+
"apollo-link-rest": "0.9.0"
|
|
59
|
+
}
|
|
59
60
|
}
|
package/src/native-bridge.d.ts
CHANGED
|
@@ -128,7 +128,7 @@ export interface IPushNotifications {
|
|
|
128
128
|
checkPermission(): Promise<GlobalPermissionStatus>;
|
|
129
129
|
}
|
|
130
130
|
export interface IUtils {
|
|
131
|
-
getPlatform(): typeof Platform.OS
|
|
131
|
+
getPlatform(): Promise<typeof Platform.OS>;
|
|
132
132
|
}
|
|
133
133
|
export interface ISystem {
|
|
134
134
|
openSettings: typeof openSettings;
|
package/src/native-plugins.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type biometrics from 'react-native-biometrics';
|
|
2
|
-
import type permissions from 'react-native-permissions';
|
|
3
|
-
import type * as cameraRoll from '@react-native-camera-roll/camera-roll';
|
|
4
|
-
import type fileSystem from 'react-native-fs';
|
|
5
2
|
import type documentPicker from 'react-native-document-picker';
|
|
6
|
-
import type
|
|
3
|
+
import type fileSystem from 'react-native-fs';
|
|
4
|
+
import type * as pushNotifications from 'react-native-notifications';
|
|
5
|
+
import type permissions from 'react-native-permissions';
|
|
7
6
|
import type print from 'react-native-print';
|
|
8
7
|
import type storage from '@react-native-async-storage/async-storage';
|
|
9
|
-
import type
|
|
8
|
+
import type * as cameraRoll from '@react-native-camera-roll/camera-roll';
|
|
9
|
+
import type geolocation from '@react-native-community/geolocation';
|
|
10
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';
|
|
11
11
|
export type NativePackages = Array<NativePackage>;
|
|
12
12
|
export type NativeModuleMap = {
|