@idscan/idvc2 2.5.4 → 2.5.6

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.
@@ -1,6 +1,6 @@
1
- export type DocumentTypeIndex = 1 | 2 | 3 | 6 | 7 | 8 | 9;
2
- export type DocumentTypeName = 'ID' | 'Passport' | 'PassportCard' | 'GreenCard' | 'InternationalId' | 'VIN' | 'Barcode';
3
- export type HumanName = 'Driver\'s License or ID card' | 'Passport' | 'Passport Card' | 'Green Card or Employment Authorization' | 'International ID' | 'Vehicle Identification Number' | '1-D and 2-D Barcodes';
1
+ export type DocumentTypeIndex = 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10;
2
+ export type DocumentTypeName = 'ID' | 'Passport' | 'PassportCard' | 'GreenCard' | 'InternationalId' | 'VIN' | 'Barcode' | 'FaceAuthorization';
3
+ export type HumanName = 'Driver\'s License or ID card' | 'Passport' | 'Passport Card' | 'Green Card or Employment Authorization' | 'International ID' | 'Vehicle Identification Number' | '1-D and 2-D Barcodes' | 'Face Authorization';
4
4
  export type ImageSource = 'video' | 'file';
5
5
 
6
6
  export interface DocumentRecord {
@@ -69,6 +69,12 @@ const documentType: DocumentType = {
69
69
  nName: 'barcode',
70
70
  humanName: '1-D and 2-D Barcodes',
71
71
  },
72
+ {
73
+ name: 'FaceAuthorization',
74
+ id: 10,
75
+ nName: 'faceauth',
76
+ humanName: 'Face Authorization',
77
+ },
72
78
  ],
73
79
  get length() {
74
80
  return this.items.length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idscan/idvc2",
3
- "version": "2.5.4",
3
+ "version": "2.5.6",
4
4
  "description": "component for the capturing documents",
5
5
  "main": "dist/idvc.js",
6
6
  "types": "dist/types/idvc.d.ts",