@adyen/kyc-components 2.59.10 → 2.59.11

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.
@@ -24339,10 +24339,16 @@ function getPropsFromConfigurations(scenarioConfiguration, forms, remediationAct
24339
24339
  }
24340
24340
  case TrustedFieldsProvider.SINGPASS: {
24341
24341
  if (legalEntityType === "organization") {
24342
- return [...acc, ...trusted.fields.map((tf) => businessDetailsApiKeyMapping[tf])];
24342
+ const orgFields = trusted.fields.filter(
24343
+ (field) => (field == null ? void 0 : field.split(".")[0]) === "organization"
24344
+ );
24345
+ return [...acc, ...orgFields.map((tf) => businessDetailsApiKeyMapping[tf])];
24343
24346
  }
24344
24347
  if (legalEntityType === "individual") {
24345
- return [...acc, ...trusted.fields.map((tf) => individualApiKeyMapping[tf])];
24348
+ const individualFields = trusted.fields.filter(
24349
+ (field) => (field == null ? void 0 : field.split(".")[0]) === "individual"
24350
+ );
24351
+ return [...acc, ...individualFields.map((tf) => individualApiKeyMapping[tf])];
24346
24352
  }
24347
24353
  return acc;
24348
24354
  }
@@ -39399,7 +39405,7 @@ const ConfigurationApiProvider = ({
39399
39405
  }) => {
39400
39406
  const authContext = useAuthContext();
39401
39407
  const { isEmbeddedDropin, loadingContext } = authContext;
39402
- const sdkVersion = "2.59.10";
39408
+ const sdkVersion = "2.59.11";
39403
39409
  useAnalytics({
39404
39410
  onUserEvent,
39405
39411
  legalEntityId: rootLegalEntityId,
@@ -40072,7 +40078,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
40072
40078
  };
40073
40079
  const copyToClipboard = async () => {
40074
40080
  const toCopy = {
40075
- sdkVersion: "2.59.10",
40081
+ sdkVersion: "2.59.11",
40076
40082
  experiments: Object.fromEntries(allExperimentsWithValues),
40077
40083
  settings: Object.fromEntries(allSettingsWithValues)
40078
40084
  };
@@ -40137,7 +40143,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
40137
40143
  /* @__PURE__ */ jsx("div", { className: "adyen-kyc-debug-modal__meta", children: /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsxs("tbody", { children: [
40138
40144
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
40139
40145
  /* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "SDK version" }),
40140
- /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.59.10" })
40146
+ /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.59.11" })
40141
40147
  ] }) }),
40142
40148
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
40143
40149
  /* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "rootLegalEntityId" }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "2.59.10",
3
+ "version": "2.59.11",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",