@tsocial/tvweb-sdk 5.7.0 → 5.7.3
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 +3 -3
- package/build/tvweb-sdk.standalone.min.js +3 -3
- package/examples/extract-id-info-and-liveness-detection/index.html +7 -0
- package/package.json +5 -5
- package/assets/.DS_Store +0 -0
- package/examples/.DS_Store +0 -0
- package/examples/extract-id-info-and-liveness-detection/.DS_Store +0 -0
|
@@ -84,6 +84,9 @@
|
|
|
84
84
|
<div>Steps</div>
|
|
85
85
|
<textarea cols="55" rows="15" id="id-card-steps"></textarea>
|
|
86
86
|
</div>
|
|
87
|
+
<div style="margin-bottom: 10px">
|
|
88
|
+
<button onclick="runPreloadEKYCResources()">Preload Resources</button>
|
|
89
|
+
</div>
|
|
87
90
|
<div style="margin-bottom: 10px">
|
|
88
91
|
<button onclick="runWarmUpReadIDCard()">Warm up</button>
|
|
89
92
|
<span id="status-warmup-read-id-card"></span>
|
|
@@ -226,6 +229,10 @@
|
|
|
226
229
|
})
|
|
227
230
|
}
|
|
228
231
|
|
|
232
|
+
function runPreloadEKYCResources() {
|
|
233
|
+
tv.runPreloadEKYCResources();
|
|
234
|
+
}
|
|
235
|
+
|
|
229
236
|
function handleStepDoneIDCard ({ stepNumber, image, qrScannedResult, recordedVideos, apiResult }) {
|
|
230
237
|
const steps = JSON.parse(idCardStepsEl.value)
|
|
231
238
|
console.log('image', image)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsocial/tvweb-sdk",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.3",
|
|
4
4
|
"description": "TV Web SDK - The Standalone SDK",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "Nha Hoang <nha.hoang@trustingsocial.com>",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@tsocial/trustvision-sdk": "2.10.1",
|
|
27
|
-
"@tsocial/tvweb-core": "^5.7.
|
|
28
|
-
"@tsocial/tvweb-ui": "^5.7.
|
|
27
|
+
"@tsocial/tvweb-core": "^5.7.3",
|
|
28
|
+
"@tsocial/tvweb-ui": "^5.7.3",
|
|
29
29
|
"http-server": "0.12.3",
|
|
30
30
|
"invariant": "^2.2.4",
|
|
31
31
|
"react": "^16.14.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"styled-components": "^5.2.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@tsocial/tvweb-builder": "^5.7.
|
|
37
|
+
"@tsocial/tvweb-builder": "^5.7.3"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "742b12bae85af20d4b8a61b185c636da2f2d2e08"
|
|
40
40
|
}
|
package/assets/.DS_Store
DELETED
|
Binary file
|
package/examples/.DS_Store
DELETED
|
Binary file
|
|
Binary file
|