@tsocial/tvweb-sdk.nbcci 0.0.0-beta.20251215-093759 → 0.0.0-beta.20251215-170414

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.
@@ -746,7 +746,7 @@ declare const RESIZE_IMAGE_WIDTH = 856;
746
746
  declare const RESIZE_IMAGE_HEIGHT = 540;
747
747
  declare const VnCardsBboxes: Record<string, CardBboxes[]>;
748
748
 
749
- interface CardType {
749
+ type CardType = {
750
750
  back_qr: {
751
751
  exist: boolean;
752
752
  };
@@ -763,7 +763,7 @@ interface CardType {
763
763
  };
764
764
  name: string;
765
765
  orientation: 'horizontal' | 'vertical';
766
- }
766
+ };
767
767
  declare const CardTypes: {
768
768
  VnNationalID: CardType;
769
769
  VnCMND: CardType;
@@ -1401,7 +1401,7 @@ type ReadIDCardOptions = {
1401
1401
  cardType?: string;
1402
1402
  enableConfirmPopup?: boolean;
1403
1403
  }>;
1404
- allowedCardTypes?: string[];
1404
+ allowedCardTypes?: Array<string | CardType>;
1405
1405
  detectIdCard?: () => Promise<{
1406
1406
  card_label: string;
1407
1407
  }>;
@@ -1419,7 +1419,36 @@ type ReadIDCardWithApiCallOptions = Omit<ReadIDCardOptions, 'clientSettings'> &
1419
1419
  flowId?: FlowId;
1420
1420
  clientSettings?: Record<string, any>;
1421
1421
  };
1422
- type LivenessDetectionDoneResult = {};
1422
+ type LivenessDetectionDoneResult = {
1423
+ steps: Array<{
1424
+ name: string;
1425
+ image: {
1426
+ blob: Blob;
1427
+ encrypted?: {
1428
+ hex: string;
1429
+ };
1430
+ id?: string;
1431
+ };
1432
+ }>;
1433
+ frontalFaces: Array<Blob | {
1434
+ blob: Blob;
1435
+ id: string;
1436
+ }>;
1437
+ frontalFacesEncrypted?: Array<{
1438
+ hex: string;
1439
+ }>;
1440
+ frontalScaledImage?: Blob;
1441
+ capturedFrames: Array<{
1442
+ label: string;
1443
+ base64: string;
1444
+ metadata: string;
1445
+ index: number;
1446
+ }>;
1447
+ video?: Blob;
1448
+ apiCheckPassed?: boolean;
1449
+ verifyFaceLivenessResult?: any;
1450
+ verifyFacePortraitResult?: any;
1451
+ };
1423
1452
  type Frame = {
1424
1453
  label: string;
1425
1454
  base64: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsocial/tvweb-sdk.nbcci",
3
- "version": "0.0.0-beta.20251215-093759",
3
+ "version": "0.0.0-beta.20251215-170414",
4
4
  "description": "TV Web SDK - The Standalone SDK",
5
5
  "keywords": [],
6
6
  "author": "Nha Hoang <nha.hoang@trustingsocial.com>",
@@ -29,15 +29,14 @@
29
29
  "test": "echo \"Error: run tests from root\" && exit 1"
30
30
  },
31
31
  "devDependencies": {
32
- "@tsocial/trustvision-sdk": "2.12.4",
33
- "@tsocial/tvweb-builder": "0.0.0-beta.20251215-093759",
34
- "@tsocial/tvweb-core": "0.0.0-beta.20251215-093759",
35
- "@tsocial/tvweb-ui": "0.0.0-beta.20251215-093759",
32
+ "@tsocial/tvweb-builder": "0.0.0-beta.20251215-170414",
33
+ "@tsocial/tvweb-core": "0.0.0-beta.20251215-170414",
34
+ "@tsocial/tvweb-ui": "0.0.0-beta.20251215-170414",
36
35
  "invariant": "^2.2.4",
37
36
  "react": "^16.14.0",
38
37
  "react-app-polyfill": "^2.0.0",
39
38
  "react-dom": "^16.14.0",
40
39
  "styled-components": "^6.1.12"
41
40
  },
42
- "gitHead": "2f889fe8ea9777b8379e3f440879d18a47aea19f"
41
+ "gitHead": "6c15f9f77ed74ad0d5c5db96f55c75ecf59b760e"
43
42
  }