@adyen/kyc-components 3.90.2 → 3.90.4

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 (116) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-BRDCvIzn.js → AcceptTermsOfServiceComponent-B17t5BCA.js} +12 -12
  2. package/dist/{Accordion-DgySJGHZ.js → Accordion-BCcrZuL2.js} +1 -1
  3. package/dist/{AccountSetupRejected-BO1-TNW5.js → AccountSetupRejected-V7dLaQNT.js} +3 -3
  4. package/dist/{ActionBar-BC2y5nTw.js → ActionBar-CEa1zjru.js} +1 -1
  5. package/dist/{Address-BPnBjFEl.js → Address-Bs0l9ZTY.js} +7 -7
  6. package/dist/{Alert-en_LjFuh.js → Alert-Cnvm6bfz.js} +2 -2
  7. package/dist/{Avatar-DoksuvD1.js → Avatar-CrQWNQGD.js} +1 -1
  8. package/dist/{BusinessDetailsDropin-O5qkIiQz.js → BusinessDetailsDropin-1VFNpvcJ.js} +66 -41
  9. package/dist/{BusinessFinancingComponent-D6YSg4-6.js → BusinessFinancingComponent-EuOZh60M.js} +4 -4
  10. package/dist/{BusinessFinancingDropin-BndXzeB3.js → BusinessFinancingDropin-CR4rm1Ov.js} +21 -21
  11. package/dist/{BusinessFinancingPage-Cq4ucLJU.js → BusinessFinancingPage-BlqwoamH.js} +3 -3
  12. package/dist/{BusinessTypeSelectionPage-DnlUiT4r.js → BusinessTypeSelectionPage-DZJCvYBt.js} +7 -7
  13. package/dist/{Card-CLabf63j.js → Card-s1YG4q1X.js} +2 -2
  14. package/dist/{ConstitutionalDocument-CosVm_qv.js → ConstitutionalDocument-BD8ByNgB.js} +2 -2
  15. package/dist/{CountryField-BjnAAbBe.js → CountryField-BW4QEhHs.js} +5 -5
  16. package/dist/{CreateIndividualComponent-Diatv4oJ.js → CreateIndividualComponent-CgVaBJ4u.js} +4 -4
  17. package/dist/{CreateTransferInstrumentComponent-DjWnlvkE.js → CreateTransferInstrumentComponent-DIYl83UJ.js} +4 -4
  18. package/dist/{Currency-D3ElLnkS.js → Currency-68Bl_z3S.js} +4 -4
  19. package/dist/{CustomerSupport-CxlQhJ2U.js → CustomerSupport-Sqjiau7E.js} +10 -10
  20. package/dist/{DebugModal-7uGAe8Jl.js → DebugModal-tDJON4P0.js} +7 -7
  21. package/dist/{DecisionMakerDetailsPage-Bk-AwB9i.js → DecisionMakerDetailsPage-HGl_tiMV.js} +5 -5
  22. package/dist/{DecisionMakers-D0-L_qXz.js → DecisionMakers-C9p6LJaS.js} +20 -20
  23. package/dist/{EmbeddedStatus-DPKHd7Fv.js → EmbeddedStatus-B7P7DY4h.js} +2 -2
  24. package/dist/{EndStateLayout-CG0_BT-U.js → EndStateLayout-BpXBqAEG.js} +1 -1
  25. package/dist/{EntityAssociation-B9L11tYV.js → EntityAssociation-BmoAsD6v.js} +7 -7
  26. package/dist/{EntityGuidanceStatus-Bh2CQ06L.js → EntityGuidanceStatus-C0oC1eX_.js} +2 -2
  27. package/dist/{FormFlow-CrLp30sd.js → FormFlow-XMPZ9cxy.js} +8 -8
  28. package/dist/{FormNavigation-zCXsmyKt.js → FormNavigation-CDjVc8af.js} +3 -3
  29. package/dist/{FormWrapper-CEi4E2ad.js → FormWrapper-js0BJ7oG.js} +10 -10
  30. package/dist/{IndividualOnfido-DtdkIpGU.js → IndividualOnfido-CtmmJr5u.js} +22 -16
  31. package/dist/{IndividualOnfidoDropin-AEAjIJb3.js → IndividualOnfidoDropin-Bl4zDJDB.js} +33 -29
  32. package/dist/{InputText-DA7iQTzB.js → InputText-B_L99zfX.js} +2 -2
  33. package/dist/{Introduction-DZqwhdSR.js → Introduction-BE4KywkE.js} +3 -3
  34. package/dist/{JpAddress-Do3Z8j2i.js → JpAddress-DDZX2sfw.js} +7 -7
  35. package/dist/{LegalRepresentativeDetailsPage-B10Xuo2t.js → LegalRepresentativeDetailsPage-Bu6QGgUR.js} +3 -3
  36. package/dist/{ListItem-B0JwXrgM.js → ListItem-pvj8oCCi.js} +2 -2
  37. package/dist/{ManageIndividualComponent-D3oeRWbJ.js → ManageIndividualComponent-CVbJl6LU.js} +4 -4
  38. package/dist/{ManageTermsOfServiceComponent-BV6gM6iF.js → ManageTermsOfServiceComponent-WCSKbozQ.js} +4 -4
  39. package/dist/{ManageTransferInstrumentComponent--iqQ2fnQ.js → ManageTransferInstrumentComponent-DOsRR2na.js} +11 -11
  40. package/dist/{MaybeModal-BIVzIfaN.js → MaybeModal-Dg8HvHF7.js} +2 -2
  41. package/dist/{Modal-ahLC-iIq.js → Modal-ChqGs371.js} +1 -1
  42. package/dist/{OnboardingDropinComponent-DOeXNOhc.js → OnboardingDropinComponent-C41CWVbw.js} +51 -51
  43. package/dist/{PayoutDetailsDropin-DsORebKm.js → PayoutDetailsDropin-CiEuLXsa.js} +34 -35
  44. package/dist/{Review-DzsqbXII.js → Review-CjyX9m6L.js} +7 -7
  45. package/dist/{RootBusinessDetailsPage-xQWlJXtm.js → RootBusinessDetailsPage-Bx2XrIVU.js} +4 -4
  46. package/dist/{RootBusinessLinesPage-BFpSfBV1.js → RootBusinessLinesPage-DM1kToBL.js} +23 -23
  47. package/dist/{RootIndividualDetailsPage-BMINFE5Q.js → RootIndividualDetailsPage-BgufnatE.js} +5 -5
  48. package/dist/{SignPCIComponent-DYvxjp5L.js → SignPCIComponent-Bmvz3cmD.js} +9 -9
  49. package/dist/{SingpassSelection-KO5wPj_K.js → SingpassSelection-Dq7Pspaf.js} +3 -3
  50. package/dist/{SoleProprietorshipPage-C0rrVn7z.js → SoleProprietorshipPage-DgT2Tzxa.js} +3 -3
  51. package/dist/{SourceOfFundsPage-B5-wlPpl.js → SourceOfFundsPage-DpSpNyAp.js} +24 -24
  52. package/dist/{Spacer-Ch-0l8D-.js → Spacer-CSlBptsF.js} +8 -8
  53. package/dist/{StepProgressIndicator-BoX3RnZU.js → StepProgressIndicator-C4WaeMGi.js} +1 -1
  54. package/dist/{StoreProvider-CI36KtEJ.js → StoreProvider-DpsSE6TR.js} +4 -4
  55. package/dist/{Summary-BEsXV_pZ.js → Summary-g0edZ47j.js} +4 -4
  56. package/dist/{TaxReportingDropin-DgGeTRwA.js → TaxReportingDropin-BIsPmO9f.js} +15 -15
  57. package/dist/{TrustDetailsPage-BpAZnxfl.js → TrustDetailsPage-X91g5efB.js} +26 -26
  58. package/dist/{TrustMemberCompanyPage-D_kvCPC1.js → TrustMemberCompanyPage-BkBeR0tE.js} +4 -4
  59. package/dist/{TrustMemberIndividualPage-D1YvkZy9.js → TrustMemberIndividualPage-D1-HIsEs.js} +3 -3
  60. package/dist/{TrustMemberRoleAndTypePage-jZgnVSum.js → TrustMemberRoleAndTypePage-hbfhWC9j.js} +14 -14
  61. package/dist/{TrustMembersOverview-CjRt2Fh7.js → TrustMembersOverview-B7Ni_LCM.js} +12 -12
  62. package/dist/{UnincorporatedPartnershipIndividualPage-BbQHUCcB.js → UnincorporatedPartnershipIndividualPage-BTMdfbO4.js} +3 -3
  63. package/dist/{UnincorporatedPartnershipMemberCompanyPage-BpwGlX28.js → UnincorporatedPartnershipMemberCompanyPage-DDhfg_7Y.js} +5 -5
  64. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DtmrXHK3.js → UnincorporatedPartnershipMemberRoleAndTypePage-BgLa_2z_.js} +9 -9
  65. package/dist/{UnincorporatedPartnershipMembersOverview-D_iaH1UU.js → UnincorporatedPartnershipMembersOverview-DodKeyw9.js} +9 -9
  66. package/dist/{VerificationErrorAlert-B5qMemGE.js → VerificationErrorAlert-DEKvOF2E.js} +3 -3
  67. package/dist/{ViewVerificationStatusComponent-PzJ16g_N.js → ViewVerificationStatusComponent-Cxt1--nJ.js} +3 -3
  68. package/dist/adyen-business-financing.js +2 -2
  69. package/dist/adyen-individual-configuration.js +2 -2
  70. package/dist/adyen-individual-status.js +2 -2
  71. package/dist/adyen-kyc-components.js +20 -20
  72. package/dist/adyen-onboarding.js +2 -2
  73. package/dist/adyen-terms-of-service-management.js +2 -2
  74. package/dist/adyen-terms-of-service-status.js +2 -2
  75. package/dist/adyen-transfer-instrument-configuration.js +2 -2
  76. package/dist/adyen-transfer-instrument-management.js +2 -2
  77. package/dist/adyen-verification-status.js +2 -2
  78. package/dist/{debouncedInputEvent-djJun_EE.js → debouncedInputEvent-CTK4lEPP.js} +1 -1
  79. package/dist/{documentUtils-CGvnVtmC.js → documentUtils-DVG9_DW_.js} +58 -7
  80. package/dist/{dropinUtils-QyD_Awxv.js → dropinUtils-D8e8rlzN.js} +4 -4
  81. package/dist/{getFieldsWithExistingData-DDAOO3v3.js → getFieldsWithExistingData-DFwzRvas.js} +1 -1
  82. package/dist/{getName-D-8pt9JC.js → getName-CxGkgHuQ.js} +1 -1
  83. package/dist/{hasDataChanged-BuXRlPli.js → hasDataChanged-8bDgRZI0.js} +1 -1
  84. package/dist/{iframeWidget-Cum-fVPX.js → iframeWidget-KTzj_8N6.js} +3 -3
  85. package/dist/{localizeDateString-BmC7pUDO.js → localizeDateString-CGoYESCO.js} +1 -1
  86. package/dist/{mapExistingFile-CgstRs83.js → mapExistingFile-C1hIRsVo.js} +2 -2
  87. package/dist/{mapFinancialReportsToFinancialInformation-Cq2RWP3q.js → mapFinancialReportsToFinancialInformation-CO7nPjS0.js} +2 -2
  88. package/dist/{mapJpAddressSchemaToAddressLocalizations-BXb9w8Ji.js → mapJpAddressSchemaToAddressLocalizations-go7-el9Y.js} +2 -2
  89. package/dist/{mapLegalEntityToIndividualOnfidoSchema-t7eCaIZy.js → mapLegalEntityToIndividualOnfidoSchema-hKXvGZZd.js} +2 -2
  90. package/dist/{mapTransferInstrumentToPayoutAccount-C3RQNfKN.js → mapTransferInstrumentToPayoutAccount-DNYHLDJv.js} +1 -1
  91. package/dist/{process-field-configurations-RsOjqGgr.js → process-field-configurations-CiIn1l2T.js} +2 -2
  92. package/dist/{resolveEnvironment-Cm7ZMg8e.js → resolveEnvironment-DBfff2gR.js} +3 -3
  93. package/dist/{rules-DNLl28n7.js → rules-B0wJ_pDl.js} +4 -4
  94. package/dist/types/utils/api/documentUtils.d.ts +6 -0
  95. package/dist/{types-BjulUQZs.js → types-CPhq7NNF.js} +1 -1
  96. package/dist/{types-Cls8Ws4X.js → types-DcVQ_GXQ.js} +1 -1
  97. package/dist/{types-CuUpLShI.js → types-Dobo54VB.js} +1 -1
  98. package/dist/{useAssociatedLegalEntity-C0fauMUw.js → useAssociatedLegalEntity-BNywHQfJ.js} +1 -1
  99. package/dist/{useCreateLegalEntity-duHIB7zw.js → useCreateLegalEntity-Dl1f39AE.js} +1 -1
  100. package/dist/{useDataset-BUt1-zBQ.js → useDataset-C19JgxC1.js} +3 -3
  101. package/dist/{useForm-CxUeSVAa.js → useForm-jCHWIXF6.js} +4 -4
  102. package/dist/{useGlobalData-lCbx7YAq.js → useGlobalData-B0eLbWPW.js} +2 -2
  103. package/dist/{useMultiForm-Dg7W-Bbk.js → useMultiForm-BcfzYD8U.js} +3 -3
  104. package/dist/{useOnboardingStatus-BZHodnkY.js → useOnboardingStatus-D6dpmpXo.js} +1 -1
  105. package/dist/{useScenarios-Czw7RUBe.js → useScenarios-DhJuHNgT.js} +1 -1
  106. package/dist/{useTermsOfServiceStatus-D2XZXVTR.js → useTermsOfServiceStatus-EEC3G4AX.js} +1 -1
  107. package/dist/{useToastContext-dTryNVgP.js → useToastContext-Crc9MLWD.js} +1 -1
  108. package/dist/{useUnincorporatedPartnershipMembers-Dwyohm2U.js → useUnincorporatedPartnershipMembers-0pFHjLbs.js} +4 -4
  109. package/dist/{useUpdateBusinessLines-mzkw8oIH.js → useUpdateBusinessLines-DzwHq3qJ.js} +1 -1
  110. package/dist/{useUpdateLegalEntity-BEkfsrTr.js → useUpdateLegalEntity-DerEULN2.js} +2 -2
  111. package/dist/{utils-D8GWOzfm.js → utils-72OTwHTu.js} +5 -5
  112. package/dist/{utils-BBehVjLE.js → utils-C_VXx2ML.js} +3 -3
  113. package/dist/{validate-t_OcU_1l.js → validate-CwtpSRYZ.js} +2 -2
  114. package/dist/{validate-DG9_xxX7.js → validate-DLD64PuI.js} +1 -1
  115. package/dist/{validationError-B4HrkugZ.js → validationError-DabRJkHc.js} +1 -1
  116. package/package.json +1 -1
