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