@tsocial/tvweb-sdk.nbcci 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);
|
|
@@ -52752,6 +52750,7 @@
|
|
|
52752
52750
|
})), gD = rs$1(ri$1 ? rn$1 : (ri$1 = 1, rn$1 = function() {}));
|
|
52753
52751
|
let gO = nI$1();
|
|
52754
52752
|
let gU = class gU {
|
|
52753
|
+
#e;
|
|
52755
52754
|
constructor(e){
|
|
52756
52755
|
this.getDeviceInfo = async ()=>{
|
|
52757
52756
|
let e = {
|
|
@@ -52871,12 +52870,13 @@
|
|
|
52871
52870
|
themeVersion: p,
|
|
52872
52871
|
enableVoice: g,
|
|
52873
52872
|
...f,
|
|
52874
|
-
enableLicense: b,
|
|
52875
|
-
licensePublicKey: v,
|
|
52876
52873
|
uiSettings: y,
|
|
52877
|
-
enableBilling: _,
|
|
52878
52874
|
billingSettings: x
|
|
52879
|
-
}, this
|
|
52875
|
+
}, this.#e = {
|
|
52876
|
+
enableLicense: b,
|
|
52877
|
+
licensePublicKey: v,
|
|
52878
|
+
enableBilling: _
|
|
52879
|
+
}, Object.freeze(this.commonSettings), Object.freeze(this.#e), this.component = ne$1({}, l, u);
|
|
52880
52880
|
}
|
|
52881
52881
|
checkCamera() {
|
|
52882
52882
|
let { checkCamera: e } = this.component;
|
|
@@ -52894,6 +52894,7 @@
|
|
|
52894
52894
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52895
52895
|
value: {
|
|
52896
52896
|
...this.commonSettings,
|
|
52897
|
+
...this.#e,
|
|
52897
52898
|
onErrorCallback: e.onError ?? gD
|
|
52898
52899
|
},
|
|
52899
52900
|
children: ru$1.jsx(iY$1, {
|
|
@@ -52914,6 +52915,7 @@
|
|
|
52914
52915
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52915
52916
|
value: {
|
|
52916
52917
|
...this.commonSettings,
|
|
52918
|
+
...this.#e,
|
|
52917
52919
|
onErrorCallback: e.onError ?? gD
|
|
52918
52920
|
},
|
|
52919
52921
|
children: ru$1.jsx(dj, {
|
|
@@ -52938,7 +52940,10 @@
|
|
|
52938
52940
|
customMessages: e?.customMessages
|
|
52939
52941
|
});
|
|
52940
52942
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52941
|
-
value:
|
|
52943
|
+
value: {
|
|
52944
|
+
...this.commonSettings,
|
|
52945
|
+
...this.#e
|
|
52946
|
+
},
|
|
52942
52947
|
children: ru$1.jsx(iY$1, {
|
|
52943
52948
|
children: ru$1.jsx(t, {
|
|
52944
52949
|
onClose: this.closeSDK,
|
|
@@ -52952,7 +52957,10 @@
|
|
|
52952
52957
|
ekycFlow(e) {
|
|
52953
52958
|
let { EkycFlow: t } = this.component;
|
|
52954
52959
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52955
|
-
value:
|
|
52960
|
+
value: {
|
|
52961
|
+
...this.commonSettings,
|
|
52962
|
+
...this.#e
|
|
52963
|
+
},
|
|
52956
52964
|
children: ru$1.jsx(t, {
|
|
52957
52965
|
onClose: this.closeSDK,
|
|
52958
52966
|
...e
|
|
@@ -52963,7 +52971,10 @@
|
|
|
52963
52971
|
this.setupBeforeRender();
|
|
52964
52972
|
let { FaceAuthentication: t, LivenessDetection: r, CustomComponent: n } = this.component;
|
|
52965
52973
|
ReactDOM.render(ru$1.jsx(ni$1, {
|
|
52966
|
-
value:
|
|
52974
|
+
value: {
|
|
52975
|
+
...this.commonSettings,
|
|
52976
|
+
...this.#e
|
|
52977
|
+
},
|
|
52967
52978
|
children: ru$1.jsx(iY$1, {
|
|
52968
52979
|
children: ru$1.jsx(t, {
|
|
52969
52980
|
onClose: this.closeSDK,
|
|
@@ -112738,16 +112749,13 @@
|
|
|
112738
112749
|
};
|
|
112739
112750
|
};
|
|
112740
112751
|
|
|
112741
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/0.0.0-beta.
|
|
112742
|
-
// TODO: Read from config
|
|
112743
|
-
const enableLicense = true;
|
|
112752
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/0.0.0-beta.20251215-093759/assets";
|
|
112744
112753
|
class TVWebSDK extends gU {
|
|
112745
112754
|
constructor(props){
|
|
112746
112755
|
super({
|
|
112747
112756
|
assetRoot: defaultAssetRoot,
|
|
112748
112757
|
...props,
|
|
112749
|
-
baseComponent: getSDKComponent()
|
|
112750
|
-
enableLicense
|
|
112758
|
+
baseComponent: getSDKComponent()
|
|
112751
112759
|
});
|
|
112752
112760
|
}
|
|
112753
112761
|
}
|