@tsocial/tvweb-sdk.nbcci 0.0.0-beta.20251211-144711 → 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-144711";
33773
+ return "0.0.0-beta.20251211-162126";
33774
33774
  }
33775
33775
  function nI$1() {
33776
33776
  return {
@@ -41246,54 +41246,51 @@
41246
41246
  }, uz;
41247
41247
  }(), uG);
41248
41248
  }();
41249
- let dm = d_;
41250
- function dg() {
41249
+ let dm = d_, dg = d_, dy = dv();
41250
+ for(;;)try {
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
+ dy.push(dy.shift());
41253
+ } catch (e) {
41254
+ dy.push(dy.shift());
41255
+ }
41256
+ let db = dm(332) + dm(323) + "3d02010608" + dm(327) + "0301070342" + dm(338);
41257
+ function dv() {
41251
41258
  let e = [
41252
- "Mjci1ul8mm",
41253
- "2437435OGOkIi",
41254
- "000",
41255
- "656406plizay",
41256
- "0301070342",
41259
+ "ytJdcsPxrD",
41260
+ "892gXnWfr",
41257
41261
  "3059301306",
41258
- "072a8648ce",
41259
- "4mCYScD",
41262
+ "KoZIzj0DAQ",
41263
+ "6gYYqrS",
41264
+ "7198670NThCRv",
41260
41265
  "KA==",
41261
- "8QuBGPd",
41262
- "446910SBzXWy",
41263
- "311260RFpyWn",
41266
+ "3402308atSQXs",
41267
+ "000",
41264
41268
  "44P0rKKsZK",
41265
- "68599ZWqnAG",
41266
- "21lcJWls",
41267
- "570710aSxsnU",
41268
- "224532XYVVGu",
41269
- "6LEFYNB",
41270
- "3d02010608",
41271
- "MfPrcYTM70",
41272
- "2a8648ce3d",
41273
- "ytJdcsPxrD",
41274
- "ssRdXLZEX8",
41269
+ "+faHkP3QC3",
41270
+ "5680280JMopum",
41271
+ "2872500ddCxtO",
41272
+ "16501958bhReDg",
41273
+ "Mjci1ul8mm",
41274
+ "16662hltSgm",
41275
+ "072a8648ce",
41275
41276
  "MFkwEwYHKo",
41276
- "DepBO8t60S"
41277
+ "DepBO8t60S",
41278
+ "27iLFafB",
41279
+ "2a8648ce3d",
41280
+ "240FENsBj",
41281
+ "847jLaCrU"
41277
41282
  ];
41278
- return (dg = function() {
41283
+ return (dv = function() {
41279
41284
  return e;
41280
41285
  })();
41281
41286
  }
41282
- let dy = d_, db = dg();
41283
- for(;;)try {
41284
- if (parseInt(dy(455)) / 1 * (parseInt(dy(459)) / 2) + -parseInt(dy(452)) / 3 + parseInt(dy(449)) / 4 * (-parseInt(dy(453)) / 5) + -parseInt(dy(458)) / 6 * (parseInt(dy(456)) / 7) + -parseInt(dy(451)) / 8 * (-parseInt(dy(470)) / 9) + -parseInt(dy(457)) / 10 + parseInt(dy(468)) / 11 === 119757) break;
41285
- db.push(db.shift());
41286
- } catch (e) {
41287
- db.push(db.shift());
41288
- }
41289
- let dv = dm(472) + dm(448) + dm(460) + dm(462) + dm(471) + dm(469);
41290
41287
  function d_(e, t) {
41291
- let r = dg();
41288
+ let r = dv();
41292
41289
  return (d_ = function(e, t) {
41293
- return r[e -= 448];
41290
+ return r[e -= 323];
41294
41291
  })(e, t);
41295
41292
  }
41296
- let dx = dm(465) + "ZIzj0CAQYIKoZIzj0DAQcDQgAE9h6Z" + dm(466) + dm(463) + "+faHkP3QC3" + dm(454) + dm(467) + "D9EKOWS+U4" + dm(461) + dm(464) + dm(450);
41293
+ let dx = dm(324) + "ZIzj0CAQYI" + dm(333) + "cDQgAE9h6Z" + dm(325) + dm(330) + dm(340) + dm(339) + dm(344) + "D9EKOWS+U4MfPrcYTM70ssRdXLZEX8" + dm(336);
41297
41294
  async function dC(e) {
41298
41295
  let t = new TextEncoder().encode(e);
41299
41296
  return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
@@ -41398,7 +41395,7 @@
41398
41395
  isValid: !1,
41399
41396
  error: i0$1.invalid_license
41400
41397
  };
41401
- 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"), {
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"), {
41402
41399
  verifySignature: async (e, t)=>{
41403
41400
  try {
41404
41401
  let r = await dC(e), n = i4$1(t);
@@ -52755,6 +52752,7 @@
52755
52752
  })), gD = rs$1(ri$1 ? rn$1 : (ri$1 = 1, rn$1 = function() {}));
52756
52753
  let gO = nI$1();
52757
52754
  let gU = class gU {
52755
+ #e;
52758
52756
  constructor(e){
52759
52757
  this.getDeviceInfo = async ()=>{
52760
52758
  let e = {
@@ -52874,12 +52872,13 @@
52874
52872
  themeVersion: p,
52875
52873
  enableVoice: g,
52876
52874
  ...f,
52877
- enableLicense: b,
52878
- licensePublicKey: v,
52879
52875
  uiSettings: y,
52880
- enableBilling: _,
52881
52876
  billingSettings: x
52882
- }, this.component = ne$1({}, l, u);
52877
+ }, this.#e = {
52878
+ enableLicense: b,
52879
+ licensePublicKey: v,
52880
+ enableBilling: _
52881
+ }, Object.freeze(this.commonSettings), Object.freeze(this.#e), this.component = ne$1({}, l, u);
52883
52882
  }
52884
52883
  checkCamera() {
52885
52884
  let { checkCamera: e } = this.component;
@@ -52897,6 +52896,7 @@
52897
52896
  ReactDOM.render(ru$1.jsx(ni$1, {
52898
52897
  value: {
52899
52898
  ...this.commonSettings,
52899
+ ...this.#e,
52900
52900
  onErrorCallback: e.onError ?? gD
52901
52901
  },
52902
52902
  children: ru$1.jsx(iY$1, {
@@ -52917,6 +52917,7 @@
52917
52917
  ReactDOM.render(ru$1.jsx(ni$1, {
52918
52918
  value: {
52919
52919
  ...this.commonSettings,
52920
+ ...this.#e,
52920
52921
  onErrorCallback: e.onError ?? gD
52921
52922
  },
52922
52923
  children: ru$1.jsx(dj, {
@@ -52941,7 +52942,10 @@
52941
52942
  customMessages: e?.customMessages
52942
52943
  });
52943
52944
  ReactDOM.render(ru$1.jsx(ni$1, {
52944
- value: this.commonSettings,
52945
+ value: {
52946
+ ...this.commonSettings,
52947
+ ...this.#e
52948
+ },
52945
52949
  children: ru$1.jsx(iY$1, {
52946
52950
  children: ru$1.jsx(t, {
52947
52951
  onClose: this.closeSDK,
@@ -52955,7 +52959,10 @@
52955
52959
  ekycFlow(e) {
52956
52960
  let { EkycFlow: t } = this.component;
52957
52961
  ReactDOM.render(ru$1.jsx(ni$1, {
52958
- value: this.commonSettings,
52962
+ value: {
52963
+ ...this.commonSettings,
52964
+ ...this.#e
52965
+ },
52959
52966
  children: ru$1.jsx(t, {
52960
52967
  onClose: this.closeSDK,
52961
52968
  ...e
@@ -52966,7 +52973,10 @@
52966
52973
  this.setupBeforeRender();
52967
52974
  let { FaceAuthentication: t, LivenessDetection: r, CustomComponent: n } = this.component;
52968
52975
  ReactDOM.render(ru$1.jsx(ni$1, {
52969
- value: this.commonSettings,
52976
+ value: {
52977
+ ...this.commonSettings,
52978
+ ...this.#e
52979
+ },
52970
52980
  children: ru$1.jsx(iY$1, {
52971
52981
  children: ru$1.jsx(t, {
52972
52982
  onClose: this.closeSDK,
@@ -112741,16 +112751,13 @@
112741
112751
  };
112742
112752
  };
112743
112753
 
112744
- const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/0.0.0-beta.20251211-144711/assets";
112745
- // TODO: Read from config
112746
- const enableLicense = true;
112754
+ const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/0.0.0-beta.20251211-162126/assets";
112747
112755
  class TVWebSDK extends gU {
112748
112756
  constructor(props){
112749
112757
  super({
112750
112758
  assetRoot: defaultAssetRoot,
112751
112759
  ...props,
112752
- baseComponent: getSDKComponent(),
112753
- enableLicense
112760
+ baseComponent: getSDKComponent()
112754
112761
  });
112755
112762
  }
112756
112763
  }