@regulaforensics/idv-capture-web 3.9.482-rc → 3.9.483-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
@@ -7,6 +7,7 @@ export declare type ApiKeyConnectionConfig = {
7
7
  baseUrl: string;
8
8
  apiKey: string;
9
9
  ttl?: number;
10
+ httpTimeoutMs?: number;
10
11
  };
11
12
 
12
13
  declare type AuthTokenStoreData = {
@@ -165,6 +166,7 @@ declare type ConnectionByApiKeyConfigCore = {
165
166
  deviceDescriptor: {
166
167
  ttl: number;
167
168
  };
169
+ httpTimeoutMs?: number;
168
170
  };
169
171
 
170
172
  declare type ConnectionConfigCore = {
@@ -173,6 +175,7 @@ declare type ConnectionConfigCore = {
173
175
  password: string;
174
176
  port?: number;
175
177
  userName: string;
178
+ httpTimeoutMs?: number;
176
179
  };
177
180
 
178
181
  export declare enum ConnectionError {
@@ -189,6 +192,7 @@ export declare type CredentialConnectionConfig = {
189
192
  baseUrl: string;
190
193
  password: string;
191
194
  userName: string;
195
+ httpTimeoutMs?: number;
192
196
  };
193
197
 
194
198
  declare type CurrentScreenConfig = {
@@ -349,6 +353,7 @@ export declare const IdvEventTypesEnum: {
349
353
 
350
354
  declare class IdvFetchService {
351
355
  private _connectionTokenExpirationBufferMs;
356
+ private _httpTimeoutMs;
352
357
  private _origin;
353
358
  private _apiKeyAuthToken;
354
359
  private _connectionToken;
@@ -380,6 +385,8 @@ declare class IdvFetchService {
380
385
  } | FetchErrorResult>;
381
386
  private _getAuthorizationSearchParam;
382
387
  private _getResponseTextFromBadResponse;
388
+ private _applyHttpTimeout;
389
+ private _getRequestSignal;
383
390
  private _httpFetch;
384
391
  private _fetchPing;
385
392
  private _fetchMe;
@@ -456,11 +463,12 @@ declare class IdvFetchService {
456
463
  data: SessionData;
457
464
  } | FetchErrorResult>;
458
465
  pushLogs(sessionId: string, pushLogsParams: PushLogsParams): Promise<Record<string, unknown>>;
459
- startIamAuth({ applicationId, baseUrl, metadata, locale, }: {
466
+ startIamAuth({ applicationId, baseUrl, metadata, locale, httpTimeoutMs, }: {
460
467
  applicationId: string;
461
468
  baseUrl: string;
462
469
  metadata?: Record<string, unknown>;
463
470
  locale?: string;
471
+ httpTimeoutMs?: number;
464
472
  }): Promise<Record<string, unknown>>;
465
473
  private _postStartUpload;
466
474
  private _postFileChunk;
@@ -510,6 +518,7 @@ declare type IdvIntegrationControllerProps = {
510
518
  baseUrl: string;
511
519
  metadata?: Record<string, unknown>;
512
520
  locale?: string;
521
+ httpTimeoutMs?: number;
513
522
  }) => Promise<Record<string, unknown>>;
514
523
  };
515
524
 
@@ -684,6 +693,7 @@ export declare type LoginConfig = {
684
693
  baseUrl: string;
685
694
  metadata?: Record<string, unknown>;
686
695
  locale?: string;
696
+ httpTimeoutMs?: number;
687
697
  };
688
698
 
689
699
  export declare enum LoginError {
@@ -805,6 +815,7 @@ declare type StartConfig = {
805
815
  isSecure?: boolean;
806
816
  apiKey?: string;
807
817
  port?: number;
818
+ httpTimeoutMs?: number;
808
819
  };
809
820
 
810
821
  export declare type StartLoginCompletion = string | BaseLoginError;
@@ -851,6 +862,7 @@ declare type Workflow = {
851
862
  id: string;
852
863
  logging?: WorkflowLogging | null;
853
864
  steps: Array<WorkflowStep>;
865
+ stepTemplateIds?: string[];
854
866
  client: WorkflowClient;
855
867
  trackLocation?: boolean;
856
868
  error?: string | null;
@@ -905,6 +917,7 @@ declare class WorkflowModel implements Workflow {
905
917
  id: string;
906
918
  steps: WorkflowStepModel[];
907
919
  client: WorkflowClientModel;
920
+ stepTemplateIds?: string[];
908
921
  name?: string;
909
922
  logging?: WorkflowLoggingModel | null;
910
923
  error?: string | null;