@tsocial/tvweb-sdk.omg 5.34.0 → 5.34.1

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 "5.34.0";
33786
+ return "5.34.1";
33787
33787
  }
33788
33788
  function nI$1() {
33789
33789
  return {
@@ -41259,47 +41259,48 @@
41259
41259
  }, uz;
41260
41260
  }(), uG);
41261
41261
  }();
41262
- function dm(e, t) {
41263
- let r = dx();
41264
- return (dm = function(e, t) {
41265
- return r[e -= 253];
41266
- })(e, t);
41267
- }
41268
- let dg = dm, dy = dm, db = dx();
41262
+ let dm = d_, dg = d_, dy = dx();
41269
41263
  for(;;)try {
41270
- if (parseInt(dy(266)) / 1 + -parseInt(dy(256)) / 2 * (parseInt(dy(270)) / 3) + -parseInt(dy(255)) / 4 * (parseInt(dy(273)) / 5) + -parseInt(dy(275)) / 6 + parseInt(dy(254)) / 7 * (-parseInt(dy(267)) / 8) + parseInt(dy(257)) / 9 + parseInt(dy(264)) / 10 * (parseInt(dy(276)) / 11) === 688691) break;
41271
- db.push(db.shift());
41264
+ if (-parseInt(dg(195)) / 1 * (parseInt(dg(207)) / 2) + parseInt(dg(192)) / 3 + -parseInt(dg(210)) / 4 * (-parseInt(dg(201)) / 5) + parseInt(dg(200)) / 6 * (-parseInt(dg(214)) / 7) + -parseInt(dg(193)) / 8 * (parseInt(dg(206)) / 9) + -parseInt(dg(190)) / 10 * (parseInt(dg(197)) / 11) + parseInt(dg(198)) / 12 === 213775) break;
41265
+ dy.push(dy.shift());
41272
41266
  } catch (e) {
41273
- db.push(db.shift());
41267
+ dy.push(dy.shift());
41268
+ }
41269
+ let db = dm(199) + dm(203) + dm(205) + dm(215) + "0301070342" + dm(211), dv = "MFkwEwYHKoZIzj0CAQYI" + dm(212) + "cDQgAE9h6Z" + dm(204) + "ytJdcsPxrD" + dm(191) + dm(194) + dm(202) + dm(213) + dm(196) + dm(208) + dm(209);
41270
+ function d_(e, t) {
41271
+ let r = dx();
41272
+ return (d_ = function(e, t) {
41273
+ return r[e -= 190];
41274
+ })(e, t);
41274
41275
  }
