@adyen/kyc-components 2.67.0 → 2.67.1

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.
@@ -15143,7 +15143,7 @@ const mapLegalEntityToSoleProp = (legalEntity) => {
15143
15143
  return solePropCompData;
15144
15144
  };
15145
15145
  const mapSolePropToLegalEntity = (data) => {
15146
- var _a, _b;
15146
+ var _a, _b, _c, _d;
15147
15147
  const requestObj = {
15148
15148
  ...formatObject(data, solePropApiKeyMapping)
15149
15149
  };
@@ -15164,6 +15164,7 @@ const mapSolePropToLegalEntity = (data) => {
15164
15164
  delete requestObj.soleProprietorship.vatNumber;
15165
15165
  delete requestObj.soleProprietorship.registrationNumber;
15166
15166
  }
15167
+ requestObj.soleProprietorship.doingBusinessAs = ((_c = data.solePropRegistrationDetails) == null ? void 0 : _c.dbaName) || ((_d = data.solePropRegistrationDetails) == null ? void 0 : _d.tradingName) || "";
15167
15168
  requestObj.type = LegalEntityType.SOLE_PROPRIETORSHIP;
15168
15169
  return requestObj;
15169
15170
  };
@@ -39655,7 +39656,7 @@ const ConfigurationApiProvider = ({
39655
39656
  }) => {
39656
39657
  const authContext = useAuthContext();
39657
39658
  const { isEmbeddedDropin, loadingContext } = authContext;
39658
- const sdkVersion = "2.67.0";
39659
+ const sdkVersion = "2.67.1";
39659
39660
  useAnalytics({
39660
39661
  onUserEvent,
39661
39662
  legalEntityId: rootLegalEntityId,
@@ -40289,7 +40290,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
40289
40290
  };
40290
40291
  const copyToClipboard = async () => {
40291
40292
  const toCopy = {
40292
- sdkVersion: "2.67.0",
40293
+ sdkVersion: "2.67.1",
40293
40294
  experiments: Object.fromEntries(allExperimentsWithValues),
40294
40295
  settings: Object.fromEntries(allSettingsWithValues)
40295
40296
  };
@@ -40354,7 +40355,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
40354
40355
  /* @__PURE__ */ jsx("div", { className: "adyen-kyc-debug-modal__meta", children: /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsxs("tbody", { children: [
40355
40356
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
40356
40357
  /* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "SDK version" }),
40357
- /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.67.0" })
40358
+ /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.67.1" })
40358
40359
  ] }) }),
40359
40360
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
40360
40361
  /* @__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.67.0",
3
+ "version": "2.67.1",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",