onfido-sdk-ui 14.37.1 → 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 +6 -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
|
};
|
|
@@ -123,6 +127,7 @@ export type SdkToken = {
|
|
|
123
127
|
authUrl: URL;
|
|
124
128
|
onfidoApiUrl: URL;
|
|
125
129
|
telephonyUrl: URL;
|
|
130
|
+
crossDeviceUrl?: URL;
|
|
126
131
|
};
|
|
127
132
|
type: 'studio' | 'sdk';
|
|
128
133
|
};
|
|
@@ -171,6 +176,7 @@ export type JWT = {
|
|
|
171
176
|
auth_url: URL;
|
|
172
177
|
onfido_api_url: URL;
|
|
173
178
|
telephony_url: URL;
|
|
179
|
+
cross_device_url?: URL;
|
|
174
180
|
};
|
|
175
181
|
};
|
|
176
182
|
export type TrackedEventTypes = 'screen' | 'action' | 'flow' | 'view';
|