@@ -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] = "a895bbe2-a6bd-42fd-8bda-38bc7e6bdf21", e._sentryDebugIdIdentifier = "sentry-dbid-a895bbe2-a6bd-42fd-8bda-38bc7e6bdf21");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "69d2fc2d-f3a2-447d-9d20-244be71a9f6d", e._sentryDebugIdIdentifier = "sentry-dbid-69d2fc2d-f3a2-447d-9d20-244be71a9f6d");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { k as httpPost, aN as httpDelete, m as httpGet, P as createLogger } from "./StoreProvider-CI36KtEJ.js";
11
- import { w as getLocalizedIdDocumentTypeOptions, A as isNewlyUploadedFile } from "./Spacer-Ch-0l8D-.js";
10
+ import { k as httpPost, aN as httpDelete, m as httpGet, P as createLogger } from "./StoreProvider-DpsSE6TR.js";
11
+ import { w as getLocalizedIdDocumentTypeOptions, A as isNewlyUploadedFile } from "./Spacer-CSlBptsF.js";
12
12
  const createDocument = async (context, document, ownerId) => {
13
13
  const { baseUrl, rootLegalEntityId } = context;
14
14
  return httpPost(
@@ -95,17 +95,48 @@ const fetchDocument = async (documentDetail) => {
95
95
  const deleteDocument = async (documentId) => deleteDocumentService(documentId);
96
96
  const uploadDocuments = async (documents, entityId) => {
97
97
  const uploadPromises = [];
98
+ const existingProofOfOwnershipAttachments = [];
98
99
  documents.forEach((document) => {
99
100
  const existingDocument = getDocument(entityId, document.type);
100
- if (existingDocument) {
101
- if (hasDocumentChanged(document, entityId)) {
101
+ if (document.type === "proofOfOwnership" && document.attachments) {
102
+ const existingAttachments = document.attachments.filter((att) => !att.content);
103
+ const newAttachments = document.attachments.filter((att) => att.content);
104
+ document.attachments = newAttachments;
105
+ existingProofOfOwnershipAttachments.push(...existingAttachments);
106
+ }
107
+ if (hasDocumentChanged(document, entityId) || document.type === "proofOfOwnership" && document.attachments?.length) {
108
+ if (existingDocument && document.type !== "proofOfOwnership") {
102
109
  uploadPromises.push(updateDocumentService(document, existingDocument.id, entityId));
110
+ } else {
111
+ uploadPromises.push(createDocumentService(document, entityId));
103
112
  }
104
- } else {
105
- uploadPromises.push(createDocumentService(document, entityId));
106
113
  }
107
114
  });
108
115
  const uploadedDocuments = await Promise.all(uploadPromises);
116
+ if (existingProofOfOwnershipAttachments.length > 0) {
117
+ const proofOfOwnershipDoc = uploadedDocuments.find((doc) => doc.type === "proofOfOwnership");
118
+ if (proofOfOwnershipDoc) {
119
+ proofOfOwnershipDoc.attachments = [
120
+ ...existingProofOfOwnershipAttachments,
121
+ ...proofOfOwnershipDoc.attachments ?? []
122
+ ];
123
+ }
124
+ }
125
+ const uploadedProofOfOwnershipDocuments = uploadedDocuments.filter(
126
+ (doc) => doc.type === "proofOfOwnership"
127
+ );
128
+ if (uploadedProofOfOwnershipDocuments.length > 0) {
129
+ documentStore[entityId] = documentStore[entityId].filter(
130
+ (doc) => doc.type !== "proofOfOwnership"
131
+ );
132
+ const proofOfOwnershipWithModificationDate = uploadedProofOfOwnershipDocuments.map(
133
+ (doc) => ({
134
+ ...doc,
135
+ modificationDate: (/* @__PURE__ */ new Date()).toISOString()
136
+ })
137
+ );
138
+ documentStore[entityId].push(...proofOfOwnershipWithModificationDate);
139
+ }
109
140
  updateEntityDocuments(uploadedDocuments, entityId);
110
141
  return documentStore[entityId];
111
142
  };
@@ -133,6 +164,14 @@ const getDocument = (entityId, documentType) => {
133
164
  }
134
165
  return documentStore[entityId]?.find((document) => document.type === documentType);
135
166
  };
167
+ const getDocuments = (entityId, documentType) => {
168
+ if (!entityId) {
169
+ return [];
170
+ }
171
+ return documentStore[entityId]?.filter(
172
+ (document) => document.type === documentType
173
+ ) ?? [];
174
+ };
136
175
  const getIdDocument = (entityId) => documentStore[entityId]?.find((document) => idTypes.includes(document.type));
137
176
  const createDocumentRequest = async ({
138
177
  entityId,
@@ -207,12 +246,24 @@ const mergeAttachments = (existing, incoming) => {
207
246
  );
208
247
  return [...filteredExisting, ...incoming];
209
248
  };
249
+ const mergeProofOfOwnershipAttachments = (existing, incoming) => {
250
+ if (!existing?.length) return incoming;
251
+ if (!incoming?.length) return existing;
252
+ const incomingFileNames = incoming.map((attachment) => attachment.pageName);
253
+ const filteredExisting = existing.filter(
254
+ (attachment) => !incomingFileNames.includes(attachment.pageName)
255
+ );
256
+ const result = [...incoming, ...filteredExisting].slice(0, 2);
257
+ return result;
258
+ };
210
259
  export {
211
260
  getDocument as a,
212
261
  getFileExtention as b,
213
262
  createDocumentRequest as c,
214
263
  documentApiUtils as d,
264
+ getDocuments as e,
215
265
  fileToBase64 as f,
216
266
  getIdDocument as g,
267
+ mergeProofOfOwnershipAttachments as h,
217
268
  mergeAttachments as m
218
269
  };
@@ -2,17 +2,17 @@
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] = "ae03ae42-5f91-4c11-8a42-2c350638a8cd", e._sentryDebugIdIdentifier = "sentry-dbid-ae03ae42-5f91-4c11-8a42-2c350638a8cd");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7c9a0418-02d1-415c-a763-2c87c34f85da", e._sentryDebugIdIdentifier = "sentry-dbid-7c9a0418-02d1-415c-a763-2c87c34f85da");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useState, useEffect, useMemo } from "preact/hooks";
11
- import { a2 as useAnalyticsContext, P as createLogger } from "./StoreProvider-CI36KtEJ.js";
12
- import { s as summaryStep } from "./Summary-BEsXV_pZ.js";
11
+ import { a2 as useAnalyticsContext, P as createLogger } from "./StoreProvider-DpsSE6TR.js";
12
+ import { s as summaryStep } from "./Summary-g0edZ47j.js";
13
13
  import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
14
14
  import { jsx } from "preact/jsx-runtime";
15
- import { F as FormRouterContext } from "./CountryField-BjnAAbBe.js";
15
+ import { F as FormRouterContext } from "./CountryField-BW4QEhHs.js";
16
16
  import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
17
17
  const getOpeningStep = (forms, remediationActions) => {
18
18
  if (remediationActions && Object.keys(remediationActions).length > 0) {
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { br as getNestedPropertyKeys } from "./StoreProvider-CI36KtEJ.js";
10
+ import { br as getNestedPropertyKeys } from "./StoreProvider-DpsSE6TR.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 { r as LegalEntityTypes, af as getOwnEntityAssociations } from "./StoreProvider-CI36KtEJ.js";
10
+ import { r as LegalEntityTypes, af as getOwnEntityAssociations } from "./StoreProvider-DpsSE6TR.js";
11
11
  const getIndividualLegalEntityName = (legalEntityResponse) => {
12
12
  if (!legalEntityResponse || !legalEntityResponse?.individual) return "";
13
13
  return `${legalEntityResponse.individual?.name?.firstName ?? ""} ${legalEntityResponse.individual?.name?.lastName ?? ""}`;
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { a0 as entriesOf, aj as objectsDeepEqual } from "./StoreProvider-CI36KtEJ.js";
10
+ import { a0 as entriesOf, aj as objectsDeepEqual } from "./StoreProvider-DpsSE6TR.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,10 +7,10 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { aB as cloneObject, P as createLogger, bs as isString, k as httpPost } from "./StoreProvider-CI36KtEJ.js";
11
- import { B as isValueObscured } from "./Spacer-Ch-0l8D-.js";
10
+ import { aB as cloneObject, P as createLogger, bs as isString, k as httpPost } from "./StoreProvider-DpsSE6TR.js";
11
+ import { B as isValueObscured } from "./Spacer-CSlBptsF.js";
12
12
  import { g as getProp, d as deleteProp } from "./utils-DNSfZiio.js";
13
- import { A as AdyenKycSdkError } from "./mapExistingFile-CgstRs83.js";
13
+ import { A as AdyenKycSdkError } from "./mapExistingFile-C1hIRsVo.js";
14
14
  const omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
15
15
  if (!dataSubmitted) {
16
16
  return;
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { P as createLogger } from "./StoreProvider-CI36KtEJ.js";
10
+ import { P as createLogger } from "./StoreProvider-DpsSE6TR.js";
11
11
  const localizeDateString = (dateString, locale, options) => {
12
12
  const logger = createLogger();
13
13
  const formatOptions = {
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { useEffect, useState, useMemo } from "preact/hooks";
11
- import { u as useScenarios } from "./useScenarios-Czw7RUBe.js";
12
- import { C as CountryCodes, P as createLogger } from "./StoreProvider-CI36KtEJ.js";
11
+ import { u as useScenarios } from "./useScenarios-DhJuHNgT.js";
12
+ import { C as CountryCodes, P as createLogger } from "./StoreProvider-DpsSE6TR.js";
13
13
  import { signal } from "@preact/signals";
14
14
  class AdyenKycSdkError extends Error {
15
15
  sourceError;
@@ -7,8 +7,8 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { i as isDateOlderThanAYear } from "./Address-BPnBjFEl.js";
11
- import { b6 as drop } from "./StoreProvider-CI36KtEJ.js";
10
+ import { i as isDateOlderThanAYear } from "./Address-Bs0l9ZTY.js";
11
+ import { b6 as drop } from "./StoreProvider-DpsSE6TR.js";
12
12
  const mapFinancialInformationToFinancialReport = ({
13
13
  currency,
14
14
  financialReportingDate,
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { s as summaryItem } from "./CountryField-BjnAAbBe.js";
12
- import { B as isEmpty } from "./IndividualOnfido-DtdkIpGU.js";
11
+ import { s as summaryItem } from "./CountryField-BW4QEhHs.js";
12
+ import { B as isEmpty } from "./IndividualOnfido-CtmmJr5u.js";
13
13
  import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
14
14
  const mapJpAddressSummary = (data, datasetUtils) => {
15
15
  if (!data) return {};
@@ -8,10 +8,10 @@
8
8
  }
9
9
  ;
10
10
  import { signal } from "@preact/signals";
11
- import { C as CountryCodes, a_ as reverseMapping, b4 as getNomineeFromAssociation, bt as individualOnfidoBaseMapping, am as DecisionMakerTypes } from "./StoreProvider-CI36KtEJ.js";
11
+ import { C as CountryCodes, a_ as reverseMapping, b4 as getNomineeFromAssociation, bt as individualOnfidoBaseMapping, am as DecisionMakerTypes } from "./StoreProvider-DpsSE6TR.js";
12
12
  import { a as mapApiScriptLocalizationToSchemaFields, b as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
13
13
  import { f as formatObject } from "./utils-DNSfZiio.js";
14
- import { W as GuidanceQuestionValues } from "./IndividualOnfido-DtdkIpGU.js";
14
+ import { W as GuidanceQuestionValues } from "./IndividualOnfido-CtmmJr5u.js";
15
15
  const individualFormDefaultData = signal(null);
16
16
  const getOnfidoIdentityTypeToApiIdentityTypeMap = (data) => {
17
17
  const { country } = data;
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, j as useQuery, w as skipToken, m as httpGet, bu as crossBorderMapping, bv as payoutComponentKeyMapping } from "./StoreProvider-CI36KtEJ.js";
10
+ import { b as useApiContext, j as useQuery, w as skipToken, m as httpGet, bu as crossBorderMapping, bv as payoutComponentKeyMapping } from "./StoreProvider-DpsSE6TR.js";
11
11
  import { m as mapWith } from "./utils-DNSfZiio.js";
12
12
  const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
13
13
  return httpGet({
@@ -7,9 +7,9 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { T as TrustedFieldsProviders } from "./Spacer-Ch-0l8D-.js";
10
+ import { T as TrustedFieldsProviders } from "./Spacer-CSlBptsF.js";
11
11
  import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
12
- import { P as createLogger, bp as businessDetailsApiKeyMapping, b3 as individualApiKeyMapping, aT as remediationHasFileUploadField, bq as dataMissingRemediationsToFieldsMap, ap as keysOf } from "./StoreProvider-CI36KtEJ.js";
12
+ import { P as createLogger, bp as businessDetailsApiKeyMapping, b3 as individualApiKeyMapping, aT as remediationHasFileUploadField, bq as dataMissingRemediationsToFieldsMap, ap as keysOf } from "./StoreProvider-DpsSE6TR.js";
13
13
  const linkedFieldsMap = {
14
14
  "additionalInformation.vatNumber": [
15
15
  "additionalInformation.exemptedFromVat",
@@ -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] = "eef20ad9-42f8-4337-acfd-079659d2077b", e._sentryDebugIdIdentifier = "sentry-dbid-eef20ad9-42f8-4337-acfd-079659d2077b");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "29a25482-f4b7-46d3-af33-a73dd8b97bb2", e._sentryDebugIdIdentifier = "sentry-dbid-29a25482-f4b7-46d3-af33-a73dd8b97bb2");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { h as h$1, hydrate, render, cloneElement, Fragment } from "preact";
11
11
  import { jsxs, jsx } from "preact/jsx-runtime";
12
- import { aX as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-CI36KtEJ.js";
12
+ import { aX as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-DpsSE6TR.js";
13
13
  import { useState, useEffect } from "preact/hooks";
14
14
  function i() {
15
15
  return i = Object.assign ? Object.assign.bind() : function(t) {
@@ -135,7 +135,7 @@ const EmbedShell = ({
135
135
  experiments,
136
136
  refreshExperiments,
137
137
  children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
138
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.90.2" }),
138
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.90.4" }),
139
139
  /* @__PURE__ */ jsx(
140
140
  AnalyticsProvider,
141
141
  {
@@ -7,10 +7,10 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as CountryCodes, O as TaskTypes, as as allowedCountriesForNominee, am as DecisionMakerTypes, al as Scenarios } from "./StoreProvider-CI36KtEJ.js";
11
- import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./Address-BPnBjFEl.js";
12
- import { x as createFormRules, w as getLocalizedIdDocumentTypeOptions } from "./Spacer-Ch-0l8D-.js";
13
- import { U as isCompatibleJapanVersion } from "./IndividualOnfido-DtdkIpGU.js";
10
+ import { C as CountryCodes, O as TaskTypes, as as allowedCountriesForNominee, am as DecisionMakerTypes, al as Scenarios } from "./StoreProvider-DpsSE6TR.js";
11
+ import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./Address-Bs0l9ZTY.js";
12
+ import { x as createFormRules, w as getLocalizedIdDocumentTypeOptions } from "./Spacer-CSlBptsF.js";
13
+ import { U as isCompatibleJapanVersion } from "./IndividualOnfido-CtmmJr5u.js";
14
14
  const REQUIRED = "REQUIRED";
15
15
  const OPTIONAL = "OPTIONAL";
16
16
  const SOLE_PROP_COUNTRIES = [
@@ -10,6 +10,7 @@ export type DocumentApiUtils = {
10
10
  };
11
11
  export declare const documentApiUtils: (context: ComponentApiRequestContext) => DocumentApiUtils;
12
12
  export declare const getDocument: (entityId: string | undefined, documentType: DocumentType) => ExistingDocumentWithModificationDate | undefined;
13
+ export declare const getDocuments: (entityId: string | undefined, documentType: DocumentType) => ExistingDocumentWithModificationDate[];
13
14
  export declare const getIdDocument: (entityId: string) => ExistingDocumentWithModificationDate | undefined;
14
15
  export interface CreateDocumentRequestProps {
15
16
  entityId: string;
@@ -33,3 +34,8 @@ export declare const getFileExtention: (fileName: string) => string | undefined;
33
34
  * @returns merged attachments with deduped pageTypes
34
35
  */
35
36
  export declare const mergeAttachments: (existing: Attachment[], incoming: Attachment[]) => Attachment[];
37
+ /**
38
+ * Merges proof of ownership attachments by filtering based on pageName (not pageType)
39
+ * since proofOfOwnership attachments may not have pageType
40
+ */
41
+ export declare const mergeProofOfOwnershipAttachments: (existing: Attachment[], incoming: Attachment[]) => Attachment[];
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as CountryCodes } from "./StoreProvider-CI36KtEJ.js";
10
+ import { C as CountryCodes } from "./StoreProvider-DpsSE6TR.js";
11
11
  const Currencies = {
12
12
  AED: "AED",
13
13
  AUD: "AUD",
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { r as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-CI36KtEJ.js";
10
+ import { r as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-DpsSE6TR.js";
11
11
  const trustMemberLegalEntityTypes = [
12
12
  LegalEntityTypes.INDIVIDUAL,
13
13
  LegalEntityTypes.ORGANIZATION
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as CountryCodes } from "./StoreProvider-CI36KtEJ.js";
10
+ import { C as CountryCodes } from "./StoreProvider-DpsSE6TR.js";
11
11
  const ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES = [
12
12
  CountryCodes.Australia,
13
13
  CountryCodes.Belgium,
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { useMemo } from "preact/hooks";
11
- import { P as createLogger, c as useLegalEntity, w as skipToken } from "./StoreProvider-CI36KtEJ.js";
11
+ import { P as createLogger, c as useLegalEntity, w as skipToken } from "./StoreProvider-DpsSE6TR.js";
12
12
  const logger = createLogger();
13
13
  function useAssociatedLegalEntity(parentLegalEntity, associationType) {
14
14
  const matchingAssociation = useMemo(() => {
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, $ as useMutation, k as httpPost } from "./StoreProvider-CI36KtEJ.js";
10
+ import { b as useApiContext, $ as useMutation, k as httpPost } from "./StoreProvider-DpsSE6TR.js";
11
11
  const createLegalEntity = async (legalEntityId, baseUrl, data) => {
12
12
  return httpPost(
13
13
  {
@@ -9,10 +9,10 @@
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { b as useId } from "./useToastContext-dTryNVgP.js";
12
+ import { b as useId } from "./useToastContext-Crc9MLWD.js";
13
13
  import { useState, useEffect } from "preact/hooks";
14
- import { u as useTranslation, a2 as useAnalyticsContext, G as Typography, B as Button, P as createLogger, V as useI18nContext } from "./StoreProvider-CI36KtEJ.js";
15
- import { M as Modal } from "./Modal-ahLC-iIq.js";
14
+ import { u as useTranslation, a2 as useAnalyticsContext, G as Typography, B as Button, P as createLogger, V as useI18nContext } from "./StoreProvider-DpsSE6TR.js";
15
+ import { M as Modal } from "./Modal-ChqGs371.js";
16
16
  const structuredList = "adyen-kyc-structured-list";
17
17
  const structuredListSectionField = "adyen-kyc-structured-list-section-field";
18
18
  const structuredListSectionLabel = "adyen-kyc-structured-list-section-label";
@@ -10,11 +10,11 @@
10
10
  import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
12
  import { useEffect, useState, useRef, useMemo, useCallback, useReducer } from "preact/hooks";
13
- import { u as useTranslation, a2 as useAnalyticsContext, a3 as Icon, z as translateStringOrObject, L as Loader, a4 as noop, G as Typography, P as createLogger, W as isEmpty, a0 as entriesOf, aV as doArraysMatch } from "./StoreProvider-CI36KtEJ.js";
14
- import { b as useId } from "./useToastContext-dTryNVgP.js";
13
+ import { u as useTranslation, a2 as useAnalyticsContext, a3 as Icon, z as translateStringOrObject, L as Loader, a4 as noop, G as Typography, P as createLogger, W as isEmpty, a0 as entriesOf, aV as doArraysMatch } from "./StoreProvider-DpsSE6TR.js";
14
+ import { b as useId } from "./useToastContext-Crc9MLWD.js";
15
15
  import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
16
- import { K as KEYBOARD_KEYS } from "./Modal-ahLC-iIq.js";
17
- import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-djJun_EE.js";
16
+ import { K as KEYBOARD_KEYS } from "./Modal-ChqGs371.js";
17
+ import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-CTK4lEPP.js";
18
18
  const ARIA_ERROR_SUFFIX = "-ariaError";
19
19
  const MaybeFieldset = ({
20
20
  children,
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { useContext, useCallback, useMemo } from "preact/hooks";
11
- import { d as debounce } from "./debouncedInputEvent-djJun_EE.js";
12
- import { az as StateContext } from "./StoreProvider-CI36KtEJ.js";
11
+ import { d as debounce } from "./debouncedInputEvent-CTK4lEPP.js";
12
+ import { az as StateContext } from "./StoreProvider-DpsSE6TR.js";
13
13
  function useStateContext() {
14
14
  const context = useContext(StateContext);
15
15
  return context;
@@ -8,9 +8,9 @@
8
8
  }
9
9
  ;
10
10
  import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
11
- import { aj as objectsDeepEqual, P as createLogger, W as isEmpty } from "./StoreProvider-CI36KtEJ.js";
12
- import { V as ValidationResult } from "./useForm-CxUeSVAa.js";
13
- import { e as isNotEmptyValidator } from "./CountryField-BjnAAbBe.js";
11
+ import { aj as objectsDeepEqual, P as createLogger, W as isEmpty } from "./StoreProvider-DpsSE6TR.js";
12
+ import { V as ValidationResult } from "./useForm-jCHWIXF6.js";
13
+ import { e as isNotEmptyValidator } from "./CountryField-BW4QEhHs.js";
14
14
  const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
15
15
  a[c] = obj[c];
16
16
  return a;
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-CI36KtEJ.js";
10
+ import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-DpsSE6TR.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 { b as useApiContext, j as useQuery, a0 as entriesOf, w as skipToken, al as Scenarios, m as httpGet } from "./StoreProvider-CI36KtEJ.js";
10
+ import { b as useApiContext, j as useQuery, a0 as entriesOf, w as skipToken, al as Scenarios, m as httpGet } from "./StoreProvider-DpsSE6TR.js";
11
11
  const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
12
12
  const scenarioParams = new URLSearchParams({
13
13
  ...countryCode && { countryCode },
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-CI36KtEJ.js";
10
+ import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-DpsSE6TR.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 { P as createLogger, a1 as useQueryClient, b as useApiContext, aW as ToastContext } from "./StoreProvider-CI36KtEJ.js";
10
+ import { P as createLogger, a1 as useQueryClient, b as useApiContext, aW as ToastContext } from "./StoreProvider-DpsSE6TR.js";
11
11
  import { useCallback, useState, useContext } from "preact/hooks";
12
12
  const logger = createLogger();
13
13
  const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
@@ -8,10 +8,10 @@
8
8
  }
9
9
  ;
10
10
  import { useMemo } from "preact/hooks";
11
- import { r as LegalEntityTypes, af as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-CI36KtEJ.js";
12
- import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-C0fauMUw.js";
13
- import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-BjnAAbBe.js";
14
- import { g as getLegalEntityNameBasedOnType } from "./getName-D-8pt9JC.js";
11
+ import { r as LegalEntityTypes, af as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-DpsSE6TR.js";
12
+ import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BNywHQfJ.js";
13
+ import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-BW4QEhHs.js";
14
+ import { g as getLegalEntityNameBasedOnType } from "./getName-CxGkgHuQ.js";
15
15
  const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
16
16
  const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
17
17
  if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, $ as useMutation, k as httpPost } from "./StoreProvider-CI36KtEJ.js";
10
+ import { b as useApiContext, $ as useMutation, k as httpPost } from "./StoreProvider-DpsSE6TR.js";
11
11
  const createBusinessLine = async (legalEntityId, baseUrl, data) => {
12
12
  return httpPost(
13
13
  {
@@ -7,8 +7,8 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, a1 as useQueryClient, $ as useMutation, k as httpPost } from "./StoreProvider-CI36KtEJ.js";
11
- import { c as useInvalidateRootLegalEntity } from "./useToastContext-dTryNVgP.js";
10
+ import { b as useApiContext, a1 as useQueryClient, $ as useMutation, k as httpPost } from "./StoreProvider-DpsSE6TR.js";
11
+ import { c as useInvalidateRootLegalEntity } from "./useToastContext-Crc9MLWD.js";
12
12
  const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
13
13
  return httpPost(
14
14
  {
@@ -7,11 +7,11 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as CompanyTypesValues } from "./IndividualOnfido-DtdkIpGU.js";
11
- import { g as getLegalEntityCountry, bz as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-CI36KtEJ.js";
12
- import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-DOeXNOhc.js";
13
- import { S as SOLE_PROP_COUNTRIES } from "./rules-DNLl28n7.js";
14
- import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-CuUpLShI.js";
10
+ import { C as CompanyTypesValues } from "./IndividualOnfido-CtmmJr5u.js";
11
+ import { g as getLegalEntityCountry, bz as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-DpsSE6TR.js";
12
+ import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-C41CWVbw.js";
13
+ import { S as SOLE_PROP_COUNTRIES } from "./rules-B0wJ_pDl.js";
14
+ import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-Dobo54VB.js";
15
15
  const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
16
16
  const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
17
17
  CountryCodes.UnitedStates,
@@ -8,9 +8,9 @@
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-CI36KtEJ.js";
12
- import { C as Currencies } from "./types-BjulUQZs.js";
13
- import { l as localizeDateString } from "./localizeDateString-BmC7pUDO.js";
11
+ import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-DpsSE6TR.js";
12
+ import { C as Currencies } from "./types-CPhq7NNF.js";
13
+ import { l as localizeDateString } from "./localizeDateString-CGoYESCO.js";
14
14
  const formatCurrency = (amount, currency, locale) => {
15
15
  const { format } = new Intl.NumberFormat(
16
16
  locale,
@@ -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] = "4221a6eb-c026-4bab-b294-8ae4a57ed238", e._sentryDebugIdIdentifier = "sentry-dbid-4221a6eb-c026-4bab-b294-8ae4a57ed238");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "db12d8b1-4087-400b-9930-79d462b8bd3b", e._sentryDebugIdIdentifier = "sentry-dbid-db12d8b1-4087-400b-9930-79d462b8bd3b");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useCallback } from "preact/hooks";
11
- import { b as useApiContext, k as httpPost } from "./StoreProvider-CI36KtEJ.js";
11
+ import { b as useApiContext, k as httpPost } from "./StoreProvider-DpsSE6TR.js";
12
12
  import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
13
13
  const validatePhoneNumber = (baseUrl, data) => {
14
14
  return httpPost(
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { aC as hasText } from "./StoreProvider-CI36KtEJ.js";
10
+ import { aC as hasText } from "./StoreProvider-DpsSE6TR.js";
11
11
  const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
12
12
  if (!legalEntityIdentifier) {
13
13
  return true;
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { O as TaskTypes, bm as remediationPayoutApiKeyMapping, bn as remediationBusinessDetailsApiKeyMapping, bo as remediationIndividualApiKeyMapping } from "./StoreProvider-CI36KtEJ.js";
10
+ import { O as TaskTypes, bm as remediationPayoutApiKeyMapping, bn as remediationBusinessDetailsApiKeyMapping, bo as remediationIndividualApiKeyMapping } from "./StoreProvider-DpsSE6TR.js";
11
11
  import { a as assignToProp } from "./utils-DNSfZiio.js";
12
12
  const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
13
13
  const overrideKeyMapping = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.90.2",
3
+ "version": "3.90.4",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",