@tsocial/tvweb-sdk.omg 0.0.0-beta.20251217-142321 → 0.0.0-beta.20260102-113929

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.
@@ -33783,7 +33783,7 @@
33783
33783
  }, nS$1;
33784
33784
  }();
33785
33785
  function nB$1() {
33786
- return "0.0.0-beta.20251217-142321";
33786
+ return "0.0.0-beta.20260102-113929";
33787
33787
  }
33788
33788
  function nI$1() {
33789
33789
  return {
@@ -41259,50 +41259,52 @@
41259
41259
  }, uz;
41260
41260
  }(), uG);
41261
41261
  }();
41262
- function dm(e, t) {
41263
- let r = dv();
41264
- return (dm = function(e, t) {
41265
- return r[e -= 360];
41266
- })(e, t);
41267
- }
41268
- let dg = dm, dy = dm, db = dv();
41262
+ let dm = d_, dg = d_, dy = db();
41269
41263
  for(;;)try {
41270
- if (parseInt(dy(360)) / 1 + parseInt(dy(376)) / 2 * (parseInt(dy(364)) / 3) + parseInt(dy(377)) / 4 * (parseInt(dy(367)) / 5) + -parseInt(dy(380)) / 6 + parseInt(dy(374)) / 7 * (parseInt(dy(369)) / 8) + -parseInt(dy(373)) / 9 * (parseInt(dy(378)) / 10) + parseInt(dy(365)) / 11 === 431675) break;
41271
- db.push(db.shift());
41264
+ if (-parseInt(dg(345)) / 1 + parseInt(dg(342)) / 2 + -parseInt(dg(337)) / 3 + parseInt(dg(351)) / 4 * (-parseInt(dg(352)) / 5) + -parseInt(dg(344)) / 6 + parseInt(dg(348)) / 7 * (-parseInt(dg(340)) / 8) + parseInt(dg(357)) / 9 * (parseInt(dg(354)) / 10) === 618403) break;
41265
+ dy.push(dy.shift());
41272
41266
  } catch (e) {
41273
- db.push(db.shift());
41267
+ dy.push(dy.shift());
41274
41268
  }
