@tsocial/tvweb-sdk.platform 5.35.1 → 5.36.0
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/esm/chunk-1bd57581.js +3 -0
- package/build/esm/chunk-390ea2aa.js +1 -0
- package/build/esm/chunk-3fc64163.js +1 -0
- package/build/esm/chunk-41c1d4f2.js +1 -0
- package/build/esm/chunk-44240957.js +1 -0
- package/build/esm/chunk-4da2a90d.js +1 -0
- package/build/esm/chunk-5544ce07.js +1 -0
- package/build/esm/chunk-58f60271.js +10 -0
- package/build/esm/chunk-7c980e08.js +1 -0
- package/build/esm/chunk-9390d088.js +1121 -0
- package/build/esm/chunk-989d36e3.js +3 -0
- package/build/esm/chunk-a37a1269.js +256 -0
- package/build/esm/chunk-afb105f2.js +428 -0
- package/build/esm/chunk-b39a7ba9.js +1 -0
- package/build/esm/chunk-c136757f.js +1 -0
- package/build/esm/chunk-c298ad04.js +1 -0
- package/build/esm/chunk-ce4fbdae.js +1 -0
- package/build/esm/chunk-dad8ede3.js +1 -0
- package/build/esm/chunk-e1ce62d6.js +45 -0
- package/build/esm/chunk-e468b8ce.js +85 -0
- package/build/esm/chunk-eea8c6e6.js +1 -0
- package/build/esm/chunk-fdbce3d2.js +1 -0
- package/build/esm/tvweb-sdk.platform.esm.min.js +1 -0
- package/build/tvweb-sdk.platform.cjs.min.js +986 -1131
- package/build/tvweb-sdk.platform.standalone.js +61402 -65034
- package/build/tvweb-sdk.platform.standalone.min.js +986 -1131
- package/build/types/index.d.ts +22 -11
- package/package.json +7 -7
- package/build/tvweb-sdk.platform.esm.min.js +0 -2089
package/build/types/index.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ declare const AlertErrors: {
|
|
|
7
7
|
readonly wrong_orientation: {
|
|
8
8
|
readonly code: "wrong_orientation";
|
|
9
9
|
readonly msg: {
|
|
10
|
-
readonly en: "
|
|
11
|
-
readonly vi: "
|
|
12
|
-
readonly 'es-mx': "
|
|
10
|
+
readonly en: "Please do not change the screen orientation while in progress.";
|
|
11
|
+
readonly vi: "Vui lòng không thay đổi hướng xoay màn hình khi đang thực hiện.";
|
|
12
|
+
readonly 'es-mx': "Por favor, no cambies la orientación de la pantalla durante el proceso.";
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
readonly no_face: {
|
|
@@ -319,9 +319,9 @@ declare const Errors: {
|
|
|
319
319
|
readonly wrong_orientation: {
|
|
320
320
|
readonly code: "wrong_orientation";
|
|
321
321
|
readonly msg: {
|
|
322
|
-
readonly en: "
|
|
323
|
-
readonly vi: "
|
|
324
|
-
readonly 'es-mx': "
|
|
322
|
+
readonly en: "Please do not change the screen orientation while in progress.";
|
|
323
|
+
readonly vi: "Vui lòng không thay đổi hướng xoay màn hình khi đang thực hiện.";
|
|
324
|
+
readonly 'es-mx': "Por favor, no cambies la orientación de la pantalla durante el proceso.";
|
|
325
325
|
};
|
|
326
326
|
};
|
|
327
327
|
readonly no_face: {
|
|
@@ -1154,6 +1154,8 @@ declare const _default: {
|
|
|
1154
1154
|
id_detector_error_blurry: string;
|
|
1155
1155
|
not_frontal_face: string;
|
|
1156
1156
|
not_allowed_card_types: string;
|
|
1157
|
+
id_detector_invalid_front_card: string;
|
|
1158
|
+
id_detector_invalid_back_card: string;
|
|
1157
1159
|
warmup_intro: string;
|
|
1158
1160
|
btn_ok: string;
|
|
1159
1161
|
btn_use_this_picture: string;
|
|
@@ -1339,6 +1341,7 @@ type ReadIDCardResult = {
|
|
|
1339
1341
|
error?: any;
|
|
1340
1342
|
qrScannedResult?: {
|
|
1341
1343
|
result: string;
|
|
1344
|
+
results: string[];
|
|
1342
1345
|
validateResult: {
|
|
1343
1346
|
valid: boolean;
|
|
1344
1347
|
};
|
|
@@ -1566,6 +1569,13 @@ declare class BaseTVWebSDK {
|
|
|
1566
1569
|
component: Record<string, any>;
|
|
1567
1570
|
commonSettings: Record<string, any>;
|
|
1568
1571
|
constructor(constructorProps: BaseTVWebSDKProps);
|
|
1572
|
+
/**
|
|
1573
|
+
* Resolve a component by name. Checks eager components first (from constructor
|
|
1574
|
+
* `component` / `baseComponent` overrides), then falls back to lazy loaders
|
|
1575
|
+
* defined in `lazyLoaders`. Results from lazy loaders are cached so the
|
|
1576
|
+
* dynamic import only happens once per component.
|
|
1577
|
+
*/
|
|
1578
|
+
protected resolveComponent(name: string): Promise<any>;
|
|
1569
1579
|
/**
|
|
1570
1580
|
* Check the ability to open the camera of the current device.
|
|
1571
1581
|
* @deprecated
|
|
@@ -1586,11 +1596,11 @@ declare class BaseTVWebSDK {
|
|
|
1586
1596
|
* @private
|
|
1587
1597
|
*/
|
|
1588
1598
|
setupBeforeRender: () => void;
|
|
1589
|
-
readIDCardWithApiCall(props: ReadIDCardWithApiCallOptions): void
|
|
1590
|
-
readIDCardUIOnly(props: ReadIDCardOptions): void
|
|
1591
|
-
livenessDetection(props: LivenessDetectionOptions): void
|
|
1592
|
-
ekycFlow(props: any): void
|
|
1593
|
-
faceAuthentication(props: FaceAuthenticationOptions): void
|
|
1599
|
+
readIDCardWithApiCall(props: ReadIDCardWithApiCallOptions): Promise<void>;
|
|
1600
|
+
readIDCardUIOnly(props: ReadIDCardOptions): Promise<void>;
|
|
1601
|
+
livenessDetection(props: LivenessDetectionOptions): Promise<void>;
|
|
1602
|
+
ekycFlow(props: any): Promise<void>;
|
|
1603
|
+
faceAuthentication(props: FaceAuthenticationOptions): Promise<void>;
|
|
1594
1604
|
compareFaces({ accessKey, secretKey, apiUrl, image1, image2, onSuccess, onError }: any): void;
|
|
1595
1605
|
destroyView: () => void;
|
|
1596
1606
|
closeSDK: () => void;
|
|
@@ -1807,6 +1817,7 @@ declare namespace defaultClientSettings {
|
|
|
1807
1817
|
let enable_13: boolean;
|
|
1808
1818
|
export { enable_13 as enable };
|
|
1809
1819
|
export let enable_validation: boolean;
|
|
1820
|
+
export let enable_scan_background: boolean;
|
|
1810
1821
|
let limit_time_second_1: number;
|
|
1811
1822
|
export { limit_time_second_1 as limit_time_second };
|
|
1812
1823
|
let non_stoppable_1: boolean;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsocial/tvweb-sdk.platform",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.36.0",
|
|
4
4
|
"description": "TV Web SDK - The Standalone SDK",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Nha Hoang <nha.hoang@trustingsocial.com>",
|
|
7
7
|
"license": "ISC",
|
|
8
8
|
"main": "build/tvweb-sdk.platform.cjs.min.js",
|
|
9
|
-
"module": "build/tvweb-sdk.platform.esm.min.js",
|
|
9
|
+
"module": "build/esm/tvweb-sdk.platform.esm.min.js",
|
|
10
10
|
"src": "src/index.ts",
|
|
11
11
|
"types": "build/types/index.d.ts",
|
|
12
12
|
"publishConfig": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|
|
21
21
|
"types": "./build/types/index.d.ts",
|
|
22
|
-
"import": "./build/tvweb-sdk.platform.esm.min.js",
|
|
22
|
+
"import": "./build/esm/tvweb-sdk.platform.esm.min.js",
|
|
23
23
|
"require": "./build/tvweb-sdk.platform.cjs.min.js"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -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.
|
|
33
|
-
"@tsocial/tvweb-core": "5.
|
|
34
|
-
"@tsocial/tvweb-ui": "5.
|
|
32
|
+
"@tsocial/tvweb-builder": "5.36.0",
|
|
33
|
+
"@tsocial/tvweb-core": "5.36.0",
|
|
34
|
+
"@tsocial/tvweb-ui": "5.36.0",
|
|
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": "f6afaf3370b5144beb6eff6196824ea2d9180340"
|
|
42
42
|
}
|