@adyen/kyc-components 2.61.2 → 2.61.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.
@@ -9684,9 +9684,8 @@ function TaxInformationField({
9684
9684
  );
9685
9685
  useEffect(() => {
9686
9686
  const hasSavedTaxId = defaultData == null ? void 0 : defaultData.find((taxId) => taxId.country === country);
9687
- if (currentCountryTaxInformation && !hasSavedTaxId) {
9688
- return;
9689
- }
9687
+ if ((currentCountryTaxInformation == null ? void 0 : currentCountryTaxInformation.country) === country) return;
9688
+ if (currentCountryTaxInformation && !hasSavedTaxId) return;
9690
9689
  handleChangeFor("taxInformation", "input")(defaultData);
9691
9690
  }, [country]);
9692
9691
  const showTaxIdExemptedOptions = canExempt && (((_a = getTaxIdNumberOptions(country, companyType)) == null ? void 0 : _a.length) ?? 0) > 1;
@@ -39680,7 +39679,7 @@ const ConfigurationApiProvider = ({
39680
39679
  }) => {
39681
39680
  const authContext = useAuthContext();
39682
39681
  const { isEmbeddedDropin, loadingContext } = authContext;
39683
- const sdkVersion = "2.61.2";
39682
+ const sdkVersion = "2.61.3";
39684
39683
  useAnalytics({
39685
39684
  onUserEvent,
39686
39685
  legalEntityId: rootLegalEntityId,
@@ -40353,7 +40352,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
40353
40352
  };
40354
40353
  const copyToClipboard = async () => {
40355
40354
  const toCopy = {
40356
- sdkVersion: "2.61.2",
40355
+ sdkVersion: "2.61.3",
40357
40356
  experiments: Object.fromEntries(allExperimentsWithValues),
40358
40357
  settings: Object.fromEntries(allSettingsWithValues)
40359
40358
  };
@@ -40418,7 +40417,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
40418
40417
  /* @__PURE__ */ jsx("div", { className: "adyen-kyc-debug-modal__meta", children: /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsxs("tbody", { children: [
40419
40418
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
40420
40419
  /* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "SDK version" }),
40421
- /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.61.2" })
40420
+ /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.61.3" })
40422
40421
  ] }) }),
40423
40422
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
40424
40423
  /* @__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.61.2",
3
+ "version": "2.61.3",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",