@adyen/kyc-components 2.6.1 → 2.6.2

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.
@@ -16210,7 +16210,6 @@ const remediationActionMappings = {
16210
16210
  }]
16211
16211
  };
16212
16212
  const dataMissingRemediationsToFieldsMap = {
16213
- "1_501": [DocumentType.REGISTRATION_DOCUMENT],
16214
16213
  "2_158": ["vatNumber", "exemptedFromVat", "vatAbsenceReason"]
16215
16214
  };
16216
16215
  var EntityType = /* @__PURE__ */ ((EntityType2) => {
@@ -20301,11 +20300,12 @@ function IndividualDropinComponent({
20301
20300
  const formattedDocuments = await mapIndividualDocumentToApiDocument(dataSubmitted, legalEntity.id);
20302
20301
  const uploadedDocuments = await documentUtils.uploadDocuments(formattedDocuments, legalEntity.id);
20303
20302
  uploadedDocuments == null ? void 0 : uploadedDocuments.forEach((doc) => {
20303
+ var _a2;
20304
20304
  userEvents.addEvent("Saved document", {
20305
20305
  segmentation: {
20306
20306
  ...baseTrackingPayload,
20307
20307
  documentType: doc.type,
20308
- fileExtention: doc.attachments.map((item) => getFileExtention(item.pageName))
20308
+ fileExtention: (_a2 = doc == null ? void 0 : doc.attachments) == null ? void 0 : _a2.map((item) => getFileExtention(item.pageName))
20309
20309
  }
20310
20310
  });
20311
20311
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "files": [