@adyen/kyc-components 3.39.0 → 3.39.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.
@@ -28457,7 +28457,8 @@ const adjustFormData = (oldFormData, newFormData) => (/* @__PURE__ */ new Set([.
28457
28457
  const setRemovedFieldsOnSchemaToDeletedValue = (newData, existingData) => (/* @__PURE__ */ new Set([...keysOf(existingData), ...keysOf(newData)])).keys().reduce((adjusted, formId) => {
28458
28458
  const oldFormData = existingData[formId];
28459
28459
  const newFormData = newData[formId];
28460
- if (isUndefinedOrNull(oldFormData) || isUndefinedOrNull(newFormData)) return adjusted;
28460
+ if (isUndefinedOrNull(oldFormData)) return { ...adjusted, [formId]: newFormData };
28461
+ if (isUndefinedOrNull(newFormData)) return adjusted;
28461
28462
  return { ...adjusted, [formId]: adjustFormData(oldFormData, newFormData) };
28462
28463
  }, {});
28463
28464
  const getRequiredForms = (forms, requiredFields, optionalFields) => {
@@ -45376,7 +45377,7 @@ const ConfigurationApiProvider = ({
45376
45377
  }) => {
45377
45378
  const authContext = useAuthContext();
45378
45379
  const { isEmbeddedDropin, loadingContext } = authContext;
45379
- const sdkVersion = "3.39.0";
45380
+ const sdkVersion = "3.39.2";
45380
45381
  useAnalytics({
45381
45382
  onUserEvent,
45382
45383
  legalEntityId: rootLegalEntityId,
@@ -46075,7 +46076,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
46075
46076
  };
46076
46077
  const copyToClipboard = async () => {
46077
46078
  const toCopy = {
46078
- sdkVersion: "3.39.0",
46079
+ sdkVersion: "3.39.2",
46079
46080
  experiments: Object.fromEntries(allExperimentsWithValues),
46080
46081
  settings: Object.fromEntries(allSettingsWithValues)
46081
46082
  };
@@ -46140,7 +46141,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
46140
46141
  /* @__PURE__ */ jsx("div", { className: "adyen-kyc-debug-modal__meta", children: /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsxs("tbody", { children: [
46141
46142
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
46142
46143
  /* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "SDK version" }),
46143
- /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "3.39.0" })
46144
+ /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "3.39.2" })
46144
46145
  ] }) }),
46145
46146
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
46146
46147
  /* @__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": "3.39.0",
3
+ "version": "3.39.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",