@tsocial/tvweb-sdk.omg 0.0.0-beta.20251211-151717 → 0.0.0-beta.20251211-162126
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.
|
@@ -33770,7 +33770,7 @@
|
|
|
33770
33770
|
}, nS$1;
|
|
33771
33771
|
}();
|
|
33772
33772
|
function nB$1() {
|
|
33773
|
-
return "0.0.0-beta.20251211-
|
|
33773
|
+
return "0.0.0-beta.20251211-162126";
|
|
33774
33774
|
}
|
|
33775
33775
|
function nI$1() {
|
|
33776
33776
|
return {
|
|
@@ -41246,51 +41246,51 @@
|
|
|
41246
41246
|
}, uz;
|
|
41247
41247
|
}(), uG);
|
|
41248
41248
|
}();
|
|
41249
|
-
let dm =
|
|
41249
|
+
let dm = d_, dg = d_, dy = dv();
|
|
41250
41250
|
for(;;)try {
|
|
41251
|
-
if (parseInt(dg(
|
|
41251
|
+
if (parseInt(dg(329)) / 1 * (parseInt(dg(331)) / 2) + parseInt(dg(345)) / 3 * (-parseInt(dg(328)) / 4) + -parseInt(dg(335)) / 5 * (-parseInt(dg(334)) / 6) + -parseInt(dg(337)) / 7 + -parseInt(dg(341)) / 8 + parseInt(dg(326)) / 9 * (-parseInt(dg(342)) / 10) + parseInt(dg(343)) / 11 === 926605) break;
|
|
41252
41252
|
dy.push(dy.shift());
|
|
41253
41253
|
} catch (e) {
|
|
41254
41254
|
dy.push(dy.shift());
|
|
41255
41255
|
}
|
|
41256
|
-
|
|
41256
|
+
let db = dm(332) + dm(323) + "3d02010608" + dm(327) + "0301070342" + dm(338);
|
|
41257
|
+
function dv() {
|
|
41257
41258
|
let e = [
|
|
41258
|
-
"
|
|
41259
|
-
"
|
|
41260
|
-
"DepBO8t60S",
|
|
41261
|
-
"0301070342",
|
|
41262
|
-
"072a8648ce",
|
|
41259
|
+
"ytJdcsPxrD",
|
|
41260
|
+
"892gXnWfr",
|
|
41263
41261
|
"3059301306",
|
|
41262
|
+
"KoZIzj0DAQ",
|
|
41263
|
+
"6gYYqrS",
|
|
41264
|
+
"7198670NThCRv",
|
|
41265
|
+
"KA==",
|
|
41266
|
+
"3402308atSQXs",
|
|
41267
|
+
"000",
|
|
41268
|
+
"44P0rKKsZK",
|
|
41264
41269
|
"+faHkP3QC3",
|
|
41265
|
-
"
|
|
41266
|
-
"
|
|
41267
|
-
"
|
|
41268
|
-
"
|
|
41270
|
+
"5680280JMopum",
|
|
41271
|
+
"2872500ddCxtO",
|
|
41272
|
+
"16501958bhReDg",
|
|
41273
|
+
"Mjci1ul8mm",
|
|
41274
|
+
"16662hltSgm",
|
|
41275
|
+
"072a8648ce",
|
|
41269
41276
|
"MFkwEwYHKo",
|
|
41270
|
-
"
|
|
41277
|
+
"DepBO8t60S",
|
|
41278
|
+
"27iLFafB",
|
|
41271
41279
|
"2a8648ce3d",
|
|
41272
|
-
"
|
|
41273
|
-
"
|
|
41274
|
-
"308413oYhHiD",
|
|
41275
|
-
"14MxAglU",
|
|
41276
|
-
"ZIzj0CAQYI",
|
|
41277
|
-
"16daVbPQ",
|
|
41278
|
-
"KoZIzj0DAQ",
|
|
41279
|
-
"cDQgAE9h6Z",
|
|
41280
|
-
"12DhIBcU",
|
|
41281
|
-
"000"
|
|
41280
|
+
"240FENsBj",
|
|
41281
|
+
"847jLaCrU"
|
|
41282
41282
|
];
|
|
41283
|
-
return (
|
|
41283
|
+
return (dv = function() {
|
|
41284
41284
|
return e;
|
|
41285
41285
|
})();
|
|
41286
41286
|
}
|
|
41287
|
-
function
|
|
41288
|
-
let r =
|
|
41289
|
-
return (
|
|
41290
|
-
return r[e -=
|
|
41287
|
+
function d_(e, t) {
|
|
41288
|
+
let r = dv();
|
|
41289
|
+
return (d_ = function(e, t) {
|
|
41290
|
+
return r[e -= 323];
|
|
41291
41291
|
})(e, t);
|
|
41292
41292
|
}
|
|
41293
|
-
let
|
|
41293
|
+
let dx = dm(324) + "ZIzj0CAQYI" + dm(333) + "cDQgAE9h6Z" + dm(325) + dm(330) + dm(340) + dm(339) + dm(344) + "D9EKOWS+U4MfPrcYTM70ssRdXLZEX8" + dm(336);
|
|
41294
41294
|
async function dC(e) {
|
|
41295
41295
|
let t = new TextEncoder().encode(e);
|
|
41296
41296
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -41395,7 +41395,7 @@
|
|
|
41395
41395
|
isValid: !1,
|
|
41396
41396
|
error: i0$1.invalid_license
|
|
41397
41397
|
};
|
|
41398
|
-
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(
|
|
41398
|
+
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(db, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
|
|
41399
41399
|
verifySignature: async (e, t)=>{
|
|
41400
41400
|
try {
|
|
41401
41401
|
let r = await dC(e), n = i4$1(t);
|
|
@@ -52763,6 +52763,7 @@
|
|
|
52763
52763
|
})), gD = rs$1(ri$1 ? rn$1 : (ri$1 = 1, rn$1 = function() {}));
|
|
52764
52764
|
let gO = nI$1();
|
|
52765
52765
|
let gU = class gU {
|
|
52766
|
+
#e;
|
|
52766
52767
|
constructor(e){
|
|
52767
52768
|
this.getDeviceInfo = async ()=>{
|
|
52768
52769
|
let e = {
|
|
@@ -52882,12 +52883,13 @@
|
|
|
52882
52883
|
themeVersion: p,
|
|
52883
52884
|
enableVoice: g,
|
|
52884
52885
|
...f,
|
|
52885
|
-
enableLicense: b,
|
|
52886
|
-
licensePublicKey: v,
|
|
52887
52886
|
uiSettings: y,
|
|
52888
|
-
enableBilling: _,
|
|
52889
52887
|
billingSettings: x
|
|
52890
|
-
}, this
|
|
52888
|
+
}, this.#e = {
|
|
52889
|
+
enableLicense: b,
|
|
52890
|
+
licensePublicKey: v,
|
|
52891
|
+
enableBilling: _
|
|
52892
|
+
}, Object.freeze(this.commonSettings), Object.freeze(this.#e), this.component = ne$1({}, l, u);
|
|
52891
52893
|
}
|
|
52892
52894
|
checkCamera() {
|
|
52893
52895
|
let { checkCamera: e } = this.component;
|
|
@@ -52905,6 +52907,7 @@
|
|
|
52905
52907
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52906
52908
|
value: {
|
|
52907
52909
|
...this.commonSettings,
|
|
52910
|
+
...this.#e,
|
|
52908
52911
|
onErrorCallback: e.onError ?? gD
|
|
52909
52912
|
},
|
|
52910
52913
|
children: ru$1.jsx(iY$1, {
|
|
@@ -52925,6 +52928,7 @@
|
|
|
52925
52928
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52926
52929
|
value: {
|
|
52927
52930
|
...this.commonSettings,
|
|
52931
|
+
...this.#e,
|
|
52928
52932
|
onErrorCallback: e.onError ?? gD
|
|
52929
52933
|
},
|
|
52930
52934
|
children: ru$1.jsx(dj, {
|
|
@@ -52949,7 +52953,10 @@
|
|
|
52949
52953
|
customMessages: e?.customMessages
|
|
52950
52954
|
});
|
|
52951
52955
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52952
|
-
value:
|
|
52956
|
+
value: {
|
|
52957
|
+
...this.commonSettings,
|
|
52958
|
+
...this.#e
|
|
52959
|
+
},
|
|
52953
52960
|
children: ru$1.jsx(iY$1, {
|
|
52954
52961
|
children: ru$1.jsx(t, {
|
|
52955
52962
|
onClose: this.closeSDK,
|
|
@@ -52963,7 +52970,10 @@
|
|
|
52963
52970
|
ekycFlow(e) {
|
|
52964
52971
|
let { EkycFlow: t } = this.component;
|
|
52965
52972
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52966
|
-
value:
|
|
52973
|
+
value: {
|
|
52974
|
+
...this.commonSettings,
|
|
52975
|
+
...this.#e
|
|
52976
|
+
},
|
|
52967
52977
|
children: ru$1.jsx(t, {
|
|
52968
52978
|
onClose: this.closeSDK,
|
|
52969
52979
|
...e
|
|
@@ -52974,7 +52984,10 @@
|
|
|
52974
52984
|
this.setupBeforeRender();
|
|
52975
52985
|
let { FaceAuthentication: t, LivenessDetection: r, CustomComponent: n } = this.component;
|
|
52976
52986
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52977
|
-
value:
|
|
52987
|
+
value: {
|
|
52988
|
+
...this.commonSettings,
|
|
52989
|
+
...this.#e
|
|
52990
|
+
},
|
|
52978
52991
|
children: ru$1.jsx(iY$1, {
|
|
52979
52992
|
children: ru$1.jsx(t, {
|
|
52980
52993
|
onClose: this.closeSDK,
|
|
@@ -116685,7 +116698,7 @@
|
|
|
116685
116698
|
CONFIRM_POPUP_INVALID_QR: 'Không quét được mã QR'
|
|
116686
116699
|
};
|
|
116687
116700
|
|
|
116688
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.omg/0.0.0-beta.20251211-
|
|
116701
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.omg/0.0.0-beta.20251211-162126/assets";
|
|
116689
116702
|
class TVWebSDK extends gU {
|
|
116690
116703
|
constructor(props){
|
|
116691
116704
|
super({
|