@regulaforensics/idv-capture-web 0.1.114-nightly → 0.1.115-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 CHANGED
@@ -108,6 +108,12 @@ export declare enum ConnectionError {
108
108
  PROVIDER_ERROR = 1
109
109
  }
110
110
 
111
+ declare type CurrentScreenConfig = {
112
+ templateId: string;
113
+ sessionId?: string;
114
+ serviceToken?: string;
115
+ } & Record<string, any>;
116
+
111
117
  export declare enum DeinitializationError {
112
118
  INITIALIZATION_REQUIRED = 0,
113
119
  SCENARIO_IN_PROGRESS = 3
@@ -254,7 +260,8 @@ export declare enum SessionError {
254
260
  export declare enum StartSessionError {
255
261
  HTTP_ISSUE = 0,
256
262
  PROVIDER_ERROR = 1,
257
- DECODING_FAILED = 2
263
+ DECODING_FAILED = 2,
264
+ TOKEN_ERROR = 3
258
265
  }
259
266
 
260
267
  declare enum TokenInitializeError {
@@ -274,7 +281,7 @@ declare type Workflow = {
274
281
  steps: Array<WorkflowStep>;
275
282
  client: {
276
283
  layout: Record<string, any>;
277
- steps: Array<WorkflowStep>;
284
+ steps: Array<CurrentScreenConfig>;
278
285
  };
279
286
  } & Record<string, any>;
280
287