@adyen/kyc-components 3.80.0-beta.0 → 3.80.0

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 (75) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-DBSkKRHS.js → AcceptTermsOfServiceComponent-DKDi6iRX.js} +5 -5
  2. package/dist/{AccountSetupRejected-gAGWuJ9N.js → AccountSetupRejected-P-8-WKZp.js} +2 -2
  3. package/dist/{Avatar-5RObc8Yd.js → Avatar-Bsc58neS.js} +1 -1
  4. package/dist/{BusinessDetailsDropin-O92NE-y1.js → BusinessDetailsDropin-CL-7UQcT.js} +7 -7
  5. package/dist/{BusinessFinancingComponent-DDKomenp.js → BusinessFinancingComponent-D1XrIsPc.js} +2 -2
  6. package/dist/{BusinessFinancingDropin-Bhg9neRS.js → BusinessFinancingDropin-DQ56QSPj.js} +8 -8
  7. package/dist/{BusinessFinancingPage-DyItV5SR.js → BusinessFinancingPage-B6M7ESoA.js} +2 -2
  8. package/dist/{BusinessTypeSelectionPage-DmjbM57I.js → BusinessTypeSelectionPage-CFignJ19.js} +4 -4
  9. package/dist/{ContractViewer-DBW5C6kA.js → ContractViewer-DiT_8GRM.js} +1 -1
  10. package/dist/{CreateIndividualComponent-c8yAn2_J.js → CreateIndividualComponent-DkX98cSx.js} +2 -2
  11. package/dist/{CreateTransferInstrumentComponent-BF-KFdjU.js → CreateTransferInstrumentComponent-SaPgQY2J.js} +1 -1
  12. package/dist/{CustomerSupport-rSYElbVr.js → CustomerSupport-XD8NZGtZ.js} +5 -5
  13. package/dist/{DebugModal-BTr0idCC.js → DebugModal-Dx55VMz1.js} +4 -4
  14. package/dist/{DecisionMakerDetailsPage-DQcWSwTb.js → DecisionMakerDetailsPage-3fUQSm8D.js} +2 -2
  15. package/dist/{DecisionMakers-C2awPhE6.js → DecisionMakers-DHeZux6T.js} +6 -6
  16. package/dist/{EmbeddedStatus-COKtxNW-.js → EmbeddedStatus-BXBTxeW1.js} +2 -2
  17. package/dist/{FormEndState-BmDRa3zJ.js → FormEndState-D_8_v1NU.js} +1 -1
  18. package/dist/{FormFlow-CNxGh4Yu.js → FormFlow-Urrg9vMm.js} +2 -2
  19. package/dist/{IndividualOnfidoDropin-DUzjucM9.js → IndividualOnfidoDropin-VYVSjf_C.js} +46 -24
  20. package/dist/{Introduction-BEM_wmkj.js → Introduction-DZCNLnIC.js} +2 -2
  21. package/dist/{LandingLayout-DyY0Exht.js → LandingLayout-CddoBOJ4.js} +1 -1
  22. package/dist/{LegalRepresentativeDetailsPage-1tw_BPLr.js → LegalRepresentativeDetailsPage-zEJCKboy.js} +2 -2
  23. package/dist/{ManageIndividualComponent-B0y8wd24.js → ManageIndividualComponent-BPI2aesr.js} +3 -3
  24. package/dist/{ManageTermsOfServiceComponent-DJVDf-iH.js → ManageTermsOfServiceComponent-BzkhmJMD.js} +3 -3
  25. package/dist/{ManageTransferInstrumentComponent-DF4Q8oEB.js → ManageTransferInstrumentComponent-nlmjHqMN.js} +3 -3
  26. package/dist/{OnboardingDropinComponent-B0Sj7qf1.js → OnboardingDropinComponent-DkkC-O2y.js} +31 -31
  27. package/dist/{Review-C4HOjR6y.js → Review-CrcnPOYr.js} +2 -2
  28. package/dist/{RootBusinessDetailsPage-DeqKfOFX.js → RootBusinessDetailsPage-DHv2mk_-.js} +7 -7
  29. package/dist/{RootIndividualDetailsPage-CKOquQ0-.js → RootIndividualDetailsPage-D6AiPFI0.js} +2 -2
  30. package/dist/{SignPCIComponent-Cx8oL8wu.js → SignPCIComponent-B3UDh5F8.js} +4 -4
  31. package/dist/{SingpassSelection-BJNZw1u-.js → SingpassSelection-DDoYQM_e.js} +1 -1
  32. package/dist/{SoleProprietorshipPage-Dtw3XHVJ.js → SoleProprietorshipPage-CKWYdVS_.js} +2 -2
  33. package/dist/{SourceOfFundsPage-gPmK4QX6.js → SourceOfFundsPage-D0kJCtH3.js} +11 -11
  34. package/dist/{StoreProvider-DhQ4sdLg.js → StoreProvider-nqVR_kWS.js} +172 -171
  35. package/dist/{TaskItemStatus-Cxcag2AH.js → TaskItemStatus-o-rpFU9k.js} +2 -2
  36. package/dist/{TaskStatusIndicator-B5fp8LzR.js → TaskStatusIndicator-6bpYVt4Z.js} +1 -1
  37. package/dist/{TaxReportingDropin-CbDYoO31.js → TaxReportingDropin-wcsNHxqr.js} +8 -8
  38. package/dist/{TileGroup-BkLtnLiA.js → TileGroup-BrD32_Y0.js} +2 -2
  39. package/dist/{TrustDetailsPage-DktRQRum.js → TrustDetailsPage-DBoP1d57.js} +5 -5
  40. package/dist/{TrustMemberCompanyPage-CLTOpWzU.js → TrustMemberCompanyPage-CH47pq1l.js} +3 -3
  41. package/dist/{TrustMemberIndividualPage-wPh86-GQ.js → TrustMemberIndividualPage-g6tCyoZp.js} +2 -2
  42. package/dist/{UnincorporatedPartnershipIndividualPage-B-2i68Nd.js → UnincorporatedPartnershipIndividualPage-BANlV7bn.js} +2 -2
  43. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DWLczj6F.js → UnincorporatedPartnershipMemberCompanyPage-BSrxjjH_.js} +2 -2
  44. package/dist/{VerificationErrorAlert-AbvM4lbK.js → VerificationErrorAlert-w9MIQ2hH.js} +1 -1
  45. package/dist/{ViewVerificationStatusComponent-vVZeXYDs.js → ViewVerificationStatusComponent-DAx2BfA6.js} +2 -2
  46. package/dist/adyen-business-financing.js +2 -2
  47. package/dist/adyen-individual.js +2 -2
  48. package/dist/adyen-kyc-components.js +14 -14
  49. package/dist/adyen-manage-individual.js +2 -2
  50. package/dist/adyen-manage-terms-of-service.js +2 -2
  51. package/dist/adyen-manage-transfer-instruments.js +2 -2
  52. package/dist/adyen-onboarding.js +2 -2
  53. package/dist/adyen-terms-of-service.js +2 -2
  54. package/dist/adyen-transfer-instrument.js +2 -2
  55. package/dist/adyen-verification-status.js +2 -2
  56. package/dist/{getFieldsWithExistingData-BS9W6RQp.js → getFieldsWithExistingData-D1vVVeaf.js} +2 -2
  57. package/dist/{hasDataChanged-DK74H0sZ.js → hasDataChanged-DIVMD4Rh.js} +1 -1
  58. package/dist/{localizeDateString-C34eXZqY.js → localizeDateString-DLWgJuND.js} +1 -1
  59. package/dist/{mapFinancialReportsToFinancialInformation-DoJu-RRw.js → mapFinancialReportsToFinancialInformation-anU-0sl0.js} +2 -2
  60. package/dist/{resolveEnvironment-rJv_NJF_.js → resolveEnvironment-BOHs0YoH.js} +3 -3
  61. package/dist/{rules-OP83mdq4.js → rules-DF6nIpnn.js} +1 -1
  62. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -1
  63. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +1 -1
  64. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +2 -0
  65. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +2 -1
  66. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -2
  67. package/dist/types/components/Individual/helpers/isDecisionMakerTask.d.ts +2 -0
  68. package/dist/{useMultiForm-ChxUZ4e7.js → useMultiForm-CD30RFXS.js} +2 -2
  69. package/dist/{useOnboardingStatus-1BQlEPEi.js → useOnboardingStatus-_s90wk5C.js} +1 -1
  70. package/dist/{useTermsOfServiceStatus-BaVCmUdo.js → useTermsOfServiceStatus-DCkVaRvN.js} +1 -1
  71. package/dist/{useUpdateLegalEntity-LE_Kt3am.js → useUpdateLegalEntity-xfJlMkrb.js} +1 -1
  72. package/dist/{utils-DmcbDJEd.js → utils-CusOxwr8.js} +4 -4
  73. package/dist/{validate-D66zPhDG.js → validate-C3WaahoD.js} +2 -2
  74. package/dist/{validate-B2VmmEPC.js → validate-Dnz1cwsS.js} +2 -2
  75. package/package.json +1 -1
