@tsocial/tvweb-sdk.omg 0.0.0-beta.20251215-093759 → 0.0.0-beta.20251215-165409

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.
@@ -945,7 +945,7 @@ declare const RESIZE_IMAGE_WIDTH = 856;
945
945
  declare const RESIZE_IMAGE_HEIGHT = 540;
946
946
  declare const VnCardsBboxes: Record<string, CardBboxes[]>;
947
947
 
948
- interface CardType {
948
+ type CardType = {
949
949
  back_qr: {
950
950
  exist: boolean;
951
951
  };
@@ -962,7 +962,7 @@ interface CardType {
962
962
  };
963
963
  name: string;
964
964
  orientation: 'horizontal' | 'vertical';
965
- }
965
+ };
966
966
  declare const CardTypes: {
967
967
  VnNationalID: CardType;
968
968
  VnCMND: CardType;
@@ -1600,7 +1600,7 @@ type ReadIDCardOptions = {
1600
1600
  cardType?: string;
1601
1601
  enableConfirmPopup?: boolean;
1602
1602
  }>;
1603
- allowedCardTypes?: string[];
1603
+ allowedCardTypes?: Array<string | CardType>;
1604
1604
  detectIdCard?: () => Promise<{
1605
1605
  card_label: string;
1606
1606
  }>;
@@ -1618,7 +1618,36 @@ type ReadIDCardWithApiCallOptions = Omit<ReadIDCardOptions, 'clientSettings'> &
1618
1618
  flowId?: FlowId;
1619
1619
  clientSettings?: Record<string, any>;
1620
1620
  };
1621
- type LivenessDetectionDoneResult = {};
1621
+ type LivenessDetectionDoneResult = {
1622
+ steps: Array<{
1623
+ name: string;
1624
+ image: {
1625
+ blob: Blob;
1626
+ encrypted?: {
1627
+ hex: string;
1628
+ };
1629
+ id?: string;
1630
+ };
1631
+ }>;
1632
+ frontalFaces: Array<Blob | {
1633
+ blob: Blob;
1634
+ id: string;
1635
+ }>;
1636
+ frontalFacesEncrypted?: Array<{
1637
+ hex: string;
1638
+ }>;
1639
+ frontalScaledImage?: Blob;
1640
+ capturedFrames: Array<{
1641
+ label: string;
1642
+ base64: string;
1643
+ metadata: string;
1644
+ index: number;
1645
+ }>;
1646
+ video?: Blob;
1647
+ apiCheckPassed?: boolean;
1648
+ verifyFaceLivenessResult?: any;
1649
+ verifyFacePortraitResult?: any;
1650
+ };
1622
1651
  type Frame = {
1623
1652
  label: string;
1624
1653
  base64: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsocial/tvweb-sdk.omg",
3
- "version": "0.0.0-beta.20251215-093759",
3
+ "version": "0.0.0-beta.20251215-165409",
4
4
  "description": "TV Web SDK - The Standalone SDK",
5
5
  "keywords": [],
6
6
  "license": "ISC",
@@ -27,15 +27,14 @@
27
27
  "test": "echo \"Error: run tests from root\" && exit 1"
28
28
  },
29
29
  "devDependencies": {
30
- "@tsocial/trustvision-sdk": "2.12.4",
31
- "@tsocial/tvweb-builder": "0.0.0-beta.20251215-093759",
32
- "@tsocial/tvweb-core": "0.0.0-beta.20251215-093759",
33
- "@tsocial/tvweb-ui": "0.0.0-beta.20251215-093759",
30
+ "@tsocial/tvweb-builder": "0.0.0-beta.20251215-165409",
31
+ "@tsocial/tvweb-core": "0.0.0-beta.20251215-165409",
32
+ "@tsocial/tvweb-ui": "0.0.0-beta.20251215-165409",
34
33
  "invariant": "^2.2.4",
35
34
  "react": "^16.14.0",
36
35
  "react-app-polyfill": "^2.0.0",
37
36
  "react-dom": "^16.14.0",
38
37
  "styled-components": "^6.1.12"
39
38
  },
40
- "gitHead": "2f889fe8ea9777b8379e3f440879d18a47aea19f"
39
+ "gitHead": "43491149f4c2b23acbcb3cbf9ca3efb40e091729"
41
40
  }