@idscan/idvc2 3.10.1 → 3.10.3
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/README.md +7 -0
- package/dist/idvc.js +1 -1
- package/dist/idvc.js.LICENSE.txt +0 -24
- package/dist/idvc.js.gzip +0 -0
- package/dist/index.html +5 -5
- package/dist/js/environment/langs.js +1 -1
- package/dist/langs.js.gzip +0 -0
- package/dist/networks/Blur-chunk.js +1 -1
- package/dist/networks/Bubble-chunk.js +1 -1
- package/dist/networks/Face-chunk.js +1 -1
- package/dist/networks/GeneralTypeDetectionYolo-chunk.js +1 -1
- package/dist/networks/MRZ-chunk.js +1 -1
- package/dist/networks/PDF-chunk.js +1 -1
- package/dist/networks/blurWorker.js.gzip +0 -0
- package/dist/networks/bubbleWorker.js.gzip +0 -0
- package/dist/networks/mrzWorker.js.gzip +0 -0
- package/dist/networks/pdfWorker.js.gzip +0 -0
- package/dist/types/environment/langs.d.ts +1 -1
- package/dist/types/modules/Step.d.ts +13 -0
- package/dist/types/modules/supaBaseClient.d.ts +1 -1
- package/dist/types/modules/ui/MainScreen/MainScreen.d.ts +1 -2
- package/dist/types/stepProcessing.d.ts +1 -1
- package/dist/types/types/context.d.ts +1 -0
- package/package.json +6 -11
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare function InitClient(): import("@supabase/supabase-js").SupabaseClient<any, "public", any>;
|
|
1
|
+
declare function InitClient(): import("@supabase/supabase-js").SupabaseClient<any, "public", "public", any, any>;
|
|
2
2
|
export { InitClient };
|
|
@@ -49,10 +49,9 @@ export declare class MainScreen {
|
|
|
49
49
|
setUploaderWrapEnabled(enabled: boolean): void;
|
|
50
50
|
setVideoWrapEnabled(val?: boolean): void;
|
|
51
51
|
toggleVideoPos(isStarted: boolean): void;
|
|
52
|
-
updateStepImg({ steps, currentStep,
|
|
52
|
+
updateStepImg({ steps, currentStep, currentStepImg, }: {
|
|
53
53
|
steps: Step[];
|
|
54
54
|
currentStep: number;
|
|
55
|
-
currentStepObj: Step;
|
|
56
55
|
currentStepImg: string;
|
|
57
56
|
}): void;
|
|
58
57
|
private setStepBackgroundImage;
|
|
@@ -8,7 +8,7 @@ export declare const updateStepImgCallback: () => void;
|
|
|
8
8
|
export declare const submitIfFullSteps: (payload?: {}) => Promise<void>;
|
|
9
9
|
export declare const resetStepResults: (stepIndex?: number) => void;
|
|
10
10
|
export declare const again: () => void;
|
|
11
|
-
export declare const setStepImage: () => Promise<void>;
|
|
11
|
+
export declare const setStepImage: (isDemandCapture?: boolean) => Promise<void>;
|
|
12
12
|
/**
|
|
13
13
|
* emits change function,
|
|
14
14
|
* emit change step function and
|
|
@@ -121,6 +121,7 @@ export type Context = {
|
|
|
121
121
|
updateRealFaceTurnSide(): void;
|
|
122
122
|
isStepSucceed(step: number): boolean;
|
|
123
123
|
isStepFulfilled(step: number): boolean;
|
|
124
|
+
isStepAcceptable(step: number): boolean;
|
|
124
125
|
getStepConfigValue<K extends keyof StepConfig>(key: K): StepConfig[K];
|
|
125
126
|
};
|
|
126
127
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idscan/idvc2",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.3",
|
|
4
4
|
"description": "component for the capturing documents",
|
|
5
5
|
"main": "dist/idvc.js",
|
|
6
6
|
"types": "dist/types/idvc.d.ts",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"@typescript-eslint/parser": "5.59.6",
|
|
37
37
|
"acorn": "8.8.2",
|
|
38
38
|
"args-parser": "1.3.0",
|
|
39
|
-
"compression-webpack-plugin": "^
|
|
40
|
-
"copy-webpack-plugin": "
|
|
39
|
+
"compression-webpack-plugin": "^12.0.0",
|
|
40
|
+
"copy-webpack-plugin": "14.0.0",
|
|
41
41
|
"css-loader": "6.7.4",
|
|
42
42
|
"eslint": "8.41.0",
|
|
43
43
|
"eslint-config-airbnb-base": "15.0.0",
|
|
@@ -52,36 +52,31 @@
|
|
|
52
52
|
"jsdom": "22.0.0",
|
|
53
53
|
"mini-css-extract-plugin": "2.7.6",
|
|
54
54
|
"raw-loader": "^4.0.2",
|
|
55
|
-
"remove-files-webpack-plugin": "^1.5.0",
|
|
56
55
|
"sass": "1.62.0",
|
|
57
56
|
"sass-loader": "13.2.1",
|
|
58
57
|
"string-replace-loader": "3.1.0",
|
|
59
58
|
"swc-loader": "0.2.3",
|
|
60
59
|
"typescript": "5.0.4",
|
|
61
|
-
"webpack": "5.
|
|
60
|
+
"webpack": "5.111.1",
|
|
62
61
|
"webpack-bundle-analyzer": "4.8.0",
|
|
63
62
|
"webpack-cli": "5.1.1",
|
|
64
|
-
"webpack-dev-server": "
|
|
63
|
+
"webpack-dev-server": "6.0.0",
|
|
65
64
|
"webpack-merge": "5.8.0"
|
|
66
65
|
},
|
|
67
66
|
"dependencies": {
|
|
68
67
|
"@supabase/supabase-js": "^2.32.0",
|
|
69
68
|
"animejs": "^3.2.2",
|
|
70
|
-
"assert": "2.0.0",
|
|
71
69
|
"buffer": "6.0.3",
|
|
72
70
|
"core-js": "3.30.2",
|
|
73
|
-
"crypto-browserify": "3.12.0",
|
|
74
71
|
"detect-browser": "5.3.0",
|
|
75
72
|
"lit-html": "^3.2.1",
|
|
76
73
|
"mobile-detect": "1.4.5",
|
|
77
74
|
"onnxruntime-web": "1.17.0",
|
|
78
75
|
"pako": "^2.1.0",
|
|
79
76
|
"regenerator-runtime": "0.13.11",
|
|
80
|
-
"stream-browserify": "3.0.0",
|
|
81
77
|
"strtok3": "6.2.4",
|
|
82
78
|
"terser-webpack-plugin": "^5.3.10",
|
|
83
|
-
"token-types": "4.1.1"
|
|
84
|
-
"util": "0.12.5"
|
|
79
|
+
"token-types": "4.1.1"
|
|
85
80
|
},
|
|
86
81
|
"author": "IDScan.net",
|
|
87
82
|
"license": "Apache-2.0"
|