@regulaforensics/idv-capture-web 3.6.347-nightly → 3.6.348-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/README.md +6 -3
- package/dist/index.d.ts +6 -4
- package/dist/main.iife.js +26 -26
- package/dist/main.js +5202 -5115
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -227,9 +227,12 @@ service.sessionRestoreMode = true;
|
|
|
227
227
|
|
|
228
228
|
### Getters
|
|
229
229
|
|
|
230
|
-
|
|
231
|
-
|
|
|
232
|
-
|
|
|
230
|
+
|
|
231
|
+
| Getter | Description |
|
|
232
|
+
| ------------------ | ------------------------------------------------------------------- |
|
|
233
|
+
| `version` | Returns the version of the component. |
|
|
234
|
+
| `currentSessionId` | Returns the current session ID if a session has been started; otherwise, returns `null`. |
|
|
235
|
+
|
|
233
236
|
|
|
234
237
|
```javascript
|
|
235
238
|
const service = new IdvIntegrationService();
|
package/dist/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare type CurrentScreenConfig = {
|
|
|
188
188
|
locale: string;
|
|
189
189
|
stepType?: string;
|
|
190
190
|
failedAssets?: FailedAssets;
|
|
191
|
+
preloadAssetsRequired?: boolean;
|
|
191
192
|
} & Record<string, any>;
|
|
192
193
|
|
|
193
194
|
declare type DataOrError<T extends object, E = BaseWorkflowError> = T | {
|
|
@@ -448,6 +449,7 @@ export declare class IdvIntegrationService {
|
|
|
448
449
|
deinitialize(): Promise<DeinitializeCompletion>;
|
|
449
450
|
/** service commands */
|
|
450
451
|
get version(): string;
|
|
452
|
+
get currentSessionId(): string | null;
|
|
451
453
|
set nonce(id: string);
|
|
452
454
|
set eventListener(callback: (message: IdvMessageEvent) => void);
|
|
453
455
|
set sessionRestoreMode(isEnabled: boolean);
|
|
@@ -734,11 +736,11 @@ declare enum TokenInitializeError {
|
|
|
734
736
|
|
|
735
737
|
declare type Workflow = {
|
|
736
738
|
id: string;
|
|
737
|
-
logging
|
|
739
|
+
logging?: WorkflowLogging | null;
|
|
738
740
|
steps: Array<WorkflowStep>;
|
|
739
741
|
client: WorkflowClient;
|
|
740
742
|
trackLocation?: boolean;
|
|
741
|
-
error
|
|
743
|
+
error?: string | null;
|
|
742
744
|
name: string;
|
|
743
745
|
} & Record<string, any>;
|
|
744
746
|
|
|
@@ -790,8 +792,8 @@ declare class WorkflowModel implements Workflow {
|
|
|
790
792
|
name: string;
|
|
791
793
|
steps: WorkflowStepModel[];
|
|
792
794
|
client: WorkflowClientModel;
|
|
793
|
-
logging
|
|
794
|
-
error
|
|
795
|
+
logging?: WorkflowLoggingModel | null;
|
|
796
|
+
error?: string | null;
|
|
795
797
|
defaultLocale?: string;
|
|
796
798
|
config?: Record<any, any>;
|
|
797
799
|
metadata?: Record<any, any>;
|