@icanbwell/types 0.44.4 → 0.45.1
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": "0.
|
|
3
|
+
"version": "0.45.1",
|
|
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": "1.
|
|
40
|
-
"description": "@icanbwell/types. repo version: 1.
|
|
39
|
+
"repoVersion": "1.43.1",
|
|
40
|
+
"description": "@icanbwell/types. repo version: 1.43.1",
|
|
41
41
|
"module": "./index.js",
|
|
42
42
|
"main": "./index.js",
|
|
43
43
|
"type": "module",
|
package/src/native-bridge.d.ts
CHANGED
|
@@ -58,10 +58,10 @@ export interface ICamera {
|
|
|
58
58
|
requestRollPermission(): Promise<PermissionStatus>;
|
|
59
59
|
checkRollPermission(): Promise<PermissionStatus>;
|
|
60
60
|
}
|
|
61
|
-
export type AllowedDocumentType = 'image/png' | 'image/
|
|
61
|
+
export type AllowedDocumentType = 'image/png' | 'image/jpeg' | 'image/svg+xml' | 'application/pdf';
|
|
62
62
|
export interface IDocumentDownload {
|
|
63
63
|
isAvailable(): Promise<boolean>;
|
|
64
|
-
writeFile(filename: string,
|
|
64
|
+
writeFile(filename: string, dataURL: string): Promise<void>;
|
|
65
65
|
requestPermission(): Promise<GlobalPermissionStatus>;
|
|
66
66
|
checkPermission(): Promise<GlobalPermissionStatus>;
|
|
67
67
|
}
|
package/src/native-plugins.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type NativeDependency = '@react-native-async-storage/async-storage' | '@react-native-community/geolocation' | 'react-native-biometrics' | 'react-native-permissions' | 'react-native-print' | 'react-native-webview';
|
|
1
|
+
export type NativeDependency = '@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' | 'rn-fetch-blob';
|
|
2
2
|
export type NativeDependencies = Array<NativeDependency>;
|