@regulaforensics/idv-document 3.2.253-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
@@ -142,8 +142,15 @@ declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
142
142
  isProcessing?: (isProcessing: boolean) => void;
143
143
  moduleProps: TModuleProps;
144
144
  modulesConfig?: TModulesConfig;
145
- perform: (data: any) => void;
145
+ perform: (data: any, type?: PerformType) => void;
146
146
  idvEventListener: (module: string, data: any) => void;
147
147
  };
148
148
 
149
+ declare type PerformType = (typeof performType)[keyof typeof performType] | undefined;
150
+
151
+ declare const performType: {
152
+ readonly FORM: "form";
153
+ readonly DATA: "data";
154
+ };
155
+
149
156
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/idv-document",
3
- "version": "3.2.253-nightly",
3
+ "version": "3.2.254-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.iife.js",