gbc-kyc-kit 2.3.15 → 2.3.16

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.
@@ -39048,7 +39048,8 @@ function BackButton({
39048
39048
  }) {
39049
39049
  return /* @__PURE__ */ jsx$1(Box$1, {
39050
39050
  className: "back-button-container",
39051
- children: /* @__PURE__ */ jsxs(Box$1, {
39051
+ children: /* @__PURE__ */ jsxs(MUIButton, {
39052
+ variant: "outlined",
39052
39053
  onClick: action,
39053
39054
  className: "back-button",
39054
39055
  children: [/* @__PURE__ */ jsx$1(ArrowBack, {
@@ -39459,6 +39460,8 @@ function UploadDocument2({
39459
39460
  title,
39460
39461
  subtitle
39461
39462
  }) {
39463
+ var _a;
39464
+ const nav = navigator;
39462
39465
  useEffect(() => {
39463
39466
  if (activateCamera && videoRef.current) {
39464
39467
  navigator.mediaDevices.getUserMedia({
@@ -39483,6 +39486,7 @@ function UploadDocument2({
39483
39486
  }
39484
39487
  };
39485
39488
  }, [activateCamera, videoConstraints]);
39489
+ (_a = nav.userAgentData) == null ? void 0 : _a.getHighEntropyValues(["model", "platform", "platformVersion", "architecture", "bitness", "fullVersionList"]).then((ua2) => console.log(ua2));
39486
39490
  return /* @__PURE__ */ jsx$1("div", {
39487
39491
  className: "drag-zone",
39488
39492
  children: /* @__PURE__ */ jsx$1(Box$1, {
@@ -40469,9 +40473,7 @@ function DocumentReader({
40469
40473
  id: "document-reader",
40470
40474
  children: /* @__PURE__ */ jsxs("div", {
40471
40475
  className: "sub",
40472
- children: [(source2 !== "secure_link" || validateErrorMessageOCR(message)) && showBackButton(status) && /* @__PURE__ */ jsx$1(BackButton, {
40473
- action: clearState
40474
- }), /* @__PURE__ */ jsxs("div", {
40476
+ children: [/* @__PURE__ */ jsxs("div", {
40475
40477
  className: "header-component",
40476
40478
  children: [/* @__PURE__ */ jsx$1("h4", {
40477
40479
  children: "Lectura del documento"
@@ -40496,6 +40498,10 @@ function DocumentReader({
40496
40498
  uploadDocumentByPhone,
40497
40499
  setUploadDocumentByPhone,
40498
40500
  onSendSubmitDocument
40501
+ }), (source2 !== "secure_link" || validateErrorMessageOCR(message)) && showBackButton(status) && /* @__PURE__ */ jsx$1(CustomButton, {
40502
+ type: "button",
40503
+ onClick: clearState,
40504
+ children: "Volver a intentar"
40499
40505
  })]
40500
40506
  })
40501
40507
  })]