@@ -2,24 +2,24 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e9b4f4a4-7bf0-4df0-97c8-842a379543bf", e._sentryDebugIdIdentifier = "sentry-dbid-e9b4f4a4-7bf0-4df0-97c8-842a379543bf");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5b339c66-b41e-4d0e-b406-c361135a0afa", e._sentryDebugIdIdentifier = "sentry-dbid-5b339c66-b41e-4d0e-b406-c361135a0afa");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { u as useI18nContext, a as useApiContext, l as listify, i as isUndefinedOrNull, b as useAllowedCountries, c as useTranslation, d as useLegalEntity, R as ROOT_LE, e as useDataset, f as datasetIdentifier, L as Loader, g as getLegalEntityCountry, A as AlertIcon, F as FormHeader, h as uuidv4, S as SettingsProvider, Q as QueryClientProvider, j as ApiProvider, E as ExperimentsContextProvider, k as StoreProvider, m as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, n as StateProvider, o as normalizeEnvironment, p as FALLBACK_LOCALE, s as setSdkToken, q as setSdkTokenHandler } from "./StoreProvider-DhQ4sdLg.js";
11
- import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DBSkKRHS.js";
12
- import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-DDKomenp.js";
13
- import { C as CreateIndividualComponent } from "./CreateIndividualComponent-c8yAn2_J.js";
14
- import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-BF-KFdjU.js";
15
- import { M as ManageIndividualComponent } from "./ManageIndividualComponent-B0y8wd24.js";
10
+ import { u as useI18nContext, a as useApiContext, l as listify, i as isUndefinedOrNull, b as useAllowedCountries, c as useTranslation, d as useLegalEntity, R as ROOT_LE, e as useDataset, f as datasetIdentifier, L as Loader, g as getLegalEntityCountry, A as AlertIcon, F as FormHeader, h as uuidv4, S as SettingsProvider, Q as QueryClientProvider, j as ApiProvider, E as ExperimentsContextProvider, k as StoreProvider, m as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, n as StateProvider, o as normalizeEnvironment, p as FALLBACK_LOCALE, s as setSdkToken, q as setSdkTokenHandler } from "./StoreProvider-nqVR_kWS.js";
11
+ import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DKDi6iRX.js";
12
+ import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-D1XrIsPc.js";
13
+ import { C as CreateIndividualComponent } from "./CreateIndividualComponent-DkX98cSx.js";
14
+ import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-SaPgQY2J.js";
15
+ import { M as ManageIndividualComponent } from "./ManageIndividualComponent-BPI2aesr.js";
16
16
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
17
- import { u as useSalesChannelsSettings, a as usePciStatus, O as OnboardingDropinComponent, D as DropinLayout } from "./OnboardingDropinComponent-B0Sj7qf1.js";
18
- import { E as EmbeddedStatus } from "./EmbeddedStatus-COKtxNW-.js";
19
- import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-DJVDf-iH.js";
20
- import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-DF4Q8oEB.js";
21
- import { SignPCIComponent } from "./SignPCIComponent-Cx8oL8wu.js";
22
- import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-vVZeXYDs.js";
17
+ import { u as useSalesChannelsSettings, a as usePciStatus, O as OnboardingDropinComponent, D as DropinLayout } from "./OnboardingDropinComponent-DkkC-O2y.js";
18
+ import { E as EmbeddedStatus } from "./EmbeddedStatus-BXBTxeW1.js";
19
+ import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-BzkhmJMD.js";
20
+ import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-nlmjHqMN.js";
21
+ import { SignPCIComponent } from "./SignPCIComponent-B3UDh5F8.js";
22
+ import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-DAx2BfA6.js";
23
23
  import { render } from "preact";
