@tsocial/tvweb-sdk.tcli 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);
@@ -45330,7 +45331,7 @@
45330
45331
  return this.getKey().getPublicKey();
45331
45332
  }, e.prototype.getPublicKeyB64 = function() {
45332
45333
  return this.getKey().getPublicBaseKeyB64();
45333
- }, e.version = "5.33.0", e;
45334
+ }, e.version = "5.34.0", e;
45334
45335
  }();
45335
45336
  let hO = [
45336
45337
  "-",
@@ -71768,7 +71769,8 @@
71768
71769
  opacity: ${({ showChildren: t })=>+!!t};
71769
71770
  `;
71770
71771
  ({
71771
- onOrientationChange: PropTypes.func
71772
+ onOrientationChange: PropTypes.func,
71773
+ shouldUnmount: PropTypes.bool
71772
71774
  });
71773
71775
  ({
71774
71776
  allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
@@ -88825,7 +88827,7 @@
88825
88827
  opacity: ${({ showChildren })=>showChildren ? 1 : 0};
88826
88828
  `;
88827
88829
  // eslint-disable-next-line react/require-default-props
88828
- function OrientationDetection({ onOrientationChange, children }) {
88830
+ function OrientationDetection({ onOrientationChange, shouldUnmount, children }) {
88829
88831
  const t = gB();
88830
88832
  const { curOrientation } = useDetectOrientation(onOrientationChange);
88831
88833
  const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
@@ -88837,7 +88839,7 @@
88837
88839
  children: t('wrong_orientation')
88838
88840
  })
88839
88841
  }),
88840
- /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
88842
+ (shouldUnmount ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
88841
88843
  showChildren: shouldShowChildren,
88842
88844
  children: children
88843
88845
  })
@@ -88845,10 +88847,12 @@
88845
88847
  });
88846
88848
  }
88847
88849
  OrientationDetection.defaultProps = {
88848
- onOrientationChange: ()=>{}
88850
+ onOrientationChange: ()=>{},
88851
+ shouldUnmount: false
88849
88852
  };
88850
88853
  OrientationDetection.propTypes = {
88851
- onOrientationChange: PropTypes.func
88854
+ onOrientationChange: PropTypes.func,
88855
+ shouldUnmount: PropTypes.bool
88852
88856
  };
88853
88857
 
88854
88858
  const useEkycSession = ()=>{
@@ -115492,11 +115496,13 @@
115492
115496
  }));
115493
115497
  function ReadIDCardUIOnly(props) {
115494
115498
  const { steps = defaultTCBReadIDCardSteps } = props;
115495
- // eslint-disable-next-line react/jsx-props-no-spreading
115496
- return /*#__PURE__*/ jsxRuntimeExports.jsx(ReadIDCardUIOnly$2, {
115497
- ...props,
115498
- uiOnlyComponent: ReadIDCardUIOnly$1,
115499
- steps: steps
115499
+ return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetection, {
115500
+ shouldUnmount: true,
115501
+ children: /*#__PURE__*/ jsxRuntimeExports.jsx(ReadIDCardUIOnly$2, {
115502
+ ...props,
115503
+ uiOnlyComponent: ReadIDCardUIOnly$1,
115504
+ steps: steps
115505
+ })
115500
115506
  });
115501
115507
  }
115502
115508
 
@@ -116236,7 +116242,7 @@
116236
116242
  display: ${f0.getTheme('closeButton.display')};
116237
116243
  `;
116238
116244
 
116239
- const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.tcli/5.34.0/assets";
116245
+ const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.tcli/5.34.1/assets";
116240
116246
  class TVWebSDK extends gU {
116241
116247
  constructor(props){
116242
116248
  super({