@tesouro/embedded-components-react 0.11.260 → 0.11.264

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.
@@ -4,10 +4,10 @@ import "../../../shared/data-access/dist/index.js";
4
4
  import { ApplicationClientSecretProvider as n, useApplicationClientSecret as r } from "./index3.js";
5
5
  import { useCreateApplication as i } from "./index5.js";
6
6
  import { useUpdateApplication as a } from "./index6.js";
7
- import { useSubmitApplication as o } from "./index7.js";
8
- import { useDeleteApplication as s } from "./index8.js";
9
- import { usePollApplicationCompletion as c } from "./index9.js";
10
- import { useResumableBankAccountApplication as l } from "./index11.js";
11
- import { useStartedBankAccountApplication as u } from "./index12.js";
12
- import { DEVICE_PROFILING_PATH as d, fetchDeviceProfiling as f } from "./index13.js";
13
- export { n as ApplicationClientSecretProvider, d as DEVICE_PROFILING_PATH, e as OnboardingSuppressionReason, f as fetchDeviceProfiling, r as useApplicationClientSecret, i as useCreateApplication, s as useDeleteApplication, t as useOrganizationOnboardingSuppression, c as usePollApplicationCompletion, l as useResumableBankAccountApplication, u as useStartedBankAccountApplication, o as useSubmitApplication, a as useUpdateApplication };
7
+ import { isKycDeviceDataSessionMismatch as o, useSubmitApplication as s } from "./index7.js";
8
+ import { useDeleteApplication as c } from "./index8.js";
9
+ import { usePollApplicationCompletion as l } from "./index9.js";
10
+ import { useResumableBankAccountApplication as u } from "./index11.js";
11
+ import { useStartedBankAccountApplication as d } from "./index12.js";
12
+ import { DEVICE_PROFILING_PATH as f, fetchDeviceProfiling as p } from "./index13.js";
13
+ export { n as ApplicationClientSecretProvider, f as DEVICE_PROFILING_PATH, e as OnboardingSuppressionReason, p as fetchDeviceProfiling, o as isKycDeviceDataSessionMismatch, r as useApplicationClientSecret, i as useCreateApplication, c as useDeleteApplication, t as useOrganizationOnboardingSuppression, l as usePollApplicationCompletion, u as useResumableBankAccountApplication, d as useStartedBankAccountApplication, s as useSubmitApplication, a as useUpdateApplication };
@@ -5,18 +5,23 @@
5
5
  import { submitApplicationMutation as e } from "../../../shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js";
6
6
  import { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
7
7
  import { optionalOrganizationHeaders as n } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
8
+ import { hasApiErrorCode as r } from "../../../shared/data-access/dist/lib/hasApiErrorCode.js";
8
9
  import "../../../shared/data-access/dist/index.js";
9
- import { refreshApplicationStatus as r } from "./index4.js";
10
- import { useMutation as i } from "@tanstack/react-query";
10
+ import { refreshApplicationStatus as i } from "./index4.js";
11
+ import { useMutation as a } from "@tanstack/react-query";
11
12
  // ../../libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index7.js
12
- function a() {
13
- let { client: a, organizationId: o } = t();
14
- return i({
13
+ function o() {
14
+ let { client: r, organizationId: o } = t();
15
+ return a({
15
16
  ...e({
16
- client: a,
17
+ client: r,
17
18
  headers: n(o)
18
19
  }),
19
- onSuccess: () => r(a)
20
+ onSuccess: () => i(r)
20
21
  });
21
22
  }
22
- export { a as useSubmitApplication };
23
+ var s = "KYC_DEVICE_DATA_SESSION_MISMATCH";
24
+ function c(e) {
25
+ return r(e, s);
26
+ }
27
+ export { c as isKycDeviceDataSessionMismatch, o as useSubmitApplication };