@tsocial/tvweb-sdk.lotte 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);
@@ -52766,6 +52763,7 @@
52766
52763
  })), gD = rs$1(ri$1 ? rn$1 : (ri$1 = 1, rn$1 = function() {}));
52767
52764
  let gO = nI$1();
52768
52765
  let gU = class gU {
52766
+ #e;
52769
52767
  constructor(e){
52770
52768
  this.getDeviceInfo = async ()=>{
52771
52769
  let e = {
@@ -52885,12 +52883,13 @@
52885
52883
  themeVersion: p,
52886
52884
  enableVoice: g,
52887
52885
  ...f,
52888
- enableLicense: b,
52889
- licensePublicKey: v,
52890
52886
  uiSettings: y,
52891
- enableBilling: _,
52892
52887
  billingSettings: x
52893
- }, this.component = ne$1({}, l, u);
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);
52894
52893
  }
52895
52894
  checkCamera() {
52896
52895
  let { checkCamera: e } = this.component;
@@ -52908,6 +52907,7 @@
52908
52907
  ReactDOM.render(ru$1.jsx(ni$1, {
52909
52908
  value: {
52910
52909
  ...this.commonSettings,
52910
+ ...this.#e,
52911
52911
  onErrorCallback: e.onError ?? gD
52912
52912
  },
52913
52913
  children: ru$1.jsx(iY$1, {
@@ -52928,6 +52928,7 @@
52928
52928
  ReactDOM.render(ru$1.jsx(ni$1, {
52929
52929
  value: {
52930
52930
  ...this.commonSettings,
52931
+ ...this.#e,
52931
52932
  onErrorCallback: e.onError ?? gD
52932
52933
  },
52933
52934
  children: ru$1.jsx(dj, {
@@ -52952,7 +52953,10 @@
52952
52953
  customMessages: e?.customMessages
52953
52954
  });
52954
52955
  ReactDOM.render(ru$1.jsx(ni$1, {
52955
- value: this.commonSettings,
52956
+ value: {
52957
+ ...this.commonSettings,
52958
+ ...this.#e
52959
+ },
52956
52960
  children: ru$1.jsx(iY$1, {
52957
52961
  children: ru$1.jsx(t, {
52958
52962
  onClose: this.closeSDK,
@@ -52966,7 +52970,10 @@
52966
52970
  ekycFlow(e) {
52967
52971
  let { EkycFlow: t } = this.component;
52968
52972
  ReactDOM.render(ru$1.jsx(ni$1, {
52969
- value: this.commonSettings,
52973
+ value: {
52974
+ ...this.commonSettings,
52975
+ ...this.#e
52976
+ },
52970
52977
  children: ru$1.jsx(t, {
52971
52978
  onClose: this.closeSDK,
52972
52979
  ...e
@@ -52977,7 +52984,10 @@
52977
52984
  this.setupBeforeRender();
52978
52985
  let { FaceAuthentication: t, LivenessDetection: r, CustomComponent: n } = this.component;
52979
52986
  ReactDOM.render(ru$1.jsx(ni$1, {
52980
- value: this.commonSettings,
52987
+ value: {
52988
+ ...this.commonSettings,
52989
+ ...this.#e
52990
+ },
52981
52991
  children: ru$1.jsx(iY$1, {
52982
52992
  children: ru$1.jsx(t, {
52983
52993
  onClose: this.closeSDK,
@@ -116403,7 +116413,7 @@
116403
116413
  qr_tooltip: 'Đặt mã QR vào khung hình và thử dịch chuyển camera (ra xa hoặc gần) để quét được mã QR'
116404
116414
  };
116405
116415
 
116406
- const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.lotte/0.0.0-beta.20251211-144711/assets";
116416
+ const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.lotte/0.0.0-beta.20251211-162126/assets";
116407
116417
  class TVWebSDK extends gU {
116408
116418
  constructor(props){
116409
116419
  super({