41275
- let dv = dg(259) + dg(265) + dg(260) + dg(262) + "0301070342" + dg(272), d_ = dg(274) + dg(268) + dg(253) + dg(258) + dg(269) + dg(263) + "+faHkP3QC3" + dg(261) + "Mjci1ul8mm" + dg(277) + dg(271) + "ssRdXLZEX8KA==";
41276
41276
  function dx() {
41277
41277
  let e = [
41278
- "D9EKOWS+U4",
41279
- "KoZIzj0DAQ",
41280
- "35LjMmQl",
41281
- "77156uGIESC",
41282
- "190508oefdBp",
41283
- "11280618PQfwNT",
41284
- "cDQgAE9h6Z",
41285
- "3059301306",
41286
- "3d02010608",
41278
+ "4552RWKMhh",
41287
41279
  "44P0rKKsZK",
41288
- "2a8648ce3d",
41289
- "ytJdcsPxrD",
41290
- "10JzyKyv",
41280
+ "181301bSrizZ",
41281
+ "MfPrcYTM70",
41282
+ "7942PgSLUR",
41283
+ "6721080nDVclj",
41284
+ "3059301306",
41285
+ "90qowNeA",
41286
+ "17930ZGtTNS",
41287
+ "Mjci1ul8mm",
41291
41288
  "072a8648ce",
41292
- "712832CUVhDz",
41293
- "2152528SbwDRB",
41294
- "ZIzj0CAQYI",
41295
41289
  "DepBO8t60S",
41296
- "9mSroPf",
41297
- "MfPrcYTM70",
41290
+ "3d02010608",
41291
+ "5625sjHwWV",
41292
+ "4aZMLJD",
41293
+ "ssRdXLZEX8",
41294
+ "KA==",
41295
+ "344nEBwdw",
41298
41296
  "000",
41299
- "225bWuBcu",
41300
- "MFkwEwYHKo",
41301
- "6250770KoXIrQ",
41302
- "24896839XBOetl"
41297
+ "KoZIzj0DAQ",
41298
+ "D9EKOWS+U4",
41299
+ "116305sfIwaw",
41300
+ "2a8648ce3d",
41301
+ "1350orKIeV",
41302
+ "+faHkP3QC3",
41303
+ "1230633jFFmqZ"
41303
41304
  ];
41304
41305
  return (dx = function() {
41305
41306
  return e;
@@ -41409,7 +41410,7 @@
41409
41410
  isValid: !1,
41410
41411
  error: i0$1.invalid_license
41411
41412
  };
41412
- let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || d_, n = i4$1(r).replace(dv, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
41413
+ let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dv, n = i4$1(r).replace(db, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
41413
41414
  verifySignature: async (e, t)=>{
41414
41415
  try {
41415
41416
  let r = await dC(e), n = i4$1(t);
@@ -45323,7 +45324,7 @@
45323
45324
  return this.getKey().getPublicKey();
45324
45325
  }, e.prototype.getPublicKeyB64 = function() {
45325
45326
  return this.getKey().getPublicBaseKeyB64();
45326
- }, e.version = "5.33.0", e;
45327
+ }, e.version = "5.34.0", e;
45327
45328
  }();
45328
45329
  let hO = [
45329
45330
  "-",
@@ -71761,7 +71762,8 @@
71761
71762
  opacity: ${({ showChildren: t })=>+!!t};
71762
71763
  `;
71763
71764
  ({
71764
- onOrientationChange: PropTypes.func
71765
+ onOrientationChange: PropTypes.func,
71766
+ shouldUnmount: PropTypes.bool
71765
71767
  });
71766
71768
  ({
71767
71769
  allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
@@ -88818,7 +88820,7 @@
88818
88820
  opacity: ${({ showChildren })=>showChildren ? 1 : 0};
88819
88821
  `;
88820
88822
  // eslint-disable-next-line react/require-default-props
88821
- function OrientationDetection({ onOrientationChange, children }) {
88823
+ function OrientationDetection({ onOrientationChange, shouldUnmount, children }) {
88822
88824
  const t = gB();
88823
88825
  const { curOrientation } = useDetectOrientation(onOrientationChange);
88824
88826
  const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
@@ -88830,7 +88832,7 @@
88830
88832
  children: t('wrong_orientation')
88831
88833
  })
88832
88834
  }),
88833
- /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
88835
+ (shouldUnmount ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
88834
88836
  showChildren: shouldShowChildren,
88835
88837
  children: children
88836
88838
  })
@@ -88838,10 +88840,12 @@
88838
88840
  });
88839
88841
  }
88840
88842
  OrientationDetection.defaultProps = {
88841
- onOrientationChange: ()=>{}
88843
+ onOrientationChange: ()=>{},
88844
+ shouldUnmount: false
88842
88845
  };
88843
88846
  OrientationDetection.propTypes = {
88844
- onOrientationChange: PropTypes.func
88847
+ onOrientationChange: PropTypes.func,
88848
+ shouldUnmount: PropTypes.bool
88845
88849
  };
88846
88850
 
88847
88851
  const useEkycSession = ()=>{
@@ -117439,7 +117443,7 @@
117439
117443
  CONFIRM_POPUP_INVALID_QR: 'Không quét được mã QR'
117440
117444
  };
117441
117445
 
117442
- const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.omg/5.34.0/assets";
117446
+ const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.omg/5.34.1/assets";
117443
117447
  class TVWebSDK extends gU {
117444
117448
  constructor(props){
117445
117449
  super({