24
24
  function ManagePCIComponent({ legalEntityId, onClick }) {
25
25
  const { i18n } = useI18nContext();
@@ -366,7 +366,7 @@ class UIElement extends BaseElement {
366
366
  experiments: this.props.experiments,
367
367
  refreshExperiments: this.props.refreshExperiments,
368
368
  children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
369
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.80.0-beta.0" }),
369
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.80.0" }),
370
370
  /* @__PURE__ */ jsx(
371
371
  AnalyticsProvider,
372
372
  {
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
13
- import { M as ManageIndividualComponent } from "./ManageIndividualComponent-B0y8wd24.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BOHs0YoH.js";
13
+ import { M as ManageIndividualComponent } from "./ManageIndividualComponent-BPI2aesr.js";
14
14
  const AdyenManageIndividual = ({
15
15
  rootlegalentityid,
16
16
  onClick,
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
13
- import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-DJVDf-iH.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BOHs0YoH.js";
13
+ import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-BzkhmJMD.js";
14
14
  const AdyenManageTermsOfService = ({
15
15
  rootlegalentityid,
16
16
  fetchToken,
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
13
- import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-DF4Q8oEB.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BOHs0YoH.js";
13
+ import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-nlmjHqMN.js";
14
14
  const AdyenManageTransferInstruments = ({
15
15
  rootlegalentityid,
16
16
  fetchToken,
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
13
- import { O as OnboardingDropinComponent } from "./OnboardingDropinComponent-B0Sj7qf1.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BOHs0YoH.js";
13
+ import { O as OnboardingDropinComponent } from "./OnboardingDropinComponent-DkkC-O2y.js";
14
14
  const AdyenOnboarding = ({
15
15
  rootlegalentityid,
16
16
  fetchToken,
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
13
- import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DBSkKRHS.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BOHs0YoH.js";
13
+ import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DKDi6iRX.js";
14
14
  const AdyenTermsOfService = ({
15
15
  rootlegalentityid,
16
16
  fetchToken,
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
13
- import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-BF-KFdjU.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BOHs0YoH.js";
13
+ import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-SaPgQY2J.js";
14
14
  const AdyenTransferInstrument = ({
15
15
  rootlegalentityid,
16
16
  fetchToken,
@@ -9,8 +9,8 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import register from "preact-custom-element";
12
- import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-rJv_NJF_.js";
13
- import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-vVZeXYDs.js";
12
+ import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-BOHs0YoH.js";
13
+ import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-DAx2BfA6.js";
14
14
  const AdyenVerificationStatus = ({
15
15
  rootlegalentityid,
16
16
  fetchToken,
@@ -2,12 +2,12 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b8f11084-35d9-4637-9855-2f0ee99430a1", e._sentryDebugIdIdentifier = "sentry-dbid-b8f11084-35d9-4637-9855-2f0ee99430a1");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c56e84e0-e52a-433a-aa9d-84a9033c06d8", e._sentryDebugIdIdentifier = "sentry-dbid-c56e84e0-e52a-433a-aa9d-84a9033c06d8");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { dJ as getNestedPropertyKeys } from "./StoreProvider-DhQ4sdLg.js";
10
+ import { dK as getNestedPropertyKeys } from "./StoreProvider-nqVR_kWS.js";
11
11
  const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
12
12
  const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
13
13
  const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { bm as entriesOf, b3 as objectsDeepEqual } from "./StoreProvider-DhQ4sdLg.js";
10
+ import { bm as entriesOf, b3 as objectsDeepEqual } from "./StoreProvider-nqVR_kWS.js";
11
11
  const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
12
12
  if (typeof value === "object") {
13
13
  return !objectsDeepEqual(value, initialData?.[key]);
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { a0 as createLogger } from "./StoreProvider-DhQ4sdLg.js";
10
+ import { a0 as createLogger } from "./StoreProvider-nqVR_kWS.js";
11
11
  const localizeDateString = (dateString, locale, options) => {
12
12
  const logger = createLogger();
13
13
  const formatOptions = {
@@ -2,12 +2,12 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9cf66bae-4d7c-46d6-81ba-0a1a8c9bb527", e._sentryDebugIdIdentifier = "sentry-dbid-9cf66bae-4d7c-46d6-81ba-0a1a8c9bb527");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "90c1640c-78e6-4634-b181-c346eb2509e0", e._sentryDebugIdIdentifier = "sentry-dbid-90c1640c-78e6-4634-b181-c346eb2509e0");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { dK as isDateOlderThanAYear, co as drop } from "./StoreProvider-DhQ4sdLg.js";
10
+ import { dL as isDateOlderThanAYear, co as drop } from "./StoreProvider-nqVR_kWS.js";
11
11
  const mapFinancialInformationToFinancialReport = ({
12
12
  currency,
13
13
  financialReportingDate,
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a99e7505-5dbe-4be6-b38d-e2b3f5efa126", e._sentryDebugIdIdentifier = "sentry-dbid-a99e7505-5dbe-4be6-b38d-e2b3f5efa126");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "86f9ca9d-7e5d-4cb7-910d-e0de35b3fef4", e._sentryDebugIdIdentifier = "sentry-dbid-86f9ca9d-7e5d-4cb7-910d-e0de35b3fef4");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { bs as refreshSession, G as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, j as ApiProvider, E as ExperimentsContextProvider, k as StoreProvider, m as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, n as StateProvider, q as setSdkTokenHandler, o as normalizeEnvironment } from "./StoreProvider-DhQ4sdLg.js";
11
+ import { bs as refreshSession, G as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, j as ApiProvider, E as ExperimentsContextProvider, k as StoreProvider, m as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, n as StateProvider, q as setSdkTokenHandler, o as normalizeEnvironment } from "./StoreProvider-nqVR_kWS.js";
12
12
  import { useState, useEffect } from "preact/hooks";
13
13
  const sheet = new CSSStyleSheet();
14
14
  const stylesheets = [sheet];
@@ -56,7 +56,7 @@ const EmbedShell = ({
56
56
  experiments,
57
57
  refreshExperiments,
58
58
  children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
59
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.80.0-beta.0" }),
59
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.80.0" }),
60
60
  /* @__PURE__ */ jsx(
61
61
  AnalyticsProvider,
62
62
  {
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { cR as createFormRules, as as CountryCodes, cT as allowedCountriesForNominee, cQ as DecisionMakerTypes, bL as getAddressSchemaForCountry, bM as COUNTRIES_WITH_STATES_DATASET, $ as TaskTypes, cj as getLocalizedIdDocumentTypeOptions, cU as Scenarios } from "./StoreProvider-DhQ4sdLg.js";
10
+ import { cR as createFormRules, as as CountryCodes, cT as allowedCountriesForNominee, cQ as DecisionMakerTypes, bL as getAddressSchemaForCountry, bM as COUNTRIES_WITH_STATES_DATASET, $ as TaskTypes, cj as getLocalizedIdDocumentTypeOptions, cU as Scenarios } from "./StoreProvider-nqVR_kWS.js";
11
11
  const REQUIRED = "REQUIRED";
12
12
  const OPTIONAL = "OPTIONAL";
13
13
  const SOLE_PROP_COUNTRIES = [
@@ -15,7 +15,7 @@ export interface AdditionalPersonalDetailsSchema extends AddressSchema, Identity
15
15
  }
16
16
  export interface AdditionalPersonalDetailsProps extends BaseInnerFormProps<AdditionalPersonalDetailsSchema> {
17
17
  country: CountryCode;
18
- taskType?: TaskType;
18
+ taskType: TaskType;
19
19
  onResidencyCountryChange?(country: string): void;
20
20
  }
21
21
  export interface IdentityProps {
@@ -14,7 +14,7 @@ export interface BasicDetailsSchema extends NameSchema, JaHaniNameSchema, JaKana
14
14
  }
15
15
  export interface BasicDetailsProps extends BaseInnerFormProps<BasicDetailsSchema> {
16
16
  country: CountryCode;
17
- taskType?: TaskType;
17
+ taskType: TaskType;
18
18
  allowedRoles?: DecisionMakerType[];
19
19
  onResidencyCountryChange?(country: string): void;
20
20
  parentLegalEntity?: ExistingLegalEntity;
@@ -1,4 +1,5 @@
1
1
  import type { BaseInnerFormProps } from '../../../../../hooks/useForm/types';
2
+ import type { TaskType } from '../../../../../stores/globalStore/taskTypes';
2
3
  import type { IdDocumentUploadSchema } from '../../Individual/IdDocumentUpload/types';
3
4
  export type IdVerificationMethodType = 'instantVerification' | 'manualVerification' | 'existingDocument';
4
5
  export interface IdVerificationMethodSchema {
@@ -7,6 +8,7 @@ export interface IdVerificationMethodSchema {
7
8
  }
8
9
  export interface IdVerificationMethodProps {
9
10
  legalEntityId?: string;
11
+ taskType: TaskType;
10
12
  handlers: {
11
13
  handleContinueToAdditionalDetails: () => void;
12
14
  handleDeleteDocument: () => void;
@@ -1,3 +1,4 @@
1
1
  import type { ProviderExtractionResponse } from '../../../../../api/idVerificationProviders/idVerificationProviders.types';
2
+ import type { CountryCode } from '../../../../../types/datasets/country-code';
2
3
  import type { IndividualOnfidoSchema } from '../IndividualOnfido.types';
3
- export declare const mapExtractionResultToSchema: (result: ProviderExtractionResponse) => IndividualOnfidoSchema;
4
+ export declare const mapExtractionResultToSchema: (result: ProviderExtractionResponse, restrictCountryOfResidenceTo?: CountryCode[]) => IndividualOnfidoSchema;
@@ -34,7 +34,7 @@ export interface IndividualOnfidoProps extends BaseOuterFormProps<IndividualOnfi
34
34
  defaultCountry: CountryCode;
35
35
  problems?: EntityProblems;
36
36
  legalEntityId?: string;
37
- taskType?: TaskType;
37
+ taskType: TaskType;
38
38
  allowedRoles?: DecisionMakerType[];
39
39
  parentLegalEntity?: ExistingLegalEntity;
40
40
  onNext?(): void;
@@ -45,7 +45,7 @@ export interface IndividualOnfidoProps extends BaseOuterFormProps<IndividualOnfi
45
45
  setNextHandler?: (fn: (() => void) | undefined) => void;
46
46
  handleHomeClick?(): void;
47
47
  }
48
- export interface IndividualOnfidoDropinProps extends Omit<IndividualOnfidoProps, 'legalEntityId' | 'accountHolder' | 'forms' | 'activeForm' | 'defaultCountry'>, DropinProps {
48
+ export interface IndividualOnfidoDropinProps extends Omit<IndividualOnfidoProps, 'legalEntityId' | 'accountHolder' | 'forms' | 'activeForm' | 'defaultCountry'>, Omit<DropinProps, 'taskType'> {
49
49
  taskName: 'individualDetails' | 'decisionMakerDetails' | 'legalRepresentativeDetails' | 'trustMemberDetails' | 'individualTrusteeDetails' | 'partnershipMemberDetails' | 'companyOwnerDetails';
50
50
  legalEntityResponse?: ExistingLegalEntity;
51
51
  trustMember?: TrustMember | UnincorporatedPartnershipMember;
@@ -0,0 +1,2 @@
1
+ import type { TaskType } from '../../../stores/globalStore/taskTypes';
2
+ export declare const isDecisionMakerTask: (taskType: TaskType) => taskType is "DECISION_MAKER" | "TRUST_MEMBER_COMPANY_OWNER" | "UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER";
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c7b127d9-5961-46c8-ab89-70ae7ee3791e", e._sentryDebugIdIdentifier = "sentry-dbid-c7b127d9-5961-46c8-ab89-70ae7ee3791e");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4f1f45d1-6d1a-47e1-912c-37d96d2e0eb5", e._sentryDebugIdIdentifier = "sentry-dbid-4f1f45d1-6d1a-47e1-912c-37d96d2e0eb5");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
11
- import { b3 as objectsDeepEqual, dF as ValidationResult, a0 as createLogger, dG as isNotEmptyValidator, at as isEmpty } from "./StoreProvider-DhQ4sdLg.js";
11
+ import { b3 as objectsDeepEqual, dG as ValidationResult, a0 as createLogger, dH as isNotEmptyValidator, at as isEmpty } from "./StoreProvider-nqVR_kWS.js";
12
12
  const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
13
13
  a[c] = obj[c];
14
14
  return a;
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { a as useApiContext, r as useQuery, x as httpGet } from "./StoreProvider-DhQ4sdLg.js";
10
+ import { a as useApiContext, r as useQuery, x as httpGet } from "./StoreProvider-nqVR_kWS.js";
11
11
  const getOnboardingStatus = async (legalEntityId, baseUrl) => {
12
12
  return httpGet({
13
13
  baseUrl,
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { a as useApiContext, r as useQuery, x as httpGet } from "./StoreProvider-DhQ4sdLg.js";
10
+ import { a as useApiContext, r as useQuery, x as httpGet } from "./StoreProvider-nqVR_kWS.js";
11
11
  const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
12
12
  return httpGet({
13
13
  baseUrl,
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { a as useApiContext, bp as useMutation, t as httpPost, bo as useInvalidateRootLegalEntity, br as useQueryClient } from "./StoreProvider-DhQ4sdLg.js";
10
+ import { a as useApiContext, bp as useMutation, t as httpPost, bo as useInvalidateRootLegalEntity, br as useQueryClient } from "./StoreProvider-nqVR_kWS.js";
11
11
  const createLegalEntity = async (legalEntityId, baseUrl, data) => {
12
12
  return httpPost(
13
13
  {
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "11bd1513-5821-4330-93a6-4e7ca0b03f1a", e._sentryDebugIdIdentifier = "sentry-dbid-11bd1513-5821-4330-93a6-4e7ca0b03f1a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "03d65537-fd8e-445a-aa9c-3c93e7ead20c", e._sentryDebugIdIdentifier = "sentry-dbid-03d65537-fd8e-445a-aa9c-3c93e7ead20c");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { g as getLegalEntityCountry, dQ as getCapabilities, O as LegalEntityTypes, V as hasOwnEntityAssociationOfType, Y as CompanyTypesValues, as as CountryCodes, dS as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./StoreProvider-DhQ4sdLg.js";
11
- import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-B0Sj7qf1.js";
12
- import { S as SOLE_PROP_COUNTRIES } from "./rules-OP83mdq4.js";
10
+ import { g as getLegalEntityCountry, dR as getCapabilities, O as LegalEntityTypes, V as hasOwnEntityAssociationOfType, Y as CompanyTypesValues, as as CountryCodes, dT as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./StoreProvider-nqVR_kWS.js";
11
+ import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-DkkC-O2y.js";
12
+ import { S as SOLE_PROP_COUNTRIES } from "./rules-DF6nIpnn.js";
13
13
  const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
14
14
  const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
15
15
  CountryCodes.UnitedStates,
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5af3d4a2-8a96-4bf6-a6a2-31c498a3c3e1", e._sentryDebugIdIdentifier = "sentry-dbid-5af3d4a2-8a96-4bf6-a6a2-31c498a3c3e1");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7400054e-9b0c-4801-9c3e-4ad2bac3783c", e._sentryDebugIdIdentifier = "sentry-dbid-7400054e-9b0c-4801-9c3e-4ad2bac3783c");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useCallback } from "preact/hooks";
11
- import { a as useApiContext, t as httpPost, dI as emailPattern } from "./StoreProvider-DhQ4sdLg.js";
11
+ import { a as useApiContext, t as httpPost, dJ as emailPattern } from "./StoreProvider-nqVR_kWS.js";
12
12
  const validatePhoneNumber = (baseUrl, data) => {
13
13
  return httpPost(
14
14
  {
@@ -2,12 +2,12 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ff59aaaf-f855-4446-a19f-afb08b8bff39", e._sentryDebugIdIdentifier = "sentry-dbid-ff59aaaf-f855-4446-a19f-afb08b8bff39");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "034023e0-32ef-4a1c-99e4-d423cd605a9e", e._sentryDebugIdIdentifier = "sentry-dbid-034023e0-32ef-4a1c-99e4-d423cd605a9e");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { dH as hasText } from "./StoreProvider-DhQ4sdLg.js";
10
+ import { dI as hasText } from "./StoreProvider-nqVR_kWS.js";
11
11
  const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
12
12
  if (!legalEntityIdentifier) {
13
13
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.80.0-beta.0",
3
+ "version": "3.80.0",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",