@authme/id-recognition 2.8.0 → 2.8.1-patch.1

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/index.cjs CHANGED
@@ -374,8 +374,8 @@ const twoWayAuthmeCardClassMap = (() => {
374
374
  })();
375
375
 
376
376
  var name = "authme/sdk";
377
- var version$1 = "2.8.0";
378
- var date = "2025-01-13T09:38:31+0000";
377
+ var version$1 = "2.8.1-patch.1";
378
+ var date = "2025-06-12T13:55:46+0000";
379
379
  var packageInfo = {
380
380
  name: name,
381
381
  version: version$1,
@@ -394,6 +394,7 @@ function initScan(type, country, needConfirm, cardTypes) {
394
394
  scanType: type === exports.IdRecognitionCardType.Passport ? `ALL_Passport` : `${country}_${type}`,
395
395
  cardTypes: useCardTypes,
396
396
  needConfirm,
397
+ encrypt: true,
397
398
  clientInfo: {
398
399
  os: 'web',
399
400
  os_ver: util.osVersion(),
package/index.js CHANGED
@@ -371,8 +371,8 @@ const twoWayAuthmeCardClassMap = (() => {
371
371
  })();
372
372
 
373
373
  var name = "authme/sdk";
374
- var version$1 = "2.8.0";
375
- var date = "2025-01-13T09:38:31+0000";
374
+ var version$1 = "2.8.1-patch.1";
375
+ var date = "2025-06-12T13:55:46+0000";
376
376
  var packageInfo = {
377
377
  name: name,
378
378
  version: version$1,
@@ -391,6 +391,7 @@ function initScan(type, country, needConfirm, cardTypes) {
391
391
  scanType: type === IdRecognitionCardType.Passport ? `ALL_Passport` : `${country}_${type}`,
392
392
  cardTypes: useCardTypes,
393
393
  needConfirm,
394
+ encrypt: true,
394
395
  clientInfo: {
395
396
  os: 'web',
396
397
  os_ver: osVersion(),
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@authme/id-recognition",
3
- "version": "2.8.0",
3
+ "version": "2.8.1-patch.1",
4
4
  "peerDependencies": {
5
5
  "core-js": "^3.6.0",
6
- "@authme/core": "2.8.0",
7
- "@authme/util": "2.8.0",
8
- "@authme/engine": "2.8.0"
6
+ "@authme/core": "2.8.1-patch.1",
7
+ "@authme/util": "2.8.1-patch.1",
8
+ "@authme/engine": "2.8.1-patch.1"
9
9
  },
10
10
  "module": "./index.js",
11
11
  "main": "./index.cjs",
@@ -44,6 +44,7 @@ export declare function recognizeBase64(body: {
44
44
  details: {
45
45
  [key: string]: string | null;
46
46
  };
47
+ detectCardResult: boolean;
47
48
  }>;
48
49
  export declare function uploadFrameBase64(body: {
49
50
  scanDocumentId?: string;