@tsocial/tvweb-sdk 0.0.0-beta.1715151465187 → 0.0.0-beta.1729481098436
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/assets/audio/en/keep_back_id_fit_border.mp3 +0 -0
- package/assets/audio/en/keep_front_id_fit_border.mp3 +0 -0
- package/assets/audio/en/move_face_closer.mp3 +0 -0
- package/assets/audio/en/move_face_into_frame.mp3 +0 -0
- package/assets/audio/en/please_hold_still.mp3 +0 -0
- package/assets/audio/vi/keep_back_id_fit_border.mp3 +0 -0
- package/assets/audio/vi/keep_front_id_fit_border.mp3 +0 -0
- package/assets/audio/vi/move_face_closer.mp3 +0 -0
- package/assets/audio/vi/move_face_into_frame.mp3 +0 -0
- package/assets/audio/vi/please_hold_still.mp3 +0 -0
- package/assets/frontal_arrow.gif +0 -0
- package/assets/left_arrow.gif +0 -0
- package/assets/right_arrow.gif +0 -0
- package/assets/up_arrow.gif +0 -0
- package/assets/v1/arrow_down.svg +17 -0
- package/assets/v1/arrow_left.svg +17 -0
- package/assets/v1/arrow_right.svg +17 -0
- package/assets/v1/arrow_up.svg +17 -0
- package/assets/v1/bg_camera_mask.png +0 -0
- package/assets/v1/bg_camera_mask_red.png +0 -0
- package/assets/v1/bg_face_border_blue.png +0 -0
- package/assets/v1/bg_face_border_red.png +0 -0
- package/assets/v1/bg_ocr_light.png +0 -0
- package/assets/v1/bg_selfile_shadow.png +0 -0
- package/assets/v1/btn_back.png +0 -0
- package/assets/v1/btn_confirm.png +0 -0
- package/assets/v1/btn_try_again.png +0 -0
- package/assets/v1/frontal.svg +17 -0
- package/assets/v1/frontal_arrow.gif +0 -0
- package/assets/v1/ic_camera.svg +1 -0
- package/assets/v1/ic_close.png +0 -0
- package/assets/v1/ic_face_frontal.svg +1 -0
- package/assets/v1/ic_face_left.svg +1 -0
- package/assets/v1/ic_face_right.svg +1 -0
- package/assets/v1/ic_face_up.svg +1 -0
- package/assets/v1/ic_flip_camera.png +0 -0
- package/assets/v1/ic_focus.png +0 -0
- package/assets/v1/ic_loading.png +0 -0
- package/assets/v1/id_bg_landscape_result.png +0 -0
- package/assets/v1/id_card_back.svg +1 -0
- package/assets/v1/id_card_bg_land.png +0 -0
- package/assets/v1/id_card_blur_bottom.png +0 -0
- package/assets/v1/id_card_frame.png +0 -0
- package/assets/v1/id_card_frame_error.png +0 -0
- package/assets/v1/id_card_front.svg +1 -0
- package/assets/v1/id_card_mask_landscape.png +0 -0
- package/assets/v1/id_card_mask_landscape.svg +23 -0
- package/assets/v1/id_card_mask_portrait.png +0 -0
- package/assets/v1/instruction_frontal.svg +7 -0
- package/assets/v1/instruction_left.svg +6 -0
- package/assets/v1/instruction_right.svg +6 -0
- package/assets/v1/instruction_up.svg +7 -0
- package/assets/v1/left_arrow.gif +0 -0
- package/assets/v1/loader.jpg +0 -0
- package/assets/v1/loading_image.png +0 -0
- package/assets/v1/qr_capture_cursor.png +0 -0
- package/assets/v1/qr_code_banner.png +0 -0
- package/assets/v1/right_arrow.gif +0 -0
- package/assets/v1/scaning_bar.png +0 -0
- package/assets/v1/up_arrow.gif +0 -0
- package/assets/v2/bg_camera_mask.png +0 -0
- package/assets/v2/bg_camera_mask_red.png +0 -0
- package/assets/v2/frontal_arrow.gif +0 -0
- package/assets/v2/ic_camera.svg +4 -0
- package/assets/v2/ic_close.png +0 -0
- package/assets/v2/ic_close_white.png +0 -0
- package/assets/v2/ic_loading.png +0 -0
- package/assets/v2/id_card_frame.png +0 -0
- package/assets/v2/id_card_frame_error.png +0 -0
- package/assets/v2/instruction_frontal.svg +7 -0
- package/assets/v2/instruction_left.svg +6 -0
- package/assets/v2/instruction_right.svg +6 -0
- package/assets/v2/instruction_up.svg +7 -0
- package/assets/v2/left_arrow.gif +0 -0
- package/assets/v2/qr_capture_cursor.png +0 -0
- package/assets/v2/qr_code_banner.png +0 -0
- package/assets/v2/right_arrow.gif +0 -0
- package/assets/v2/up_arrow.gif +0 -0
- package/build/tvweb-sdk.cjs.min.js +39 -55
- package/build/tvweb-sdk.standalone.min.js +39 -55
- package/examples/extract-id-info-and-liveness-detection/index.html +2 -2
- package/examples/native-camera/index.html +1 -1
- package/package.json +10 -9
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
<script src="./qr-scanner-for-input-keys.js"></script>
|
|
92
92
|
<script src="./keys-input.js"></script>
|
|
93
93
|
<script src="https://cdn.jsdelivr.net/npm/lodash@4.17.21/lodash.min.js"></script>
|
|
94
|
-
<script src="https://
|
|
94
|
+
<script src="https://cdn.jsdelivr.net/npm/@tsocial/trustvision-sdk@2.10.1/dist/trustvision-sdk.umd.js"></script>
|
|
95
95
|
<script src="../../build/tvweb-sdk.standalone.min.js"></script>
|
|
96
96
|
<script>
|
|
97
97
|
const keys = [
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
const tv = new TVWebSDK.SDK({
|
|
139
139
|
container: document.getElementById("container"),
|
|
140
140
|
lang: lang || "vi",
|
|
141
|
-
assetRoot: "https://
|
|
141
|
+
assetRoot: "https://cdn.jsdelivr.net/npm/@tsocial/tvweb-sdk@latest/assets",
|
|
142
142
|
enableAntiDebug: false,
|
|
143
143
|
});
|
|
144
144
|
window.tv = tv;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
const tv = new TVWebSDK.SDK({
|
|
17
17
|
container: document.getElementById('container'),
|
|
18
18
|
lang: 'vi',
|
|
19
|
-
assetRoot: 'https://
|
|
19
|
+
assetRoot: 'https://cdn.jsdelivr.net/npm/@tsocial/tvweb-sdk@latest/assets',
|
|
20
20
|
})
|
|
21
21
|
const buttonOpenCamera = document.getElementById('btn-open-camera')
|
|
22
22
|
const imgResultEl = document.getElementById('img-result')
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsocial/tvweb-sdk",
|
|
3
|
-
"version": "0.0.0-beta.
|
|
3
|
+
"version": "0.0.0-beta.1729481098436",
|
|
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.cjs.min.js",
|
|
9
9
|
"module": "build/tvweb-sdk.esm.min.js",
|
|
10
|
-
"src": "src/index.
|
|
10
|
+
"src": "src/index.ts",
|
|
11
|
+
"types": "build/types/index.d.ts",
|
|
11
12
|
"publishConfig": {
|
|
12
13
|
"access": "public"
|
|
13
14
|
},
|
|
@@ -17,23 +18,23 @@
|
|
|
17
18
|
"assets"
|
|
18
19
|
],
|
|
19
20
|
"scripts": {
|
|
20
|
-
"build": "yarn run tvweb-builder --type standalone --libName TVWebSDK",
|
|
21
|
+
"build": "yarn run tvweb-builder --type standalone --libName TVWebSDK --typescript",
|
|
21
22
|
"pack": "tvweb-builder --type standalone --libName TVWebSDK --defaultAssetRoot ./assets",
|
|
22
23
|
"run-example": "http-server ./ -c-1",
|
|
23
24
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
24
25
|
},
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@tsocial/trustvision-sdk": "2.
|
|
27
|
-
"@tsocial/tvweb-core": "^0.0.0-beta.
|
|
28
|
-
"@tsocial/tvweb-ui": "^0.0.0-beta.
|
|
27
|
+
"@tsocial/trustvision-sdk": "2.11.2",
|
|
28
|
+
"@tsocial/tvweb-core": "^0.0.0-beta.1729481098436",
|
|
29
|
+
"@tsocial/tvweb-ui": "^0.0.0-beta.1729481098436",
|
|
29
30
|
"invariant": "^2.2.4",
|
|
30
31
|
"react": "^16.14.0",
|
|
31
32
|
"react-app-polyfill": "^2.0.0",
|
|
32
33
|
"react-dom": "^16.14.0",
|
|
33
|
-
"styled-components": "^
|
|
34
|
+
"styled-components": "^6.1.12"
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
|
-
"@tsocial/tvweb-builder": "^0.0.0-beta.
|
|
37
|
+
"@tsocial/tvweb-builder": "^0.0.0-beta.1729481098436"
|
|
37
38
|
},
|
|
38
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "adb944d4ee88130d6ecef7a4d12f1bd7000ee893"
|
|
39
40
|
}
|