@regulaforensics/idv-interfaces 3.3.308 → 3.4.70-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.
Files changed (2) hide show
  1. package/dist/index.d.ts +16 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -38,6 +38,12 @@ export declare enum DirectionType {
38
38
  LTR = "ltr"
39
39
  }
40
40
 
41
+ export declare type FailedAssets = {
42
+ imageURL: Set<string>;
43
+ base64: Set<string>;
44
+ blockingAssets: Set<string>;
45
+ };
46
+
41
47
  export declare const getLanguageFromLocale: (locale?: string) => string;
42
48
 
43
49
  export declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
@@ -58,6 +64,16 @@ export declare interface IdvModuleStaticMethods {
58
64
  getIdentifier(): string;
59
65
  }
60
66
 
67
+ export declare type ImageBase = {
68
+ imageURL?: string;
69
+ imageId?: string;
70
+ base64?: string;
71
+ prepareRequired?: boolean;
72
+ failurePolicy?: ImageFailurePolicy;
73
+ };
74
+
75
+ declare type ImageFailurePolicy = 'ignore' | 'placeholderImage' | 'error';
76
+
61
77
  export declare type ModuleClass<TModuleProps = unknown, TModulesConfig = unknown> = IdvModuleStaticMethods & (new (...args: any[]) => BaseModule<TModuleProps, TModulesConfig>);
62
78
 
63
79
  export declare function parseClientJSON<T>(json: T): T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/idv-interfaces",
3
- "version": "3.3.308",
3
+ "version": "3.4.70-nightly",
4
4
  "description": "Regula framework agnostic web components to work with document idv",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/main.js",