onfido-sdk-ui 14.57.0 → 14.58.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
CHANGED
|
@@ -10,7 +10,7 @@ at https://documentation.onfido.com/sdk/sdk-licenses/.
|
|
|
10
10
|
------------------
|
|
11
11
|
|
|
12
12
|
Name: @onfido/capture-api
|
|
13
|
-
Version: 0.0.0-master.
|
|
13
|
+
Version: 0.0.0-master.2187611
|
|
14
14
|
License: null
|
|
15
15
|
Private: false
|
|
16
16
|
Repository: git@gitlab.eu-west-1.mgmt.onfido.xyz:onfido/sdks/capture-api.git
|
|
@@ -252,7 +252,7 @@ SOFTWARE.
|
|
|
252
252
|
---
|
|
253
253
|
|
|
254
254
|
Name: capture-module
|
|
255
|
-
Version: 3.
|
|
255
|
+
Version: 3.13.0
|
|
256
256
|
License: null
|
|
257
257
|
Private: false
|
|
258
258
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "onfido-sdk-ui",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.58.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": {
|
|
@@ -12,16 +12,4 @@ export type Theme = {
|
|
|
12
12
|
lightColors?: SdkColors;
|
|
13
13
|
darkColors?: SdkColors;
|
|
14
14
|
mediaResources?: MediaResources;
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated Internal type: Temporary until fonts are officially supported through the theming API
|
|
17
|
-
*/
|
|
18
|
-
googleFonts?: string[];
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated Internal type: Temporary until fonts are officially supported through the theming API
|
|
21
|
-
*/
|
|
22
|
-
customFonts?: string[];
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated Internal type only
|
|
25
|
-
*/
|
|
26
|
-
version?: 'v2' | 'v3';
|
|
27
15
|
};
|
package/types/shared/Types.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Theme, Navigation } from '../capture-api';
|
|
2
2
|
import type { CrossDeviceMethod } from './CrossDeviceConnect.types';
|
|
3
3
|
import type { FeatureFlags } from './FeatureFlags';
|
|
4
|
+
import type { V15Theme } from './v15Typing';
|
|
4
5
|
export type ModuleError = {
|
|
5
6
|
type: 'no_camera';
|
|
6
7
|
message?: string;
|
|
@@ -90,7 +91,7 @@ export type ClientConfiguration = {
|
|
|
90
91
|
token: string;
|
|
91
92
|
sdkToken: SdkToken;
|
|
92
93
|
featureFlags: FeatureFlags & Partial<Record<string, unknown>>;
|
|
93
|
-
theme?:
|
|
94
|
+
theme?: V15Theme;
|
|
94
95
|
language?: string;
|
|
95
96
|
translations?: Translations;
|
|
96
97
|
navigation?: Navigation;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Theme } from '../capture-api/theming/Theme';
|
|
2
|
+
export type V15Theme = Theme & {
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Internal type: Temporary until fonts are officially supported through the theming API
|
|
5
|
+
*/
|
|
6
|
+
googleFonts?: string[];
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Internal type: Temporary until fonts are officially supported through the theming API
|
|
9
|
+
*/
|
|
10
|
+
customFonts?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated Internal type only
|
|
13
|
+
*/
|
|
14
|
+
version?: 'v2' | 'v3';
|
|
15
|
+
};
|