@tsocial/tvweb-sdk.tcli 0.0.0-beta.20251217-142321 → 0.0.0-beta.20260102-114208
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.
|
|
33786
|
+
return "0.0.0-beta.20260102-114208";
|
|
33787
33787
|
}
|
|
33788
33788
|
function nI$1() {
|
|
33789
33789
|
return {
|
|
@@ -41259,50 +41259,56 @@
|
|
|
41259
41259
|
}, uz;
|
|
41260
41260
|
}(), uG);
|
|
41261
41261
|
}();
|
|
41262
|
-
|
|
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 = dv, dg = dv, dy = dx();
|
|
41269
41263
|
for(;;)try {
|
|
41270
|
-
if (parseInt(
|
|
41271
|
-
|
|
41264
|
+
if (-parseInt(dg(370)) / 1 * (-parseInt(dg(366)) / 2) + parseInt(dg(358)) / 3 * (parseInt(dg(374)) / 4) + parseInt(dg(365)) / 5 + parseInt(dg(357)) / 6 + -parseInt(dg(362)) / 7 * (-parseInt(dg(361)) / 8) + parseInt(dg(376)) / 9 * (parseInt(dg(378)) / 10) + -parseInt(dg(368)) / 11 * (parseInt(dg(367)) / 12) === 599998) break;
|
|
41265
|
+
dy.push(dy.shift());
|
|
41272
41266
|
} catch (e) {
|
|
41273
|
-
|
|
41267
|
+
dy.push(dy.shift());
|
|
41268
|
+
}
|
|
41269
|
+
let db = dm(372) + dm(383) + dm(360) + dm(381) + dm(382) + dm(375);
|
|
41270
|
+
function dv(e, t) {
|
|
41271
|
+
let r = dx();
|
|
41272
|
+
return (dv = function(e, t) {
|
|
41273
|
+
return r[e -= 356];
|
|
41274
|
+
})(e, t);
|
|
41274
41275
|
}
|
|
41275
|
-
|
|
41276
|
+
let d_ = dm(359) + dm(363) + "KoZIzj0DAQ" + dm(369) + "DepBO8t60S" + dm(379) + dm(364) + dm(380) + dm(377) + "D9EKOWS+U4" + dm(371) + dm(356) + dm(373);
|
|
41277
|
+
function dx() {
|
|
41276
41278
|
let e = [
|
|
41277
|
-
"
|
|
41278
|
-
"
|
|
41279
|
+
"cDQgAE9h6Z",
|
|
41280
|
+
"127449PpANSf",
|
|
41279
41281
|
"MfPrcYTM70",
|
|
41280
|
-
"
|
|
41281
|
-
"
|
|
41282
|
-
"
|
|
41282
|
+
"3059301306",
|
|
41283
|
+
"KA==",
|
|
41284
|
+
"504CUvXlG",
|
|
41285
|
+
"000",
|
|
41286
|
+
"4211091ZcZUHq",
|
|
41283
41287
|
"Mjci1ul8mm",
|
|
41284
|
-
"
|
|
41285
|
-
"
|
|
41288
|
+
"10bvLTER",
|
|
41289
|
+
"ytJdcsPxrD",
|
|
41286
41290
|
"44P0rKKsZK",
|
|
41287
|
-
"388265omPOkm",
|
|
41288
|
-
"D9EKOWS+U4",
|
|
41289
|
-
"KA==",
|
|
41290
41291
|
"2a8648ce3d",
|
|
41291
|
-
"
|
|
41292
|
-
"
|
|
41292
|
+
"0301070342",
|
|
41293
|
+
"072a8648ce",
|
|
41294
|
+
"ssRdXLZEX8",
|
|
41295
|
+
"418878IKMmpg",
|
|
41296
|
+
"22509QYOLbd",
|
|
41293
41297
|
"MFkwEwYHKo",
|
|
41294
|
-
"130pWIRuI",
|
|
41295
|
-
"KoZIzj0DAQ",
|
|
41296
|
-
"190504tfNTkt",
|
|
41297
|
-
"ZIzj0CAQYI",
|
|
41298
41298
|
"3d02010608",
|
|
41299
|
-
"
|
|
41299
|
+
"1956472WoXxGf",
|
|
41300
|
+
"21nyvxwG",
|
|
41301
|
+
"ZIzj0CAQYI",
|
|
41302
|
+
"+faHkP3QC3",
|
|
41303
|
+
"441635tgQdcV",
|
|
41304
|
+
"4ycPapD",
|
|
41305
|
+
"500424ofdLzM",
|
|
41306
|
+
"517Pccfps"
|
|
41300
41307
|
];
|
|
41301
|
-
return (
|
|
41308
|
+
return (dx = function() {
|
|
41302
41309
|
return e;
|
|
41303
41310
|
})();
|
|
41304
41311
|
}
|
|
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);
|
|
41306
41312
|
async function dC(e) {
|
|
41307
41313
|
let t = new TextEncoder().encode(e);
|
|
41308
41314
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -41407,7 +41413,7 @@
|
|
|
41407
41413
|
isValid: !1,
|
|
41408
41414
|
error: i0$1.invalid_license
|
|
41409
41415
|
};
|
|
41410
|
-
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t ||
|
|
41416
|
+
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || d_, n = i4$1(r).replace(db, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
|
|
41411
41417
|
verifySignature: async (e, t)=>{
|
|
41412
41418
|
try {
|
|
41413
41419
|
let r = await dC(e), n = i4$1(t);
|
|
@@ -45328,7 +45334,7 @@
|
|
|
45328
45334
|
return this.getKey().getPublicKey();
|
|
45329
45335
|
}, e.prototype.getPublicKeyB64 = function() {
|
|
45330
45336
|
return this.getKey().getPublicBaseKeyB64();
|
|
45331
|
-
}, e.version = "5.
|
|
45337
|
+
}, e.version = "5.34.0", e;
|
|
45332
45338
|
}();
|
|
45333
45339
|
let hO = [
|
|
45334
45340
|
"-",
|
|
@@ -71766,7 +71772,8 @@
|
|
|
71766
71772
|
opacity: ${({ showChildren: t })=>+!!t};
|
|
71767
71773
|
`;
|
|
71768
71774
|
({
|
|
71769
|
-
onOrientationChange: PropTypes.func
|
|
71775
|
+
onOrientationChange: PropTypes.func,
|
|
71776
|
+
shouldUnmount: PropTypes.bool
|
|
71770
71777
|
});
|
|
71771
71778
|
({
|
|
71772
71779
|
allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
|
|
@@ -88823,7 +88830,7 @@
|
|
|
88823
88830
|
opacity: ${({ showChildren })=>showChildren ? 1 : 0};
|
|
88824
88831
|
`;
|
|
88825
88832
|
// eslint-disable-next-line react/require-default-props
|
|
88826
|
-
function OrientationDetection({ onOrientationChange, children }) {
|
|
88833
|
+
function OrientationDetection({ onOrientationChange, shouldUnmount, children }) {
|
|
88827
88834
|
const t = gB();
|
|
88828
88835
|
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88829
88836
|
const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
|
|
@@ -88835,7 +88842,7 @@
|
|
|
88835
88842
|
children: t('wrong_orientation')
|
|
88836
88843
|
})
|
|
88837
88844
|
}),
|
|
88838
|
-
/*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
|
|
88845
|
+
(shouldUnmount ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
|
|
88839
88846
|
showChildren: shouldShowChildren,
|
|
88840
88847
|
children: children
|
|
88841
88848
|
})
|
|
@@ -88843,10 +88850,12 @@
|
|
|
88843
88850
|
});
|
|
88844
88851
|
}
|
|
88845
88852
|
OrientationDetection.defaultProps = {
|
|
88846
|
-
onOrientationChange: ()=>{}
|
|
88853
|
+
onOrientationChange: ()=>{},
|
|
88854
|
+
shouldUnmount: false
|
|
88847
88855
|
};
|
|
88848
88856
|
OrientationDetection.propTypes = {
|
|
88849
|
-
onOrientationChange: PropTypes.func
|
|
88857
|
+
onOrientationChange: PropTypes.func,
|
|
88858
|
+
shouldUnmount: PropTypes.bool
|
|
88850
88859
|
};
|
|
88851
88860
|
|
|
88852
88861
|
const useEkycSession = ()=>{
|
|
@@ -115490,11 +115499,13 @@
|
|
|
115490
115499
|
}));
|
|
115491
115500
|
function ReadIDCardUIOnly(props) {
|
|
115492
115501
|
const { steps = defaultTCBReadIDCardSteps } = props;
|
|
115493
|
-
|
|
115494
|
-
|
|
115495
|
-
|
|
115496
|
-
|
|
115497
|
-
|
|
115502
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetection, {
|
|
115503
|
+
shouldUnmount: true,
|
|
115504
|
+
children: /*#__PURE__*/ jsxRuntimeExports.jsx(ReadIDCardUIOnly$2, {
|
|
115505
|
+
...props,
|
|
115506
|
+
uiOnlyComponent: ReadIDCardUIOnly$1,
|
|
115507
|
+
steps: steps
|
|
115508
|
+
})
|
|
115498
115509
|
});
|
|
115499
115510
|
}
|
|
115500
115511
|
|
|
@@ -116234,7 +116245,7 @@
|
|
|
116234
116245
|
display: ${f0.getTheme('closeButton.display')};
|
|
116235
116246
|
`;
|
|
116236
116247
|
|
|
116237
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.tcli/0.0.0-beta.
|
|
116248
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.tcli/0.0.0-beta.20260102-114208/assets";
|
|
116238
116249
|
class TVWebSDK extends gU {
|
|
116239
116250
|
constructor(props){
|
|
116240
116251
|
super({
|