onfido-sdk-ui 14.38.0 → 14.39.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/LICENSE +1 -1
- package/package.json +2 -2
- package/types/index.d.ts +3 -0
- package/types/shared/Types.d.ts +4 -0
package/LICENSE
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "onfido-sdk-ui",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.39.0",
|
|
4
4
|
"description": "JavaScript SDK view layer for Onfido identity verification",
|
|
5
5
|
"author": "Onfido Customer Support <support@onfido.com> (https://documentation.onfido.com/sdk/web/)",
|
|
6
6
|
"repository": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"license": "SEE LICENSE in LICENSE",
|
|
11
11
|
"main": "Onfido.js",
|
|
12
|
-
"types": "types/
|
|
12
|
+
"types": "types/index.d.ts",
|
|
13
13
|
"files": [
|
|
14
14
|
"Onfido.*",
|
|
15
15
|
"types"
|
package/types/index.d.ts
ADDED
package/types/shared/Types.d.ts
CHANGED
|
@@ -60,6 +60,9 @@ type ExecutionContextConfiguration = {
|
|
|
60
60
|
export type CustomCallbacks = {
|
|
61
61
|
names: string[];
|
|
62
62
|
};
|
|
63
|
+
export type Permission = {
|
|
64
|
+
alwaysRequestPermissions?: boolean;
|
|
65
|
+
};
|
|
63
66
|
export type ExecutionContext = {
|
|
64
67
|
platform: Platform;
|
|
65
68
|
version: string;
|
|
@@ -69,6 +72,7 @@ export type ExecutionContext = {
|
|
|
69
72
|
version?: string;
|
|
70
73
|
};
|
|
71
74
|
configuration?: ExecutionContextConfiguration;
|
|
75
|
+
permission?: Permission;
|
|
72
76
|
customCallbacks?: CustomCallbacks;
|
|
73
77
|
currentScriptHostname?: string;
|
|
74
78
|
};
|