@regulaforensics/idv-face 3.2.252-nightly → 3.2.254-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 +8 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -89,10 +89,17 @@ declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
89
89
  isProcessing?: (isProcessing: boolean) => void;
90
90
  moduleProps: TModuleProps;
91
91
  modulesConfig?: TModulesConfig;
92
- perform: (data: any) => void;
92
+ perform: (data: any, type?: PerformType) => void;
93
93
  idvEventListener: (module: string, data: any) => void;
94
94
  };
95
95
 
96
+ declare type PerformType = (typeof performType)[keyof typeof performType] | undefined;
97
+
98
+ declare const performType: {
99
+ readonly FORM: "form";
100
+ readonly DATA: "data";
101
+ };
102
+
96
103
  declare type RecordingProcessKeys = keyof typeof RecordingProcess;
97
104
 
98
105
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/idv-face",
3
- "version": "3.2.252-nightly",
3
+ "version": "3.2.254-nightly",
4
4
  "description": "Regula framework agnostic web components to work with face idv",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/main.js",