@regulaforensics/idv-face 3.6.347-nightly → 3.6.349-nightly
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/dist/index.d.ts +27 -0
- package/dist/main.iife.js +117 -118
- package/dist/main.js +12019 -15551
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -54,6 +54,9 @@ declare type FaceModuleProps = {
|
|
|
54
54
|
onboardingScreenTitleLabelFontSize?: number;
|
|
55
55
|
onboardingScreenSubtitleLabelFontSize: number;
|
|
56
56
|
onboardingScreenMessageLabelsFontSize?: number;
|
|
57
|
+
onboardingScreenIllumination: IdvAsset;
|
|
58
|
+
onboardingScreenAccessories: IdvAsset;
|
|
59
|
+
onboardingScreenCameraLevel: IdvAsset;
|
|
57
60
|
cameraScreenStrokeNormalColor?: string;
|
|
58
61
|
cameraScreenSectorTargetColor?: string;
|
|
59
62
|
cameraScreenStrokeActiveColor?: string;
|
|
@@ -73,11 +76,15 @@ declare type FaceModuleProps = {
|
|
|
73
76
|
retryScreenTitleLabelFontSize?: number;
|
|
74
77
|
retryScreenSubtitleLabelFontSize?: number;
|
|
75
78
|
retryScreenHintLabelsFontSize?: number;
|
|
79
|
+
retryScreenHintSubject: IdvAsset;
|
|
80
|
+
retryScreenHintEnvironment: IdvAsset;
|
|
81
|
+
retryScreenHintGeo: IdvAsset;
|
|
76
82
|
processingScreenBackgroundColor?: string;
|
|
77
83
|
processingScreenProgressColor?: string;
|
|
78
84
|
processingScreenTitleColor?: string;
|
|
79
85
|
processingScreenFontSize?: number;
|
|
80
86
|
successScreenBackgroundColor?: string;
|
|
87
|
+
successScreenImage: IdvAsset;
|
|
81
88
|
infoScreenBackgroundColor?: string;
|
|
82
89
|
infoScreenTitleTextColor: string;
|
|
83
90
|
infoScreenTitleTextFontSize?: number;
|
|
@@ -100,6 +107,7 @@ declare type FaceModuleProps = {
|
|
|
100
107
|
serviceToken?: string;
|
|
101
108
|
stepType?: string;
|
|
102
109
|
failedAssets?: FailedAssets;
|
|
110
|
+
preloadAssetsRequired?: boolean;
|
|
103
111
|
};
|
|
104
112
|
|
|
105
113
|
declare type FailedAssets = {
|
|
@@ -108,6 +116,10 @@ declare type FailedAssets = {
|
|
|
108
116
|
blockingAssets: Set<string>;
|
|
109
117
|
};
|
|
110
118
|
|
|
119
|
+
declare type IdvAsset = {
|
|
120
|
+
idvAsset: ImageLike;
|
|
121
|
+
};
|
|
122
|
+
|
|
111
123
|
declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
|
|
112
124
|
isProcessing?: (isProcessing: boolean) => void;
|
|
113
125
|
moduleProps: TModuleProps;
|
|
@@ -117,6 +129,21 @@ declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
|
|
|
117
129
|
nonce?: string;
|
|
118
130
|
};
|
|
119
131
|
|
|
132
|
+
declare type ImageBase = {
|
|
133
|
+
imageURL?: string;
|
|
134
|
+
imageId?: string;
|
|
135
|
+
base64?: string;
|
|
136
|
+
prepareRequired?: boolean;
|
|
137
|
+
failurePolicy?: ImageFailurePolicy;
|
|
138
|
+
timeout?: number;
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
declare type ImageFailurePolicy = 'ignore' | 'placeholderImage' | 'error';
|
|
142
|
+
|
|
143
|
+
declare type ImageLike = ImageBase & {
|
|
144
|
+
placeholderImage?: ImageLike;
|
|
145
|
+
};
|
|
146
|
+
|
|
120
147
|
declare type PerformType = (typeof PerformTypes)[keyof typeof PerformTypes] | undefined;
|
|
121
148
|
|
|
122
149
|
declare const PerformTypes: {
|