@tesouro/embedded-components-react 0.5.33 → 0.5.34

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.
Files changed (22) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +17 -1
  3. package/dist/index.js +1 -1
  4. package/dist/lib/BankAccountOnboardingWidget.d.ts +17 -1
  5. package/dist/lib/BankAccountOnboardingWidget.js +1 -1
  6. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index.js +3 -1
  7. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index10.js +30 -0
  8. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index11.js +48 -0
  9. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +6 -0
  10. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index.js +1 -1
  11. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index14.js +1 -0
  12. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index15.js +9 -2
  13. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +96 -5
  14. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +5 -28
  15. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index18.js +26 -320
  16. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index19.js +7 -0
  17. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index20.js +387 -0
  18. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +27 -27
  19. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +162 -154
  20. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js +11 -11
  21. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  22. package/package.json +1 -1
@@ -8,23 +8,23 @@ import { withAuthEpoch as n } from "./withAuthEpoch.js";
8
8
  import { OnboardingSuppressionReason as r } from "./onboardingSuppressionReason.js";
9
9
  import { useQuery as i } from "@tanstack/react-query";
10
10
  //#region ../../libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useOrganizationOnboardingSuppression.js
11
- var a = "COMPLETE", o = "BANK_ACCOUNT", s = "STARTED_BY_OTHER", c = 2, l = 300;
12
- function u(e) {
11
+ var a = "COMPLETE", o = "BANK_ACCOUNT", s = "STARTED_BY_OTHER";
12
+ function c(e) {
13
13
  let t = e.filter((e) => e.product === o);
14
14
  return t.some((e) => e.status === a) ? r.OrganizationApplicationComplete : t.some((e) => e.ownership === s) ? r.OrganizationApplicationStartedByOther : null;
15
15
  }
16
- function d() {
17
- let { client: r, widgetToken: a, authEpoch: o } = e(), s = !!a, d = i({
16
+ function l() {
17
+ let { client: r, widgetToken: a, authEpoch: o } = e(), s = !!a, l = i({
18
18
  ...n(t({ client: r }), o),
19
19
  enabled: s,
20
- retry: c,
21
- retryDelay: l
22
- }), f = d.data ? u(d.data.applications) : null;
20
+ retry: 2,
21
+ retryDelay: 300
22
+ }), u = l.data ? c(l.data.applications) : null;
23
23
  return {
24
- isSuppressed: f !== null,
25
- reason: f,
26
- isResolved: !s || d.isSuccess || d.isError
24
+ isSuppressed: u !== null,
25
+ reason: u,
26
+ isResolved: !s || l.isSuccess || l.isError
27
27
  };
28
28
  }
29
29
  //#endregion
30
- export { d as useOrganizationOnboardingSuppression };
30
+ export { l as useOrganizationOnboardingSuppression };
@@ -1,5 +1,5 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.5.33", n = "d2bf1c463706f63126d1097ec1642e7596396066", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.5.34", n = "856b01025fd0ffad80d2f73a02d8646d5f1185a2", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.5.33",
3
+ "version": "0.5.34",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {