@tsocial/tvweb-sdk.lotte 5.34.0 → 5.34.2
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/types/index.d.ts
CHANGED
|
@@ -1,202 +1,3 @@
|
|
|
1
|
-
declare const ScannerType: {
|
|
2
|
-
readonly ID_CARD: "id_card";
|
|
3
|
-
readonly QR_CODE: "qr_code";
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
declare const defaultSteps: ({
|
|
7
|
-
scannerType: "id_card";
|
|
8
|
-
title: string;
|
|
9
|
-
description: string;
|
|
10
|
-
titleIcon: string;
|
|
11
|
-
cardSide: "front";
|
|
12
|
-
cardType: "vn.national_id";
|
|
13
|
-
enableConfirmPopup: boolean;
|
|
14
|
-
} | {
|
|
15
|
-
scannerType: "id_card";
|
|
16
|
-
title: string;
|
|
17
|
-
description: string;
|
|
18
|
-
titleIcon: string;
|
|
19
|
-
cardSide: "back";
|
|
20
|
-
cardType: "vn.national_id";
|
|
21
|
-
enableConfirmPopup: boolean;
|
|
22
|
-
})[];
|
|
23
|
-
|
|
24
|
-
declare namespace defaultClientSettings {
|
|
25
|
-
namespace data {
|
|
26
|
-
let country: string;
|
|
27
|
-
namespace settings {
|
|
28
|
-
namespace sdk_settings {
|
|
29
|
-
namespace id_detection_settings {
|
|
30
|
-
let show_hold_still_progress: boolean;
|
|
31
|
-
let show_auto_capture_toggle: boolean;
|
|
32
|
-
namespace auto_capture {
|
|
33
|
-
let enable: boolean;
|
|
34
|
-
let show_capture_button: boolean;
|
|
35
|
-
let wait_for_best_image_time_ms: number;
|
|
36
|
-
}
|
|
37
|
-
namespace manual_capture {
|
|
38
|
-
let wait_for_best_image_time_ms_1: number;
|
|
39
|
-
export { wait_for_best_image_time_ms_1 as wait_for_best_image_time_ms };
|
|
40
|
-
}
|
|
41
|
-
namespace card_type_check {
|
|
42
|
-
let enable_1: boolean;
|
|
43
|
-
export { enable_1 as enable };
|
|
44
|
-
}
|
|
45
|
-
namespace track_card_coordinates {
|
|
46
|
-
let enable_2: boolean;
|
|
47
|
-
export { enable_2 as enable };
|
|
48
|
-
export let max_length: number;
|
|
49
|
-
}
|
|
50
|
-
namespace blur_check {
|
|
51
|
-
let enable_3: boolean;
|
|
52
|
-
export { enable_3 as enable };
|
|
53
|
-
export let large_blurry_threshold_auto: number;
|
|
54
|
-
export let large_blurry_threshold_manual: number;
|
|
55
|
-
export let small_blurry_threshold_auto: number;
|
|
56
|
-
export let small_blurry_threshold_manual: number;
|
|
57
|
-
export let large_blurry_decimal: number;
|
|
58
|
-
export let small_blurry_decimal: number;
|
|
59
|
-
}
|
|
60
|
-
namespace blur_check_generic {
|
|
61
|
-
let enable_4: boolean;
|
|
62
|
-
export { enable_4 as enable };
|
|
63
|
-
let large_blurry_threshold_auto_1: number;
|
|
64
|
-
export { large_blurry_threshold_auto_1 as large_blurry_threshold_auto };
|
|
65
|
-
let large_blurry_threshold_manual_1: number;
|
|
66
|
-
export { large_blurry_threshold_manual_1 as large_blurry_threshold_manual };
|
|
67
|
-
let small_blurry_threshold_auto_1: number;
|
|
68
|
-
export { small_blurry_threshold_auto_1 as small_blurry_threshold_auto };
|
|
69
|
-
let small_blurry_threshold_manual_1: number;
|
|
70
|
-
export { small_blurry_threshold_manual_1 as small_blurry_threshold_manual };
|
|
71
|
-
let large_blurry_decimal_1: number;
|
|
72
|
-
export { large_blurry_decimal_1 as large_blurry_decimal };
|
|
73
|
-
let small_blurry_decimal_1: number;
|
|
74
|
-
export { small_blurry_decimal_1 as small_blurry_decimal };
|
|
75
|
-
export namespace full_face_image_ratio {
|
|
76
|
-
let top: number;
|
|
77
|
-
let right: number;
|
|
78
|
-
let left: number;
|
|
79
|
-
let bottom: number;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
namespace face_check_generic {
|
|
83
|
-
namespace front_side {
|
|
84
|
-
let enable_5: boolean;
|
|
85
|
-
export { enable_5 as enable };
|
|
86
|
-
}
|
|
87
|
-
namespace back_side {
|
|
88
|
-
let enable_6: boolean;
|
|
89
|
-
export { enable_6 as enable };
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
namespace flashlight_settings {
|
|
93
|
-
let activation_delay_ms_back: number;
|
|
94
|
-
let activation_delay_ms_front: number;
|
|
95
|
-
let duration_ms_back: number;
|
|
96
|
-
let duration_ms_front: number;
|
|
97
|
-
let enable_back: boolean;
|
|
98
|
-
let enable_front: boolean;
|
|
99
|
-
}
|
|
100
|
-
namespace glare_check {
|
|
101
|
-
let enable_7: boolean;
|
|
102
|
-
export { enable_7 as enable };
|
|
103
|
-
export let threshold: number;
|
|
104
|
-
}
|
|
105
|
-
namespace glare_check_generic {
|
|
106
|
-
let enable_8: boolean;
|
|
107
|
-
export { enable_8 as enable };
|
|
108
|
-
let threshold_1: number;
|
|
109
|
-
export { threshold_1 as threshold };
|
|
110
|
-
}
|
|
111
|
-
let disable_capture_button_if_alert: boolean;
|
|
112
|
-
namespace exif_data_settings {
|
|
113
|
-
let enable_9: boolean;
|
|
114
|
-
export { enable_9 as enable };
|
|
115
|
-
}
|
|
116
|
-
namespace id_detection {
|
|
117
|
-
let enable_10: boolean;
|
|
118
|
-
export { enable_10 as enable };
|
|
119
|
-
export let card_type_model_mapping: {
|
|
120
|
-
'vn.national_id': {
|
|
121
|
-
model: string;
|
|
122
|
-
force_off_detection: boolean;
|
|
123
|
-
};
|
|
124
|
-
'vn.cccd_new': {
|
|
125
|
-
model: string;
|
|
126
|
-
force_off_detection: boolean;
|
|
127
|
-
};
|
|
128
|
-
'vn.*': {
|
|
129
|
-
model: string;
|
|
130
|
-
force_off_detection: boolean;
|
|
131
|
-
};
|
|
132
|
-
'global.passport': {
|
|
133
|
-
model: string;
|
|
134
|
-
force_off_detection: boolean;
|
|
135
|
-
};
|
|
136
|
-
'ph.national_id': {
|
|
137
|
-
model: string;
|
|
138
|
-
force_off_detection: boolean;
|
|
139
|
-
};
|
|
140
|
-
'ph.*': {
|
|
141
|
-
model: string;
|
|
142
|
-
force_off_detection: boolean;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
|
-
namespace limit_time_settings {
|
|
147
|
-
let enable_11: boolean;
|
|
148
|
-
export { enable_11 as enable };
|
|
149
|
-
export let limit_time_second: number;
|
|
150
|
-
export let video_partial_length_seconds: number;
|
|
151
|
-
export let max_retry_count: number;
|
|
152
|
-
export let non_stoppable: boolean;
|
|
153
|
-
}
|
|
154
|
-
namespace record_video {
|
|
155
|
-
let enable_record_full_session_front: boolean;
|
|
156
|
-
let enable_record_full_session_back: boolean;
|
|
157
|
-
let enable_record_from_capture_bestframe_front: boolean;
|
|
158
|
-
let enable_record_from_capture_bestframe_back: boolean;
|
|
159
|
-
let video_frame_size_width: null;
|
|
160
|
-
let video_frame_size_height: null;
|
|
161
|
-
let bitrate: number;
|
|
162
|
-
let fps: number;
|
|
163
|
-
}
|
|
164
|
-
namespace save_frame_settings {
|
|
165
|
-
let enable_12: boolean;
|
|
166
|
-
export { enable_12 as enable };
|
|
167
|
-
export let frames_interval_ms: number;
|
|
168
|
-
export let quality: number;
|
|
169
|
-
}
|
|
170
|
-
namespace scan_qr_settings {
|
|
171
|
-
let enable_13: boolean;
|
|
172
|
-
export { enable_13 as enable };
|
|
173
|
-
export let enable_validation: boolean;
|
|
174
|
-
let limit_time_second_1: number;
|
|
175
|
-
export { limit_time_second_1 as limit_time_second };
|
|
176
|
-
let non_stoppable_1: boolean;
|
|
177
|
-
export { non_stoppable_1 as non_stoppable };
|
|
178
|
-
let max_retry_count_1: number;
|
|
179
|
-
export { max_retry_count_1 as max_retry_count };
|
|
180
|
-
export let scan_via_image: null;
|
|
181
|
-
export let scan_via_step: null;
|
|
182
|
-
}
|
|
183
|
-
namespace virtual_cam_hashes {
|
|
184
|
-
let web: boolean;
|
|
185
|
-
let mobile: boolean;
|
|
186
|
-
}
|
|
187
|
-
namespace image_settings {
|
|
188
|
-
let ideal_width: null;
|
|
189
|
-
let ideal_height: null;
|
|
190
|
-
let ideal_width_mobile_web: null;
|
|
191
|
-
let ideal_height_mobile_web: null;
|
|
192
|
-
let image_quality: number;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
1
|
declare const ErrorDuration: {
|
|
201
2
|
readonly SHORT: 500;
|
|
202
3
|
readonly LONG: 1500;
|
|
@@ -1588,18 +1389,19 @@ type ErrorObject = {
|
|
|
1588
1389
|
};
|
|
1589
1390
|
};
|
|
1590
1391
|
type FlowId = 'face_authen' | 'onboarding' | (string & {});
|
|
1392
|
+
type IDCardStep = {
|
|
1393
|
+
scannerType: 'id_card' | 'qr_code';
|
|
1394
|
+
cardSide?: 'front' | 'back';
|
|
1395
|
+
title?: string;
|
|
1396
|
+
description?: string;
|
|
1397
|
+
titleIcon?: string;
|
|
1398
|
+
cardType?: string;
|
|
1399
|
+
enableConfirmPopup?: boolean;
|
|
1400
|
+
};
|
|
1591
1401
|
type ReadIDCardOptions = {
|
|
1592
1402
|
clientSettings: Record<string, any>;
|
|
1593
1403
|
onError: (error: ErrorObject) => void;
|
|
1594
|
-
steps?: Array<
|
|
1595
|
-
scannerType: 'id_card' | 'qr_code';
|
|
1596
|
-
cardSide?: 'front' | 'back';
|
|
1597
|
-
title?: string;
|
|
1598
|
-
description?: string;
|
|
1599
|
-
titleIcon?: string;
|
|
1600
|
-
cardType?: string;
|
|
1601
|
-
enableConfirmPopup?: boolean;
|
|
1602
|
-
}>;
|
|
1404
|
+
steps?: Array<IDCardStep>;
|
|
1603
1405
|
allowedCardTypes?: Array<string | CardType>;
|
|
1604
1406
|
detectIdCard?: () => Promise<{
|
|
1605
1407
|
card_label: string;
|
|
@@ -1648,11 +1450,11 @@ type LivenessDetectionDoneResult = {
|
|
|
1648
1450
|
verifyFaceLivenessResult?: any;
|
|
1649
1451
|
verifyFacePortraitResult?: any;
|
|
1650
1452
|
};
|
|
1651
|
-
type
|
|
1652
|
-
label: string;
|
|
1653
|
-
base64: string;
|
|
1654
|
-
metadata: string;
|
|
1453
|
+
type VideoFrame = {
|
|
1655
1454
|
index: number;
|
|
1455
|
+
base64: string;
|
|
1456
|
+
label: string;
|
|
1457
|
+
metadata?: string;
|
|
1656
1458
|
};
|
|
1657
1459
|
type BaseLivenessDetectionOptions = {
|
|
1658
1460
|
mode: typeof Mode[keyof typeof Mode];
|
|
@@ -1667,7 +1469,7 @@ type BaseLivenessDetectionOptions = {
|
|
|
1667
1469
|
framesIntervalTime: number;
|
|
1668
1470
|
framesBatchLength: number;
|
|
1669
1471
|
};
|
|
1670
|
-
onFramesCaptured?: (frames:
|
|
1472
|
+
onFramesCaptured?: (frames: VideoFrame[]) => void;
|
|
1671
1473
|
outputEncryptionSettings?: OutputEncryptionSettings;
|
|
1672
1474
|
logCredentials?: LogCredentials;
|
|
1673
1475
|
customTexts?: CustomTexts;
|
|
@@ -1691,12 +1493,6 @@ type FaceImage = {
|
|
|
1691
1493
|
metadata?: string;
|
|
1692
1494
|
encrypted?: string;
|
|
1693
1495
|
};
|
|
1694
|
-
type VideoFrame = {
|
|
1695
|
-
index: number;
|
|
1696
|
-
base64: string;
|
|
1697
|
-
label: string;
|
|
1698
|
-
metadata?: string;
|
|
1699
|
-
};
|
|
1700
1496
|
type Video = {
|
|
1701
1497
|
id?: string;
|
|
1702
1498
|
metadata?: string;
|
|
@@ -1729,7 +1525,7 @@ type BaseFaceAuthenticationOptions = {
|
|
|
1729
1525
|
framesIntervalTime: number;
|
|
1730
1526
|
framesBatchLength: number;
|
|
1731
1527
|
};
|
|
1732
|
-
onFramesCaptured?: (frames:
|
|
1528
|
+
onFramesCaptured?: (frames: VideoFrame[]) => void;
|
|
1733
1529
|
outputEncryptionSettings?: OutputEncryptionSettings;
|
|
1734
1530
|
logCredentials?: LogCredentials;
|
|
1735
1531
|
customTexts?: CustomTexts;
|
|
@@ -1820,6 +1616,205 @@ declare class SDKAdapter {
|
|
|
1820
1616
|
} | undefined>;
|
|
1821
1617
|
}
|
|
1822
1618
|
|
|
1619
|
+
declare const ScannerType: {
|
|
1620
|
+
readonly ID_CARD: "id_card";
|
|
1621
|
+
readonly QR_CODE: "qr_code";
|
|
1622
|
+
};
|
|
1623
|
+
|
|
1624
|
+
declare const defaultSteps: ({
|
|
1625
|
+
scannerType: "id_card";
|
|
1626
|
+
title: string;
|
|
1627
|
+
description: string;
|
|
1628
|
+
titleIcon: string;
|
|
1629
|
+
cardSide: "front";
|
|
1630
|
+
cardType: "vn.national_id";
|
|
1631
|
+
enableConfirmPopup: boolean;
|
|
1632
|
+
} | {
|
|
1633
|
+
scannerType: "id_card";
|
|
1634
|
+
title: string;
|
|
1635
|
+
description: string;
|
|
1636
|
+
titleIcon: string;
|
|
1637
|
+
cardSide: "back";
|
|
1638
|
+
cardType: "vn.national_id";
|
|
1639
|
+
enableConfirmPopup: boolean;
|
|
1640
|
+
})[];
|
|
1641
|
+
|
|
1642
|
+
declare namespace defaultClientSettings {
|
|
1643
|
+
namespace data {
|
|
1644
|
+
let country: string;
|
|
1645
|
+
namespace settings {
|
|
1646
|
+
namespace sdk_settings {
|
|
1647
|
+
namespace id_detection_settings {
|
|
1648
|
+
let show_hold_still_progress: boolean;
|
|
1649
|
+
let show_auto_capture_toggle: boolean;
|
|
1650
|
+
namespace auto_capture {
|
|
1651
|
+
let enable: boolean;
|
|
1652
|
+
let show_capture_button: boolean;
|
|
1653
|
+
let wait_for_best_image_time_ms: number;
|
|
1654
|
+
}
|
|
1655
|
+
namespace manual_capture {
|
|
1656
|
+
let wait_for_best_image_time_ms_1: number;
|
|
1657
|
+
export { wait_for_best_image_time_ms_1 as wait_for_best_image_time_ms };
|
|
1658
|
+
}
|
|
1659
|
+
namespace card_type_check {
|
|
1660
|
+
let enable_1: boolean;
|
|
1661
|
+
export { enable_1 as enable };
|
|
1662
|
+
}
|
|
1663
|
+
namespace track_card_coordinates {
|
|
1664
|
+
let enable_2: boolean;
|
|
1665
|
+
export { enable_2 as enable };
|
|
1666
|
+
export let max_length: number;
|
|
1667
|
+
}
|
|
1668
|
+
namespace blur_check {
|
|
1669
|
+
let enable_3: boolean;
|
|
1670
|
+
export { enable_3 as enable };
|
|
1671
|
+
export let large_blurry_threshold_auto: number;
|
|
1672
|
+
export let large_blurry_threshold_manual: number;
|
|
1673
|
+
export let small_blurry_threshold_auto: number;
|
|
1674
|
+
export let small_blurry_threshold_manual: number;
|
|
1675
|
+
export let large_blurry_decimal: number;
|
|
1676
|
+
export let small_blurry_decimal: number;
|
|
1677
|
+
}
|
|
1678
|
+
namespace blur_check_generic {
|
|
1679
|
+
let enable_4: boolean;
|
|
1680
|
+
export { enable_4 as enable };
|
|
1681
|
+
let large_blurry_threshold_auto_1: number;
|
|
1682
|
+
export { large_blurry_threshold_auto_1 as large_blurry_threshold_auto };
|
|
1683
|
+
let large_blurry_threshold_manual_1: number;
|
|
1684
|
+
export { large_blurry_threshold_manual_1 as large_blurry_threshold_manual };
|
|
1685
|
+
let small_blurry_threshold_auto_1: number;
|
|
1686
|
+
export { small_blurry_threshold_auto_1 as small_blurry_threshold_auto };
|
|
1687
|
+
let small_blurry_threshold_manual_1: number;
|
|
1688
|
+
export { small_blurry_threshold_manual_1 as small_blurry_threshold_manual };
|
|
1689
|
+
let large_blurry_decimal_1: number;
|
|
1690
|
+
export { large_blurry_decimal_1 as large_blurry_decimal };
|
|
1691
|
+
let small_blurry_decimal_1: number;
|
|
1692
|
+
export { small_blurry_decimal_1 as small_blurry_decimal };
|
|
1693
|
+
export namespace full_face_image_ratio {
|
|
1694
|
+
let top: number;
|
|
1695
|
+
let right: number;
|
|
1696
|
+
let left: number;
|
|
1697
|
+
let bottom: number;
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
namespace face_check_generic {
|
|
1701
|
+
namespace front_side {
|
|
1702
|
+
let enable_5: boolean;
|
|
1703
|
+
export { enable_5 as enable };
|
|
1704
|
+
}
|
|
1705
|
+
namespace back_side {
|
|
1706
|
+
let enable_6: boolean;
|
|
1707
|
+
export { enable_6 as enable };
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
namespace flashlight_settings {
|
|
1711
|
+
let activation_delay_ms_back: number;
|
|
1712
|
+
let activation_delay_ms_front: number;
|
|
1713
|
+
let duration_ms_back: number;
|
|
1714
|
+
let duration_ms_front: number;
|
|
1715
|
+
let enable_back: boolean;
|
|
1716
|
+
let enable_front: boolean;
|
|
1717
|
+
}
|
|
1718
|
+
namespace glare_check {
|
|
1719
|
+
let enable_7: boolean;
|
|
1720
|
+
export { enable_7 as enable };
|
|
1721
|
+
export let threshold: number;
|
|
1722
|
+
}
|
|
1723
|
+
namespace glare_check_generic {
|
|
1724
|
+
let enable_8: boolean;
|
|
1725
|
+
export { enable_8 as enable };
|
|
1726
|
+
let threshold_1: number;
|
|
1727
|
+
export { threshold_1 as threshold };
|
|
1728
|
+
}
|
|
1729
|
+
let disable_capture_button_if_alert: boolean;
|
|
1730
|
+
namespace exif_data_settings {
|
|
1731
|
+
let enable_9: boolean;
|
|
1732
|
+
export { enable_9 as enable };
|
|
1733
|
+
}
|
|
1734
|
+
namespace id_detection {
|
|
1735
|
+
let enable_10: boolean;
|
|
1736
|
+
export { enable_10 as enable };
|
|
1737
|
+
export let card_type_model_mapping: {
|
|
1738
|
+
'vn.national_id': {
|
|
1739
|
+
model: string;
|
|
1740
|
+
force_off_detection: boolean;
|
|
1741
|
+
};
|
|
1742
|
+
'vn.cccd_new': {
|
|
1743
|
+
model: string;
|
|
1744
|
+
force_off_detection: boolean;
|
|
1745
|
+
};
|
|
1746
|
+
'vn.*': {
|
|
1747
|
+
model: string;
|
|
1748
|
+
force_off_detection: boolean;
|
|
1749
|
+
};
|
|
1750
|
+
'global.passport': {
|
|
1751
|
+
model: string;
|
|
1752
|
+
force_off_detection: boolean;
|
|
1753
|
+
};
|
|
1754
|
+
'ph.national_id': {
|
|
1755
|
+
model: string;
|
|
1756
|
+
force_off_detection: boolean;
|
|
1757
|
+
};
|
|
1758
|
+
'ph.*': {
|
|
1759
|
+
model: string;
|
|
1760
|
+
force_off_detection: boolean;
|
|
1761
|
+
};
|
|
1762
|
+
};
|
|
1763
|
+
}
|
|
1764
|
+
namespace limit_time_settings {
|
|
1765
|
+
let enable_11: boolean;
|
|
1766
|
+
export { enable_11 as enable };
|
|
1767
|
+
export let limit_time_second: number;
|
|
1768
|
+
export let video_partial_length_seconds: number;
|
|
1769
|
+
export let max_retry_count: number;
|
|
1770
|
+
export let non_stoppable: boolean;
|
|
1771
|
+
}
|
|
1772
|
+
namespace record_video {
|
|
1773
|
+
let enable_record_full_session_front: boolean;
|
|
1774
|
+
let enable_record_full_session_back: boolean;
|
|
1775
|
+
let enable_record_from_capture_bestframe_front: boolean;
|
|
1776
|
+
let enable_record_from_capture_bestframe_back: boolean;
|
|
1777
|
+
let video_frame_size_width: null;
|
|
1778
|
+
let video_frame_size_height: null;
|
|
1779
|
+
let bitrate: number;
|
|
1780
|
+
let fps: number;
|
|
1781
|
+
}
|
|
1782
|
+
namespace save_frame_settings {
|
|
1783
|
+
let enable_12: boolean;
|
|
1784
|
+
export { enable_12 as enable };
|
|
1785
|
+
export let frames_interval_ms: number;
|
|
1786
|
+
export let quality: number;
|
|
1787
|
+
}
|
|
1788
|
+
namespace scan_qr_settings {
|
|
1789
|
+
let enable_13: boolean;
|
|
1790
|
+
export { enable_13 as enable };
|
|
1791
|
+
export let enable_validation: boolean;
|
|
1792
|
+
let limit_time_second_1: number;
|
|
1793
|
+
export { limit_time_second_1 as limit_time_second };
|
|
1794
|
+
let non_stoppable_1: boolean;
|
|
1795
|
+
export { non_stoppable_1 as non_stoppable };
|
|
1796
|
+
let max_retry_count_1: number;
|
|
1797
|
+
export { max_retry_count_1 as max_retry_count };
|
|
1798
|
+
export let scan_via_image: null;
|
|
1799
|
+
export let scan_via_step: null;
|
|
1800
|
+
}
|
|
1801
|
+
namespace virtual_cam_hashes {
|
|
1802
|
+
let web: boolean;
|
|
1803
|
+
let mobile: boolean;
|
|
1804
|
+
}
|
|
1805
|
+
namespace image_settings {
|
|
1806
|
+
let ideal_width: null;
|
|
1807
|
+
let ideal_height: null;
|
|
1808
|
+
let ideal_width_mobile_web: null;
|
|
1809
|
+
let ideal_height_mobile_web: null;
|
|
1810
|
+
let image_quality: number;
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1823
1818
|
declare class TVWebSDK extends BaseTVWebSDK {
|
|
1824
1819
|
constructor(props: BaseTVWebSDKProps);
|
|
1825
1820
|
livenessDetection(props: LivenessDetectionOptions): void;
|
|
@@ -1828,3 +1823,4 @@ declare class TVWebSDK extends BaseTVWebSDK {
|
|
|
1828
1823
|
}
|
|
1829
1824
|
|
|
1830
1825
|
export { index$1 as Constants, TVWebSDK as SDK, SDKAdapter, ScannerType, defaultClientSettings, defaultSteps as defaultReadIDCardSteps, getSDKVersion };
|
|
1826
|
+
export type { BaseTVWebSDKProps, FaceAuthenticationOptions, FaceAuthenticationResult, IDCardStep, LivenessDetectionDoneResult, LivenessDetectionOptions, ReadIDCardOptions, ReadIDCardResult, ReadIDCardWithApiCallOptions, VideoFrame };
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsocial/tvweb-sdk.lotte",
|
|
3
|
-
"version": "5.34.
|
|
3
|
+
"version": "5.34.2",
|
|
4
4
|
"description": "TV Web SDK - The Standalone SDK",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "build/tvweb-sdk.lotte.cjs.min.js",
|
|
8
8
|
"module": "build/tvweb-sdk.lotte.esm.min.js",
|
|
9
|
-
"src": "src/index.
|
|
9
|
+
"src": "src/index.ts",
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@tsocial/tvweb-builder": "5.34.
|
|
31
|
-
"@tsocial/tvweb-core": "5.34.
|
|
32
|
-
"@tsocial/tvweb-ui": "5.34.
|
|
30
|
+
"@tsocial/tvweb-builder": "5.34.2",
|
|
31
|
+
"@tsocial/tvweb-core": "5.34.2",
|
|
32
|
+
"@tsocial/tvweb-ui": "5.34.2",
|
|
33
33
|
"invariant": "^2.2.4",
|
|
34
34
|
"react": "^16.14.0",
|
|
35
35
|
"react-app-polyfill": "^2.0.0",
|
|
36
36
|
"react-dom": "^16.14.0",
|
|
37
37
|
"styled-components": "^6.1.12"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "0d5d2418daaa2f9b72d6da1c06613360cf0fb5b8"
|
|
40
40
|
}
|