@regulaforensics/idv-capture-web 4.0.514-nightly → 4.0.656-rc
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 +15 -3
- package/dist/main.iife.js +14 -33
- package/dist/main.js +5274 -7933
- package/package.json +5 -3
package/dist/index.d.ts
CHANGED
|
@@ -165,8 +165,10 @@ export declare enum ConnectionError {
|
|
|
165
165
|
DECODING_FAILED = 2
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
declare type ContinueSessionResults =
|
|
169
|
-
error
|
|
168
|
+
declare type ContinueSessionResults = {
|
|
169
|
+
error: BaseWorkflowError;
|
|
170
|
+
} | {
|
|
171
|
+
shouldStartNewSession: boolean;
|
|
170
172
|
};
|
|
171
173
|
|
|
172
174
|
export declare type CredentialConnectionConfig = {
|
|
@@ -290,7 +292,10 @@ declare type IdvBusinessLogicControllerProps = {
|
|
|
290
292
|
sessionData?: undefined;
|
|
291
293
|
error: BaseWorkflowError;
|
|
292
294
|
}>;
|
|
293
|
-
_waitForNextStep: () =>
|
|
295
|
+
_waitForNextStep: () => {
|
|
296
|
+
startHttpTimer: () => void;
|
|
297
|
+
cancel: () => void;
|
|
298
|
+
};
|
|
294
299
|
_stepSocketListenerWhenStepIsRunning: (isStepRunning: boolean) => void;
|
|
295
300
|
_getSessionStateNextStepConditionResult: () => Promise<DataOrError<SessionModel>>;
|
|
296
301
|
_findStepById: (stepId: string) => WorkflowStep | null;
|
|
@@ -764,6 +769,13 @@ declare type SessionPropertiesItem = {
|
|
|
764
769
|
object?: unknown;
|
|
765
770
|
};
|
|
766
771
|
|
|
772
|
+
export declare enum SocketError {
|
|
773
|
+
UNKNOWN = 0,
|
|
774
|
+
SESSION_NOT_FOUND_OR_ACCESS_DENIED = 1,
|
|
775
|
+
INVALID_MESSAGE_FORMAT = 2,
|
|
776
|
+
UNSUPPORTED_COMMAND = 3
|
|
777
|
+
}
|
|
778
|
+
|
|
767
779
|
declare type StartConfig = {
|
|
768
780
|
host?: string;
|
|
769
781
|
isSecure?: boolean;
|