@microblink/blinkid-verify-core 3.20.0-rc.0

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.
@@ -0,0 +1,10 @@
1
+ {
2
+ "wasm": {
3
+ "advanced": 5446035,
4
+ "advanced-threads": 5504391
5
+ },
6
+ "data": {
7
+ "advanced": 14321999,
8
+ "advanced-threads": 14321999
9
+ }
10
+ }
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@microblink/blinkid-verify-core",
3
+ "version": "3.20.0-rc.0",
4
+ "author": "Microblink",
5
+ "type": "module",
6
+ "main": "./dist/blinkid-verify-core.js",
7
+ "module": "./dist/blinkid-verify-core.js",
8
+ "description": "BlinkID Verify Core SDK",
9
+ "files": [
10
+ "dist",
11
+ "types"
12
+ ],
13
+ "dependencies": {
14
+ "comlink": "^4.4.2",
15
+ "common-tags": "^1.8.2",
16
+ "type-fest": "^4.35.0"
17
+ },
18
+ "access": "public",
19
+ "registry": "https://registry.npmjs.org/",
20
+ "types": "./types/index.rollup.d.ts",
21
+ "homepage": "https://github.com/microblink/web-sdks",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/microblink/web-sdks.git"
25
+ },
26
+ "exports": {
27
+ ".": {
28
+ "types": "./types/index.rollup.d.ts",
29
+ "import": "./dist/blinkid-verify-core.js"
30
+ },
31
+ "./package.json": "./package.json"
32
+ }
33
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Copyright (c) 2026 Microblink Ltd. All rights reserved.
3
+ */
4
+ import type { BlinkIdVerifyWorkerInitSettings, BlinkIdVerifyWorkerProxy, ProgressStatusCallback } from "@microblink/blinkid-verify-worker";
5
+ import type { SetOptional, Simplify } from "type-fest";
6
+ import { Remote } from "comlink";
7
+ /**
8
+ * Configuration options for initializing the BlinkIdVerify core.
9
+ *
10
+ * This type extends the BlinkIdVerifyWorkerInitSettings type by making the userId and useLightweightBuild properties optional.
11
+ * It allows for partial configuration of the initialization settings.
12
+ */
13
+ export type BlinkIdVerifyInitSettings = SetOptional<BlinkIdVerifyWorkerInitSettings, "userId">;
14
+ /**
15
+ * Represents the BlinkIdVerify core instance.
16
+ *
17
+ * This type extends the Remote type from Comlink, which is used to proxy calls to the BlinkIdVerify worker.
18
+ * It simplifies the type to remove unnecessary complexity.
19
+ */
20
+ export type BlinkIdVerifyCore = Simplify<Remote<BlinkIdVerifyWorkerProxy>>;
21
+ /**
22
+ * Creates and initializes a BlinkIdVerify core instance.
23
+ *
24
+ * @param settings - Configuration for BlinkIdVerify initialization including license key and resources location
25
+ * @param progressCallback - Optional callback for tracking resource download progress (WASM, data files)
26
+ * @returns Promise that resolves with initialized BlinkIdVerify core instance
27
+ * @throws Error if initialization fails
28
+ */
29
+ export declare function loadBlinkIdVerifyCore(settings: BlinkIdVerifyInitSettings, progressCallback?: ProgressStatusCallback): Promise<BlinkIdVerifyCore>;
30
+ //# sourceMappingURL=BlinkIdVerifyCore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlinkIdVerifyCore.d.ts","sourceRoot":"","sources":["../src/BlinkIdVerifyCore.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,+BAA+B,EAC/B,wBAAwB,EACxB,sBAAsB,EACvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAS,MAAM,EAAE,MAAM,SAAS,CAAC;AAIxC;;;;;GAKG;AACH,MAAM,MAAM,yBAAyB,GAAG,WAAW,CACjD,+BAA+B,EAE/B,QAAQ,CACT,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC,CAAC;AAI3E;;;;;;;GAOG;AACH,wBAAsB,qBAAqB,CACzC,QAAQ,EAAE,yBAAyB,EACnC,gBAAgB,CAAC,EAAE,sBAAsB,GACxC,OAAO,CAAC,iBAAiB,CAAC,CA0B5B"}
@@ -0,0 +1,238 @@
1
+ /**
2
+ * Copyright (c) 2026 Microblink Ltd. All rights reserved.
3
+ */
4
+ import { BlinkIdVerifyScanningResult, ScanningSettings } from "@microblink/blinkid-verify-wasm";
5
+ /**
6
+ * Specifies the strictness level for a particular match check sent to the BlinkID Verify Cloud API.
7
+ *
8
+ * Higher levels apply stricter thresholds. Use `"Disabled"` to skip a check entirely.
9
+ */
10
+ export type BlinkIdVerifyRequestMatchLevel = "Disabled" | "Level1" | "Level2" | "Level3" | "Level4" | "Level5" | "Level6" | "Level7" | "Level8" | "Level9" | "Level10";
11
+ /**
12
+ * Controls which parts of the verification result are anonymized in the API response.
13
+ *
14
+ * - `"ImageOnly"` — redacts only the document images.
15
+ * - `"ResultFieldsOnly"` — redacts only the parsed data fields.
16
+ * - `"FullResult"` — redacts both images and data fields.
17
+ * - `"None"` — no anonymization is applied.
18
+ */
19
+ export type BlinkIdVerifyRequestAnonymizationMode = "ImageOnly" | "ResultFieldsOnly" | "FullResult" | "None";
20
+ /**
21
+ * Specifies the strictness of the model when marking the quality of the image.
22
+ * Includes a range of values that allow for more or less conservative
23
+ * approach.
24
+ *
25
+ * - `"Ignore"`: Ensures that BlinkID Verify API returns a `Pass` or `Fail` verdict
26
+ * even if image quality is not good enough.
27
+ * - `"Conservative"`: If image quality is not good enough, BlinkID Verify API will
28
+ * refuse to process the image and a `NotPerformed` verdict will be returned.
29
+ * When a `NotPerformed` verdict is returned, BlinkID Verify API will prompt the
30
+ * user to repeat the capture process. This is indicated by the `Retry` value
31
+ * under `RecommendedOutcome` in the response.
32
+ * - `"HighAssurance"`: A `Fail` verdict can be returned even if image quality is
33
+ * not good enough, but occasionally a `Pass` verdict will not be returned if
34
+ * image quality is not satisfactory.
35
+ * - `"HighConversion"`: A `Pass` verdict can be returned even if image quality
36
+ * is not good enough, but occasionally a `Fail` verdict will not be returned
37
+ * if image quality is not satisfactory.
38
+ * - `"VeryHighConversion"`: A `Pass` verdict can be returned even if image
39
+ * quality is significantly unsatisfactory, but a `Fail` verdict will not be
40
+ * returned if image quality is really poor.
41
+ */
42
+ export type BlinkIdVerifyRequestImageQualityInterpretation = "Ignore" | "Conservative" | "HighAssurance" | "HighConversion" | "VeryHighConversion";
43
+ /**
44
+ * Defines the strictness of checks performed by BlinkID Verify API as part of the
45
+ * `UseCase` settings.
46
+ *
47
+ * - `"Permissive"`: Optimized for letting real users through. In cases of doubt
48
+ * or lower confidence, BlinkID Verify API will avoid failing the document.
49
+ * - `"Standard"`: Default policy. It is more strict compared to `Permissive` but
50
+ * still optimized for accepting real users.
51
+ * - `"Strict"`: Users with damaged documents, bad lighting conditions or lower
52
+ * image quality will probably be rejected. In cases of doubt or lower
53
+ * confidence, the document will more often be rejected.
54
+ * - `"VeryStrict"`: Reasonable only for the most sensitive use cases.
55
+ * Significant user friction is added to stop as much fraud as possible.
56
+ */
57
+ type BlinkIdVerifyRequestDocumentVerificationPolicy = "Permissive" | "Standard" | "Strict" | "VeryStrict";
58
+ /**
59
+ * Defines the manual review strategy used during document verification as part
60
+ * of the `UseCase` settings.
61
+ *
62
+ * - `"Never"`: No documents will be sent for manual review.
63
+ * - `"RejectedAndAccepted"`: Both rejected and accepted documents will be sent
64
+ * for manual review.
65
+ * - `"RejectedOnly"`: Only rejected documents will be sent for manual review.
66
+ * - `"AcceptedOnly"`: Only accepted documents will be sent for manual review.
67
+ */
68
+ export type BlinkIdVerifyRequestManualReviewStrategy = "Never" | "RejectedAndAccepted" | "RejectedOnly" | "AcceptedOnly";
69
+ /**
70
+ * Defines the volume of documents that will be sent for manual review as part
71
+ * of the `UseCase` settings. The outcome depends on the selected policy and
72
+ * varies according to the overall verification `CertaintyLevel`.
73
+ *
74
+ * If manual review is not used, this setting is ignored.
75
+ *
76
+ * - `"Low"`: Only borderline cases are sent for manual review. <br/> Documents
77
+ * where certainty is `Low` alongside a `SuspiciousDataCheck` fail will be
78
+ * sent for manual review.
79
+ * - `"Default"`: The manual review process is default.
80
+ * - `"High"`: The manual review process is high.
81
+ */
82
+ export type BlinkIdVerifyRequestManualReviewSensitivity = "Low" | "Default" | "High";
83
+ /**
84
+ * Defines the context under which document verification is performed as part of
85
+ * the `UseCase` settings. It describes the setup and conditions in which
86
+ * verification occurs.
87
+ *
88
+ * - `"Remote"`: Default policy. Document verification is performed in a remote
89
+ * setting where a user is scanning the document in their own space,
90
+ * unsupervised.
91
+ * - `"InPerson"`: Document verification is performed in an in-person environment
92
+ * in which a trained employee is scanning the document. <br/> Document
93
+ * liveness checks are not performed when `InPerson` policy is set.
94
+ */
95
+ export type BlinkIdVerifyRequestVerificationContext = "Remote" | "InPerson";
96
+ /**
97
+ * Defines the conditions under which the document is captured as part of the
98
+ * `UseCase` settings.
99
+ *
100
+ * - `"NoControl"`: Is the same as `"Basic"`, it will be removed in
101
+ * the future.
102
+ * - `"Basic"`: Allows for processing of fully cropped documents. The integrator
103
+ * has no control over the capture process on the user's side and is limited
104
+ * by the lack of a robust SDK. It is not possible for a cropped document to
105
+ * get a `Pass` or `Accept` in the overall result. Liveness checks will not be
106
+ * performed if the document is fully cropped.
107
+ * - `"Hybrid"`: Allows for processing of fully cropped documents. The integrator
108
+ * has no control over the capture process on the user's side and is limited
109
+ * by the lack of a robust SDK. It is possible for a cropped document to get a
110
+ * `Pass` or `Accept` in the overall result. Liveness checks will not be
111
+ * performed if the document is fully cropped.
112
+ */
113
+ export type BlinkIdVerifyRequestCaptureConditions = "NoControl" | "Basic" | "Hybrid";
114
+ /**
115
+ * Represents a document image submitted to the BlinkID Verify API.
116
+ */
117
+ type BlinkIdVerifyRequestDocumentVerificationImageSource = {
118
+ /** Base64-encoded JPEG image data, or `null` if no image is available. */
119
+ base64: string | null;
120
+ };
121
+ /**
122
+ * The request payload sent to the BlinkID Verify API.
123
+ *
124
+ * Contains the captured document images, verification options, and use-case
125
+ * configuration derived from the scanning result and session settings.
126
+ */
127
+ type BlinkIdVerifyPayload = {
128
+ /** The front-side image of the document. */
129
+ imageFront?: BlinkIdVerifyRequestDocumentVerificationImageSource;
130
+ /** The back-side image of the document. */
131
+ imageBack?: BlinkIdVerifyRequestDocumentVerificationImageSource;
132
+ /** The barcode image extracted from the document. */
133
+ imageBarcode?: BlinkIdVerifyRequestDocumentVerificationImageSource;
134
+ /** Verification options that control check strictness and returned data. */
135
+ options?: {
136
+ /** Whether an expired document should be treated as fraudulent. */
137
+ treatExpirationAsFraud?: boolean;
138
+ /** Controls which parts of the result are anonymized. */
139
+ anonymizationMode?: BlinkIdVerifyRequestAnonymizationMode;
140
+ /** How image quality issues affect the overall verification outcome. */
141
+ imageQualityInterpretation?: BlinkIdVerifyRequestImageQualityInterpretation;
142
+ /** Match level threshold for detecting that the document was displayed on a screen. */
143
+ screenMatchLevel?: BlinkIdVerifyRequestMatchLevel;
144
+ /** Match level threshold for detecting photocopy fraud. */
145
+ photocopyMatchLevel?: BlinkIdVerifyRequestMatchLevel;
146
+ /** Match level threshold for detecting barcode anomalies. */
147
+ barcodeAnomalyMatchLevel?: BlinkIdVerifyRequestMatchLevel;
148
+ /** Match level threshold for detecting photo forgery. */
149
+ photoForgeryMatchLevel?: BlinkIdVerifyRequestMatchLevel;
150
+ /** Match level threshold for verifying static security features. */
151
+ staticSecurityFeaturesMatchLevel?: BlinkIdVerifyRequestMatchLevel;
152
+ /** Match level threshold for data consistency checks across document fields. */
153
+ dataMatchMatchLevel?: BlinkIdVerifyRequestMatchLevel;
154
+ /** Match level threshold for the blur image quality check. */
155
+ blurMatchLevel?: BlinkIdVerifyRequestMatchLevel;
156
+ /** Match level threshold for the glare image quality check. */
157
+ glareMatchLevel?: BlinkIdVerifyRequestMatchLevel;
158
+ /** Match level threshold for the lighting image quality check. */
159
+ lightingMatchLevel?: BlinkIdVerifyRequestMatchLevel;
160
+ /** Match level threshold for the sharpness image quality check. */
161
+ sharpnessMatchLevel?: BlinkIdVerifyRequestMatchLevel;
162
+ /** Match level threshold for the hand occlusion image quality check. */
163
+ handOcclusionMatchLevel?: BlinkIdVerifyRequestMatchLevel;
164
+ /** Match level threshold for the DPI (dots per inch) image quality check. */
165
+ dpiMatchLevel?: BlinkIdVerifyRequestMatchLevel;
166
+ /** Match level threshold for the document tilt image quality check. */
167
+ tiltMatchLevel?: BlinkIdVerifyRequestMatchLevel;
168
+ /** Whether to include the face image in the API response. */
169
+ returnFaceImage?: boolean;
170
+ /** Whether to include the full document image in the API response. */
171
+ returnFullDocumentImage?: boolean;
172
+ /** Whether to include the signature image in the API response. */
173
+ returnSignatureImage?: boolean;
174
+ /** The image format used for returned images. */
175
+ returnImageFormat?: "Jpg" | "Png" | "Qoi";
176
+ /** Match level threshold for the generative AI–based fraud detection check. */
177
+ generativeAiMatchLevel?: BlinkIdVerifyRequestMatchLevel;
178
+ };
179
+ /** Use-case configuration that tailors the verification policy to the deployment context. */
180
+ useCase?: {
181
+ /** The overall strictness policy applied during document verification. */
182
+ documentVerificationPolicy?: BlinkIdVerifyRequestDocumentVerificationPolicy;
183
+ /** The physical context in which the document is being verified. */
184
+ verificationContext?: BlinkIdVerifyRequestVerificationContext;
185
+ /** Which verification outcomes are escalated for manual human review. */
186
+ manualReviewStrategy?: BlinkIdVerifyRequestManualReviewStrategy;
187
+ /** The sensitivity threshold for triggering manual review. */
188
+ manualReviewSensitivity?: BlinkIdVerifyRequestManualReviewSensitivity;
189
+ /** The level of control over image capture conditions. */
190
+ captureConditions?: BlinkIdVerifyRequestCaptureConditions;
191
+ };
192
+ /** The unique identifier of the capture session, used to correlate the request with SDK telemetry. */
193
+ captureSessionId: string;
194
+ };
195
+ /**
196
+ * The image format used when requesting document images in the API response.
197
+ */
198
+ export type ReturnImageFormat = "Jpg" | "Png" | "Qoi";
199
+ /**
200
+ * Caller-supplied options for the BlinkID Verify Cloud API request.
201
+ *
202
+ * These options are merged with settings derived from the scanning session to
203
+ * produce the final {@link BlinkIdVerifyPayload}. Only the subset of options
204
+ * that are relevant to the caller are exposed here.
205
+ */
206
+ export type BlinkIdVerifyRequestOptions = {
207
+ /** Controls which parts of the result are anonymized in the API response. */
208
+ anonymizationMode?: BlinkIdVerifyRequestAnonymizationMode;
209
+ /** Match level threshold for detecting photocopy fraud. */
210
+ photocopyMatchLevel?: BlinkIdVerifyRequestMatchLevel;
211
+ /** Match level threshold for detecting photo forgery. */
212
+ photoForgeryMatchLevel?: BlinkIdVerifyRequestMatchLevel;
213
+ /** Whether to include the face image in the API response. */
214
+ returnFaceImage?: boolean;
215
+ /** Whether to include the full document image in the API response. */
216
+ returnFullDocumentImage?: boolean;
217
+ /** Whether to include the signature image in the API response. */
218
+ returnSignatureImage?: boolean;
219
+ /** The image format used for returned images. */
220
+ returnImageFormat?: ReturnImageFormat;
221
+ /** Match level threshold for the generative AI–based fraud detection check. */
222
+ generativeAiMatchLevel?: BlinkIdVerifyRequestMatchLevel;
223
+ };
224
+ /**
225
+ * Builds the JSON payload for the BlinkID Verify Cloud API from a completed scanning result.
226
+ *
227
+ * Maps internal SDK enum values (kebab-case) to their API-facing PascalCase equivalents
228
+ * and encodes captured document frames as base64 JPEG strings.
229
+ *
230
+ * @param result - The scanning result produced by the BlinkIdVerify SDK.
231
+ * @param sessionId - The unique identifier of the capture session to include in the payload.
232
+ * @param settings - The scanning settings used during the session, used to derive verification options.
233
+ * @param options - Optional caller-supplied overrides for anonymization, image return, and match levels.
234
+ * @returns The fully constructed payload ready to be submitted to the BlinkID Verify Cloud API.
235
+ */
236
+ export declare function GeneratePayloadForBlinkidVerifyRequest(result: BlinkIdVerifyScanningResult, sessionId: string, settings: ScanningSettings, options?: BlinkIdVerifyRequestOptions): BlinkIdVerifyPayload;
237
+ export {};
238
+ //# sourceMappingURL=generatePayloadForBlinkIdVerifyCloudApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generatePayloadForBlinkIdVerifyCloudApi.d.ts","sourceRoot":"","sources":["../src/generatePayloadForBlinkIdVerifyCloudApi.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH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026 Microblink Ltd. All rights reserved.
3
+ */
4
+ /**
5
+ * @packageDocumentation
6
+ * Core functionality of BlinkIdVerify SDK - provides essential document scanning capabilities and worker management.
7
+ * This package serves as the foundation for document scanning, handling WASM initialization, worker communication,
8
+ * and core scanning operations.
9
+ */
10
+ import { WorkerScanningSession } from "@microblink/blinkid-verify-worker";
11
+ import { Remote } from "comlink";
12
+ export type * from "@microblink/blinkid-verify-wasm";
13
+ export type * from "@microblink/blinkid-verify-worker";
14
+ export { AnalyticService } from "@microblink/analytics/AnalyticService";
15
+ export type * from "@microblink/analytics/ping";
16
+ export { createProxyWorker } from "@microblink/core-common/createProxyWorker";
17
+ export { createDerivedDeviceInfo, getDeviceInfo, getUserAgentData, type BrowserStorageSupport, type DerivedDeviceInfo, type DeviceInfo, type DeviceScreenInfo, type FormFactor, type GpuInfo, type UADataValues, } from "@microblink/core-common/deviceInfo/deviceInfo";
18
+ export { getCrossOriginWorkerURL } from "@microblink/core-common/getCrossOriginWorkerURL";
19
+ export { getUserId } from "@microblink/core-common/getUserId";
20
+ export * from "./BlinkIdVerifyCore";
21
+ export * from "./generatePayloadForBlinkIdVerifyCloudApi";
22
+ /** Represents a remote scanning session. */
23
+ export type RemoteScanningSession = Remote<WorkerScanningSession>;
24
+ declare const testSymbol: unique symbol;
25
+ declare global {
26
+ var __BLINKID_VERIFY_CORE__: typeof testSymbol;
27
+ }
28
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;GAKG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEjC,mBAAmB,iCAAiC,CAAC;AACrD,mBAAmB,mCAAmC,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,mBAAmB,4BAA4B,CAAC;AAEhD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,YAAY,GAClB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,cAAc,qBAAqB,CAAC;AACpC,cAAc,2CAA2C,CAAC;AAE1D,4CAA4C;AAC5C,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,qBAAqB,CAAC,CAAC;AAIlE,QAAA,MAAM,UAAU,eAAW,CAAC;AAE5B,OAAO,CAAC,MAAM,CAAC;IAEb,IAAI,uBAAuB,EAAE,OAAO,UAAU,CAAC;CAChD"}