@tsocial/tvweb-sdk.platform 0.0.0-beta.20251211-151717 → 0.0.0-beta.20251215-093759
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.
|
|
33773
|
+
return "0.0.0-beta.20251215-093759";
|
|
33774
33774
|
}
|
|
33775
33775
|
function nI$1() {
|
|
33776
33776
|
return {
|
|
@@ -41246,51 +41246,49 @@
|
|
|
41246
41246
|
}, uz;
|
|
41247
41247
|
}(), uG);
|
|
41248
41248
|
}();
|
|
41249
|
-
|
|
41250
|
-
for(;;)try {
|
|
41251
|
-
if (parseInt(dg(376)) / 1 + -parseInt(dg(381)) / 2 * (parseInt(dg(389)) / 3) + -parseInt(dg(386)) / 4 * (parseInt(dg(374)) / 5) + parseInt(dg(388)) / 6 + parseInt(dg(380)) / 7 * (parseInt(dg(383)) / 8) + -parseInt(dg(379)) / 9 + parseInt(dg(372)) / 10 === 173888) break;
|
|
41252
|
-
dy.push(dy.shift());
|
|
41253
|
-
} catch (e) {
|
|
41254
|
-
dy.push(dy.shift());
|
|
41255
|
-
}
|
|
41256
|
-
function db() {
|
|
41249
|
+
function dm() {
|
|
41257
41250
|
let e = [
|
|
41258
|
-
"
|
|
41259
|
-
"31320LuleDK",
|
|
41260
|
-
"DepBO8t60S",
|
|
41261
|
-
"0301070342",
|
|
41262
|
-
"072a8648ce",
|
|
41263
|
-
"3059301306",
|
|
41264
|
-
"+faHkP3QC3",
|
|
41265
|
-
"3d02010608",
|
|
41266
|
-
"2978470zQMZMa",
|
|
41267
|
-
"ytJdcsPxrD",
|
|
41268
|
-
"422605rHCrLX",
|
|
41269
|
-
"MFkwEwYHKo",
|
|
41270
|
-
"56183lqxJEO",
|
|
41251
|
+
"391796qAHBQP",
|
|
41271
41252
|
"2a8648ce3d",
|
|
41272
|
-
"MfPrcYTM70",
|
|
41273
|
-
"948105yYsKTi",
|
|
41274
|
-
"308413oYhHiD",
|
|
41275
|
-
"14MxAglU",
|
|
41276
41253
|
"ZIzj0CAQYI",
|
|
41277
|
-
"
|
|
41278
|
-
"
|
|
41254
|
+
"ytJdcsPxrD",
|
|
41255
|
+
"44160GNFAeO",
|
|
41256
|
+
"758970ENfGty",
|
|
41257
|
+
"MfPrcYTM70",
|
|
41258
|
+
"44P0rKKsZK",
|
|
41259
|
+
"MFkwEwYHKo",
|
|
41260
|
+
"000",
|
|
41261
|
+
"120612DuHKxu",
|
|
41262
|
+
"DepBO8t60S",
|
|
41263
|
+
"3059301306",
|
|
41264
|
+
"ssRdXLZEX8",
|
|
41279
41265
|
"cDQgAE9h6Z",
|
|
41280
|
-
"
|
|
41281
|
-
"
|
|
41266
|
+
"2919fSUnYj",
|
|
41267
|
+
"9720kJycIQ",
|
|
41268
|
+
"+faHkP3QC3",
|
|
41269
|
+
"212094GlWFgW",
|
|
41270
|
+
"KA==",
|
|
41271
|
+
"315786GasSwN"
|
|
41282
41272
|
];
|
|
41283
|
-
return (
|
|
41273
|
+
return (dm = function() {
|
|
41284
41274
|
return e;
|
|
41285
41275
|
})();
|
|
41286
41276
|
}
|
|
41287
|
-
|
|
41288
|
-
|
|
41289
|
-
|
|
41290
|
-
|
|
41277
|
+
let dg = d_, dy = d_, db = dm();
|
|
41278
|
+
for(;;)try {
|
|
41279
|
+
if (parseInt(dy(292)) / 1 + parseInt(dy(295)) / 2 + -parseInt(dy(299)) / 3 + parseInt(dy(305)) / 4 + parseInt(dy(300)) / 5 + parseInt(dy(294)) / 6 + parseInt(dy(289)) / 7 * (-parseInt(dy(290)) / 8) === 121195) break;
|
|
41280
|
+
db.push(db.shift());
|
|
41281
|
+
} catch (e) {
|
|
41282
|
+
db.push(db.shift());
|
|
41283
|
+
}
|
|
41284
|
+
let dv = dg(307) + "072a8648ce3d02010608" + dg(296) + "0301070342" + dg(304);
|
|
41285
|
+
function d_(e, t) {
|
|
41286
|
+
let r = dm();
|
|
41287
|
+
return (d_ = function(e, t) {
|
|
41288
|
+
return r[e -= 288];
|
|
41291
41289
|
})(e, t);
|
|
41292
41290
|
}
|
|
41293
|
-
let
|
|
41291
|
+
let dx = dg(303) + dg(297) + "KoZIzj0DAQ" + dg(288) + dg(306) + dg(298) + dg(291) + dg(302) + "Mjci1ul8mmD9EKOWS+U4" + dg(301) + dg(308) + dg(293);
|
|
41294
41292
|
async function dC(e) {
|
|
41295
41293
|
let t = new TextEncoder().encode(e);
|
|
41296
41294
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -41395,7 +41393,7 @@
|
|
|
41395
41393
|
isValid: !1,
|
|
41396
41394
|
error: i0$1.invalid_license
|
|
41397
41395
|
};
|
|
41398
|
-
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(
|
|
41396
|
+
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(dv, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
|
|
41399
41397
|
verifySignature: async (e, t)=>{
|
|
41400
41398
|
try {
|
|
41401
41399
|
let r = await dC(e), n = i4$1(t);
|
|
@@ -52763,6 +52761,7 @@
|
|
|
52763
52761
|
})), gD = rs$1(ri$1 ? rn$1 : (ri$1 = 1, rn$1 = function() {}));
|
|
52764
52762
|
let gO = nI$1();
|
|
52765
52763
|
let gU = class gU {
|
|
52764
|
+
#e;
|
|
52766
52765
|
constructor(e){
|
|
52767
52766
|
this.getDeviceInfo = async ()=>{
|
|
52768
52767
|
let e = {
|
|
@@ -52882,12 +52881,13 @@
|
|
|
52882
52881
|
themeVersion: p,
|
|
52883
52882
|
enableVoice: g,
|
|
52884
52883
|
...f,
|
|
52885
|
-
enableLicense: b,
|
|
52886
|
-
licensePublicKey: v,
|
|
52887
52884
|
uiSettings: y,
|
|
52888
|
-
enableBilling: _,
|
|
52889
52885
|
billingSettings: x
|
|
52890
|
-
}, this
|
|
52886
|
+
}, this.#e = {
|
|
52887
|
+
enableLicense: b,
|
|
52888
|
+
licensePublicKey: v,
|
|
52889
|
+
enableBilling: _
|
|
52890
|
+
}, Object.freeze(this.commonSettings), Object.freeze(this.#e), this.component = ne$1({}, l, u);
|
|
52891
52891
|
}
|
|
52892
52892
|
checkCamera() {
|
|
52893
52893
|
let { checkCamera: e } = this.component;
|
|
@@ -52905,6 +52905,7 @@
|
|
|
52905
52905
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52906
52906
|
value: {
|
|
52907
52907
|
...this.commonSettings,
|
|
52908
|
+
...this.#e,
|
|
52908
52909
|
onErrorCallback: e.onError ?? gD
|
|
52909
52910
|
},
|
|
52910
52911
|
children: ru$1.jsx(iY$1, {
|
|
@@ -52925,6 +52926,7 @@
|
|
|
52925
52926
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52926
52927
|
value: {
|
|
52927
52928
|
...this.commonSettings,
|
|
52929
|
+
...this.#e,
|
|
52928
52930
|
onErrorCallback: e.onError ?? gD
|
|
52929
52931
|
},
|
|
52930
52932
|
children: ru$1.jsx(dj, {
|
|
@@ -52949,7 +52951,10 @@
|
|
|
52949
52951
|
customMessages: e?.customMessages
|
|
52950
52952
|
});
|
|
52951
52953
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52952
|
-
value:
|
|
52954
|
+
value: {
|
|
52955
|
+
...this.commonSettings,
|
|
52956
|
+
...this.#e
|
|
52957
|
+
},
|
|
52953
52958
|
children: ru$1.jsx(iY$1, {
|
|
52954
52959
|
children: ru$1.jsx(t, {
|
|
52955
52960
|
onClose: this.closeSDK,
|
|
@@ -52963,7 +52968,10 @@
|
|
|
52963
52968
|
ekycFlow(e) {
|
|
52964
52969
|
let { EkycFlow: t } = this.component;
|
|
52965
52970
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52966
|
-
value:
|
|
52971
|
+
value: {
|
|
52972
|
+
...this.commonSettings,
|
|
52973
|
+
...this.#e
|
|
52974
|
+
},
|
|
52967
52975
|
children: ru$1.jsx(t, {
|
|
52968
52976
|
onClose: this.closeSDK,
|
|
52969
52977
|
...e
|
|
@@ -52974,7 +52982,10 @@
|
|
|
52974
52982
|
this.setupBeforeRender();
|
|
52975
52983
|
let { FaceAuthentication: t, LivenessDetection: r, CustomComponent: n } = this.component;
|
|
52976
52984
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52977
|
-
value:
|
|
52985
|
+
value: {
|
|
52986
|
+
...this.commonSettings,
|
|
52987
|
+
...this.#e
|
|
52988
|
+
},
|
|
52978
52989
|
children: ru$1.jsx(iY$1, {
|
|
52979
52990
|
children: ru$1.jsx(t, {
|
|
52980
52991
|
onClose: this.closeSDK,
|
|
@@ -112749,7 +112760,7 @@
|
|
|
112749
112760
|
};
|
|
112750
112761
|
};
|
|
112751
112762
|
|
|
112752
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.platform/0.0.0-beta.
|
|
112763
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.platform/0.0.0-beta.20251215-093759/assets";
|
|
112753
112764
|
class TVWebSDK extends gU {
|
|
112754
112765
|
constructor(props){
|
|
112755
112766
|
super({
|