@adyen/kyc-components 2.71.1 → 2.71.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.
@@ -2,7 +2,7 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "63c1ea62-14ce-439d-84bd-e63f6089a914", e._sentryDebugIdIdentifier = "sentry-dbid-63c1ea62-14ce-439d-84bd-e63f6089a914");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "62a0be1c-dd98-42b9-8d68-1cd430b89d1e", e._sentryDebugIdIdentifier = "sentry-dbid-62a0be1c-dd98-42b9-8d68-1cd430b89d1e");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -18290,7 +18290,7 @@ function PersonalDetailsComponent(props) {
18290
18290
  const isDecisionMakerTask = props.taskType === TaskTypes.DECISION_MAKER || props.taskType === TaskTypes.TRUST_MEMBER_COMPANY_OWNER;
18291
18291
  const isTopLevelEntity = props.taskType === TaskTypes.INDIVIDUAL;
18292
18292
  const isLegalRepresentativeDetailsTask = props.taskType === TaskTypes.LEGAL_REPRESENTATIVE_DETAILS;
18293
- const countryRequiringNationality = ((_c = (_b = props.parentLegalEntity) == null ? void 0 : _b.organization) == null ? void 0 : _c.registeredAddress.country) || ((_d = props.data) == null ? void 0 : _d.residencyCountry);
18293
+ const countryRequiringNationality = ((_b = props.data) == null ? void 0 : _b.residencyCountry) || ((_d = (_c = props.parentLegalEntity) == null ? void 0 : _c.organization) == null ? void 0 : _d.registeredAddress.country);
18294
18294
  const requiredFieldsByTask = (props.requiredFields || personalDetailsFields).filter(
18295
18295
  (field) => !canChangeEntityType && (field !== "role" || field === "role" && isDecisionMakerTask) || canChangeEntityType && (field !== "role" || field === "role" && isDecisionMakerTask) || field === "relationship" && isLegalRepresentativeDetailsTask
18296
18296
  );
@@ -39313,7 +39313,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
39313
39313
  };
39314
39314
  };
39315
39315
  const useAnalytics = ({ onUserEvent, legalEntityId, componentName }) => {
39316
- const sdkVersion = "2.71.1";
39316
+ const sdkVersion = "2.71.2";
39317
39317
  const { isEmbeddedDropin, loadingContext: base } = useAuthContext();
39318
39318
  const loadingContext = `${base}api/${COMPONENTS_API_VERSION}/`;
39319
39319
  useEffect(() => {
@@ -39655,7 +39655,7 @@ const ConfigurationApiProvider = ({
39655
39655
  [authContext, rootLegalEntityId]
39656
39656
  );
39657
39657
  return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
39658
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "2.71.1" }),
39658
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "2.71.2" }),
39659
39659
  children
39660
39660
  ] });
39661
39661
  };
@@ -40271,7 +40271,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
40271
40271
  };
40272
40272
  const copyToClipboard = async () => {
40273
40273
  const toCopy = {
40274
- sdkVersion: "2.71.1",
40274
+ sdkVersion: "2.71.2",
40275
40275
  experiments: Object.fromEntries(allExperimentsWithValues),
40276
40276
  settings: Object.fromEntries(allSettingsWithValues)
40277
40277
  };
@@ -40336,7 +40336,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
40336
40336
  /* @__PURE__ */ jsx("div", { className: "adyen-kyc-debug-modal__meta", children: /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsxs("tbody", { children: [
40337
40337
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
40338
40338
  /* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "SDK version" }),
40339
- /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.71.1" })
40339
+ /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.71.2" })
40340
40340
  ] }) }),
40341
40341
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
40342
40342
  /* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "rootLegalEntityId" }),
@@ -40481,7 +40481,7 @@ class UIElement extends BaseElement {
40481
40481
  userEvents.updateBaseTrackingPayload({
40482
40482
  ...baseTracking,
40483
40483
  componentName: this.props.componentName,
40484
- sdkVersion: "2.71.1",
40484
+ sdkVersion: "2.71.2",
40485
40485
  userAgent: navigator.userAgent
40486
40486
  });
40487
40487
  return /* @__PURE__ */ jsx(SettingsProvider, { settings: this.props.settings, children: /* @__PURE__ */ jsx(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "2.71.1",
3
+ "version": "2.71.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",