41275
- function dv() {
41269
+ function db() {
41276
41270
  let e = [
41277
- "431298HdIesc",
41278
- "28QBzsDj",
41279
- "MfPrcYTM70",
41280
- "278jLdKKf",
41281
- "69524PqGfjj",
41282
- "40oyrDAO",
41283
- "Mjci1ul8mm",
41284
- "4090686MGSzKL",
41285
- "ssRdXLZEX8",
41271
+ "189hhFXAD",
41272
+ "0301070342",
41286
41273
  "44P0rKKsZK",
41287
- "388265omPOkm",
41288
- "D9EKOWS+U4",
41274
+ "24rqmDDM",
41275
+ "1002995OcTyQq",
41276
+ "ytJdcsPxrD",
41277
+ "11990OPaSvM",
41278
+ "cDQgAE9h6Z",
41279
+ "072a8648ce",
41280
+ "37629rCUIjn",
41281
+ "000",
41282
+ "MfPrcYTM70",
41289
41283
  "KA==",
41290
- "2a8648ce3d",
41291
- "1131IWqIwd",
41292
- "3490498FdsWqz",
41293
- "MFkwEwYHKo",
41294
- "130pWIRuI",
41295
- "KoZIzj0DAQ",
41296
- "190504tfNTkt",
41284
+ "3577959zMwuqo",
41297
41285
  "ZIzj0CAQYI",
41286
+ "2a8648ce3d",
41287
+ "362952WZsXSr",
41288
+ "DepBO8t60S",
41289
+ "1669398mnxwun",
41298
41290
  "3d02010608",
41299
- "DepBO8t60S"
41291
+ "2547624dmLhJV",
41292
+ "1183501ukhWAU",
41293
+ "ssRdXLZEX8",
41294
+ "+faHkP3QC3"
41300
41295
  ];
41301
- return (dv = function() {
41296
+ return (db = function() {
41302
41297
  return e;
41303
41298
  })();
41304
41299
  }
41305
- let d_ = "3059301306072a8648ce" + dg(371) + dg(363) + "0301070342000", dx = dg(366) + dg(370) + dg(368) + "cDQgAE9h6Z" + dg(372) + "ytJdcsPxrD+faHkP3QC3" + dg(382) + dg(379) + dg(361) + dg(375) + dg(381) + dg(362);
41300
+ let dv = "3059301306" + dm(356) + dm(343) + dm(339) + dm(349) + dm(358);
41301
+ function d_(e, t) {
41302
+ let r = db();
41303
+ return (d_ = function(e, t) {
41304
+ return r[e -= 335];
41305
+ })(e, t);
41306
+ }
41307
+ let dx = "MFkwEwYHKo" + dm(338) + "KoZIzj0DAQ" + dm(355) + dm(341) + dm(353) + dm(347) + dm(350) + "Mjci1ul8mmD9EKOWS+U4" + dm(335) + dm(346) + dm(336);
41306
41308
  async function dC(e) {
41307
41309
  let t = new TextEncoder().encode(e);
41308
41310
  return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
@@ -41407,7 +41409,7 @@
41407
41409
  isValid: !1,
41408
41410
  error: i0$1.invalid_license
41409
41411
  };
41410
- 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"), {
41412
+ 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"), {
41411
41413
  verifySignature: async (e, t)=>{
41412
41414
  try {
41413
41415
  let r = await dC(e), n = i4$1(t);
@@ -45321,7 +45323,7 @@
45321
45323
  return this.getKey().getPublicKey();
45322
45324
  }, e.prototype.getPublicKeyB64 = function() {
45323
45325
  return this.getKey().getPublicBaseKeyB64();
45324
- }, e.version = "5.33.0", e;
45326
+ }, e.version = "5.34.0", e;
45325
45327
  }();
45326
45328
  let hO = [
45327
45329
  "-",
@@ -71759,7 +71761,8 @@
71759
71761
  opacity: ${({ showChildren: t })=>+!!t};
71760
71762
  `;
71761
71763
  ({
71762
- onOrientationChange: PropTypes.func
71764
+ onOrientationChange: PropTypes.func,
71765
+ shouldUnmount: PropTypes.bool
71763
71766
  });
71764
71767
  ({
71765
71768
  allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
@@ -88816,7 +88819,7 @@
88816
88819
  opacity: ${({ showChildren })=>showChildren ? 1 : 0};
88817
88820
  `;
88818
88821
  // eslint-disable-next-line react/require-default-props
88819
- function OrientationDetection({ onOrientationChange, children }) {
88822
+ function OrientationDetection({ onOrientationChange, shouldUnmount, children }) {
88820
88823
  const t = gB();
88821
88824
  const { curOrientation } = useDetectOrientation(onOrientationChange);
88822
88825
  const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
@@ -88828,7 +88831,7 @@
88828
88831
  children: t('wrong_orientation')
88829
88832
  })
88830
88833
  }),
88831
- /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
88834
+ (shouldUnmount ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
88832
88835
  showChildren: shouldShowChildren,
88833
88836
  children: children
88834
88837
  })
@@ -88836,10 +88839,12 @@
88836
88839
  });
88837
88840
  }
88838
88841
  OrientationDetection.defaultProps = {
88839
- onOrientationChange: ()=>{}
88842
+ onOrientationChange: ()=>{},
88843
+ shouldUnmount: false
88840
88844
  };
88841
88845
  OrientationDetection.propTypes = {
88842
- onOrientationChange: PropTypes.func
88846
+ onOrientationChange: PropTypes.func,
88847
+ shouldUnmount: PropTypes.bool
88843
88848
  };
88844
88849
 
88845
88850
  const useEkycSession = ()=>{
@@ -117437,7 +117442,7 @@
117437
117442
  CONFIRM_POPUP_INVALID_QR: 'Không quét được mã QR'
117438
117443
  };
117439
117444
 
117440
- const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.omg/0.0.0-beta.20251217-142321/assets";
117445
+ const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.omg/0.0.0-beta.20260102-113929/assets";
117441
117446
  class TVWebSDK extends gU {
117442
117447
  constructor(props){
117443
117448
  super({