@regulaforensics/idv-interfaces 3.10.586-rc → 3.10.587-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
@@ -66,6 +66,7 @@ export declare interface IdvModuleStaticMethods {
66
66
  initialize(modulesConfig: Record<string, unknown>): void;
67
67
  deinitialize(): void;
68
68
  getIdentifier(): string;
69
+ cancel(): void;
69
70
  }
70
71
 
71
72
  export declare type ImageBase = {
package/dist/main.js CHANGED
@@ -100,7 +100,7 @@ function c(e, t) {
100
100
  let e = t.getSupportedTemplates();
101
101
  console.log(`${t == null ? void 0 : t.displayName} supported templates: ${e.join(", ")}`);
102
102
  } else console.error("Missed \"getSupportedTemplates\" method when register module");
103
- if (t.initialize && typeof t.initialize == "function" || console.error(`${t == null ? void 0 : t.displayName} "initialize" method was not implemented`), t.deinitialize && typeof t.deinitialize == "function" || console.error(`${t == null ? void 0 : t.displayName} "deinitialize" method was not implemented`), t.isReady && typeof t.isReady == "function" || console.error(`${t == null ? void 0 : t.displayName} "isReady" method was not implemented`), t.getIdentifier && typeof t.getIdentifier == "function") {
103
+ if (t.initialize && typeof t.initialize == "function" || console.error(`${t == null ? void 0 : t.displayName} "initialize" method was not implemented`), t.deinitialize && typeof t.deinitialize == "function" || console.error(`${t == null ? void 0 : t.displayName} "deinitialize" method was not implemented`), t.cancel && typeof t.cancel == "function" || console.error(`${t == null ? void 0 : t.displayName} "cancel" method was not implemented`), t.isReady && typeof t.isReady == "function" || console.error(`${t == null ? void 0 : t.displayName} "isReady" method was not implemented`), t.getIdentifier && typeof t.getIdentifier == "function") {
104
104
  let e = t.getIdentifier();
105
105
  console.log(`Module id: ${e}`);
106
106
  } else console.error("Missed \"getIdentifier\" when register module");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/idv-interfaces",
3
- "version": "3.10.586-rc",
3
+ "version": "3.10.587-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",