@tsocial/tvweb-sdk 5.34.7 → 5.34.8
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/build/tvweb-sdk.cjs.min.js +647 -647
- package/build/tvweb-sdk.esm.min.js +647 -647
- package/build/tvweb-sdk.standalone.js +3893 -3809
- package/build/tvweb-sdk.standalone.min.js +647 -647
- package/build/types/index.d.ts +3 -1
- package/package.json +5 -5
package/build/types/index.d.ts
CHANGED
|
@@ -774,6 +774,7 @@ declare const CardTypes: {
|
|
|
774
774
|
VnTCC: CardType;
|
|
775
775
|
PhNationalID: CardType;
|
|
776
776
|
PhNID: CardType;
|
|
777
|
+
GlobalPassport: CardType;
|
|
777
778
|
VietnameseCards: CardType[];
|
|
778
779
|
PhilippinesCards: CardType[];
|
|
779
780
|
};
|
|
@@ -1408,11 +1409,12 @@ type IDCardStep = {
|
|
|
1408
1409
|
cardType?: string;
|
|
1409
1410
|
enableConfirmPopup?: boolean;
|
|
1410
1411
|
};
|
|
1412
|
+
type CardTypeString = 'vn.national_id' | 'vn.cmnd_old' | 'vn.cmnd_new' | 'vn.cccd' | 'vn.cccd_new' | 'vn.tcc' | 'vn.passport' | 'ph.national_id' | 'ph.nid' | 'global.passport';
|
|
1411
1413
|
type ReadIDCardOptions = {
|
|
1412
1414
|
clientSettings: Record<string, any>;
|
|
1413
1415
|
onError: (error: ErrorObject) => void;
|
|
1414
1416
|
steps?: Array<IDCardStep>;
|
|
1415
|
-
allowedCardTypes?: Array<
|
|
1417
|
+
allowedCardTypes?: Array<CardTypeString | CardType>;
|
|
1416
1418
|
detectIdCard?: () => Promise<{
|
|
1417
1419
|
card_label: string;
|
|
1418
1420
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsocial/tvweb-sdk",
|
|
3
|
-
"version": "5.34.
|
|
3
|
+
"version": "5.34.8",
|
|
4
4
|
"description": "TV Web SDK - The Standalone SDK",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Nha Hoang <nha.hoang@trustingsocial.com>",
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@tsocial/tvweb-builder": "5.34.
|
|
33
|
-
"@tsocial/tvweb-core": "5.34.
|
|
34
|
-
"@tsocial/tvweb-ui": "5.34.
|
|
32
|
+
"@tsocial/tvweb-builder": "5.34.8",
|
|
33
|
+
"@tsocial/tvweb-core": "5.34.8",
|
|
34
|
+
"@tsocial/tvweb-ui": "5.34.8",
|
|
35
35
|
"invariant": "^2.2.4",
|
|
36
36
|
"react": "^16.14.0",
|
|
37
37
|
"react-app-polyfill": "^2.0.0",
|
|
38
38
|
"react-dom": "^16.14.0",
|
|
39
39
|
"styled-components": "^6.1.12"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "7a712c40cbec176109be2813eee0d76ade0d57ae"
|
|
42
42
|
}
|