@adyen/kyc-components 3.41.1 → 3.41.3

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.
@@ -31713,7 +31713,6 @@ const BusinessTypeSelection = ({
31713
31713
  if (hasSolePropInLegalEntity(legalEntityResponse)) {
31714
31714
  setLoadingStatus("loading");
31715
31715
  const updateLegalEntityPayload = {
31716
- type: targetLegalEntityType,
31717
31716
  entityAssociations: []
31718
31717
  };
31719
31718
  await (handleUpdateLegalEntity == null ? void 0 : handleUpdateLegalEntity(updateLegalEntityPayload, legalEntityResponse == null ? void 0 : legalEntityResponse.id));
@@ -32699,7 +32698,7 @@ const calculateTaskStatus = ({
32699
32698
  const matchingAccount = transferInstruments.find((ti) => ti.id === id);
32700
32699
  if (!matchingAccount) throw new Error(`Could not find transfer instrument with id ${id}`);
32701
32700
  ignorePendingCapabilities = isInstantVerifiedAccount(matchingAccount);
32702
- relevantEntityIds = [id, rootLegalEntity.id];
32701
+ relevantEntityIds = [id];
32703
32702
  }
32704
32703
  }
32705
32704
  return getRegularTaskStatus({
@@ -32727,6 +32726,9 @@ const determineTaskIdentifiers = ({
32727
32726
  if (!rootLegalEntity || !capabilityProblems) return [];
32728
32727
  const taskTypes = receivedTaskTypes.map(mapReceivedTaskType);
32729
32728
  const tasks = [...taskTypes];
32729
+ if (taskTypes.includes(TaskTypes.COMPANY)) {
32730
+ tasks.push("BUSINESS_DETAILS");
32731
+ }
32730
32732
  if (taskTypes.includes(TaskTypes.PAYIN)) {
32731
32733
  transferInstruments.forEach((account) => tasks.push(`PAYIN-${account.id}`));
32732
32734
  }
@@ -43612,7 +43614,7 @@ const ConfigurationApiProvider = ({
43612
43614
  }) => {
43613
43615
  const authContext = useAuthContext();
43614
43616
  const { isEmbeddedDropin, loadingContext } = authContext;
43615
- const sdkVersion = "3.41.1";
43617
+ const sdkVersion = "3.41.3";
43616
43618
  useAnalytics({
43617
43619
  onUserEvent,
43618
43620
  legalEntityId: rootLegalEntityId,
@@ -44293,7 +44295,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
44293
44295
  (settingName) => [settingName, getSetting(settingName)]
44294
44296
  );
44295
44297
  const debugModalMetaData = [
44296
- { key: "SDK version", value: "3.41.1", variant: "green" },
44298
+ { key: "SDK version", value: "3.41.3", variant: "green" },
44297
44299
  { key: "rootLegalEntityId", value: rootLegalEntityId, variant: "blue" },
44298
44300
  { key: "Locale", value: i18n.locale, variant: "blue" },
44299
44301
  { key: "Language", value: i18n.languageCode, variant: "blue" },
@@ -44325,7 +44327,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
44325
44327
  };
44326
44328
  const copyToClipboard = async () => {
44327
44329
  const toCopy = {
44328
- sdkVersion: "3.41.1",
44330
+ sdkVersion: "3.41.3",
44329
44331
  experiments: Object.fromEntries(allExperimentsWithValues),
44330
44332
  settings: Object.fromEntries(allSettingsWithValues)
44331
44333
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.41.1",
3
+ "version": "3.41.3",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",