@tsocial/tvweb-sdk.nbcci 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-151717";
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 = dv, dg = dv, dy = db();
41249
+ let dm = d_, dg = d_, dy = dv();
41250
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;
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
- function db() {
41256
+ let db = dm(332) + dm(323) + "3d02010608" + dm(327) + "0301070342" + dm(338);
41257
+ function dv() {
41257
41258
  let e = [
41258
- "982368RMYjuA",
41259
- "31320LuleDK",
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
- "3d02010608",
41266
- "2978470zQMZMa",
41267
- "ytJdcsPxrD",
41268
- "422605rHCrLX",
41270
+ "5680280JMopum",
41271
+ "2872500ddCxtO",
41272
+ "16501958bhReDg",
41273
+ "Mjci1ul8mm",
41274
+ "16662hltSgm",
41275
+ "072a8648ce",
41269
41276
  "MFkwEwYHKo",
41270
- "56183lqxJEO",
41277
+ "DepBO8t60S",
41278
+ "27iLFafB",
41271
41279
  "2a8648ce3d",
41272
- "MfPrcYTM70",
41273
- "948105yYsKTi",
41274
- "308413oYhHiD",
41275
- "14MxAglU",
41276
- "ZIzj0CAQYI",
41277
- "16daVbPQ",
41278
- "KoZIzj0DAQ",
41279
- "cDQgAE9h6Z",
41280
- "12DhIBcU",
41281
- "000"
41280
+ "240FENsBj",
41281
+ "847jLaCrU"
41282
41282
  ];
41283
- return (db = function() {
41283
+ return (dv = function() {
41284
41284
  return e;
41285
41285
  })();
41286
41286
  }
41287
- function dv(e, t) {
41288
- let r = db();
41289
- return (dv = function(e, t) {
41290
- return r[e -= 371];
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 d_ = dm(393) + dm(392) + dm(371) + dm(377) + dm(391) + dm(387), dx = dm(375) + dm(382) + dm(384) + dm(385) + dm(390) + dm(373) + dm(394) + "44P0rKKsZKMjci1ul8mmD9EKOWS+U4" + dm(378) + "ssRdXLZEX8KA==";
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(d_, ""), 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"), {
41399
41399
  verifySignature: async (e, t)=>{
41400
41400
  try {
41401
41401
  let r = await dC(e), n = i4$1(t);
@@ -52752,6 +52752,7 @@
52752
52752
  })), gD = rs$1(ri$1 ? rn$1 : (ri$1 = 1, rn$1 = function() {}));
52753
52753
  let gO = nI$1();
52754
52754
  let gU = class gU {
52755
+ #e;
52755
52756
  constructor(e){
52756
52757
  this.getDeviceInfo = async ()=>{
52757
52758
  let e = {
@@ -52871,12 +52872,13 @@
52871
52872
  themeVersion: p,
52872
52873
  enableVoice: g,
52873
52874
  ...f,
52874
- enableLicense: b,
52875
- licensePublicKey: v,
52876
52875
  uiSettings: y,
52877
- enableBilling: _,
52878
52876
  billingSettings: x
52879
- }, 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);
52880
52882
  }
52881
52883
  checkCamera() {
52882
52884
  let { checkCamera: e } = this.component;
@@ -52894,6 +52896,7 @@
52894
52896
  ReactDOM.render(ru$1.jsx(ni$1, {
52895
52897
  value: {
52896
52898
  ...this.commonSettings,
52899
+ ...this.#e,
52897
52900
  onErrorCallback: e.onError ?? gD
52898
52901
  },
52899
52902
  children: ru$1.jsx(iY$1, {
@@ -52914,6 +52917,7 @@
52914
52917
  ReactDOM.render(ru$1.jsx(ni$1, {
52915
52918
  value: {
52916
52919
  ...this.commonSettings,
52920
+ ...this.#e,
52917
52921
  onErrorCallback: e.onError ?? gD
52918
52922
  },
52919
52923
  children: ru$1.jsx(dj, {
@@ -52938,7 +52942,10 @@
52938
52942
  customMessages: e?.customMessages
52939
52943
  });
52940
52944
  ReactDOM.render(ru$1.jsx(ni$1, {
52941
- value: this.commonSettings,
52945
+ value: {
52946
+ ...this.commonSettings,
52947
+ ...this.#e
52948
+ },
52942
52949
  children: ru$1.jsx(iY$1, {
52943
52950
  children: ru$1.jsx(t, {
52944
52951
  onClose: this.closeSDK,
@@ -52952,7 +52959,10 @@
52952
52959
  ekycFlow(e) {
52953
52960
  let { EkycFlow: t } = this.component;
52954
52961
  ReactDOM.render(ru$1.jsx(ni$1, {
52955
- value: this.commonSettings,
52962
+ value: {
52963
+ ...this.commonSettings,
52964
+ ...this.#e
52965
+ },
52956
52966
  children: ru$1.jsx(t, {
52957
52967
  onClose: this.closeSDK,
52958
52968
  ...e
@@ -52963,7 +52973,10 @@
52963
52973
  this.setupBeforeRender();
52964
52974
  let { FaceAuthentication: t, LivenessDetection: r, CustomComponent: n } = this.component;
52965
52975
  ReactDOM.render(ru$1.jsx(ni$1, {
52966
- value: this.commonSettings,
52976
+ value: {
52977
+ ...this.commonSettings,
52978
+ ...this.#e
52979
+ },
52967
52980
  children: ru$1.jsx(iY$1, {
52968
52981
  children: ru$1.jsx(t, {
52969
52982
  onClose: this.closeSDK,
@@ -112738,16 +112751,13 @@
112738
112751
  };
112739
112752
  };
112740
112753
 
112741
- const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/0.0.0-beta.20251211-151717/assets";
112742
- // TODO: Read from config
112743
- const enableLicense = true;
112754
+ const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/0.0.0-beta.20251211-162126/assets";
112744
112755
  class TVWebSDK extends gU {
112745
112756
  constructor(props){
112746
112757
  super({
112747
112758
  assetRoot: defaultAssetRoot,
112748
112759
  ...props,
112749
- baseComponent: getSDKComponent(),
112750
- enableLicense
112760
+ baseComponent: getSDKComponent()
112751
112761
  });
112752
112762
  }
112753
112763
  }