@adyen/kyc-components 2.63.0 → 2.63.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.
@@ -9697,9 +9697,8 @@ function TaxInformationField({
9697
9697
  );
9698
9698
  useEffect(() => {
9699
9699
  const hasSavedTaxId = defaultData == null ? void 0 : defaultData.find((taxId) => taxId.country === country);
9700
- if (currentCountryTaxInformation && !hasSavedTaxId) {
9701
- return;
9702
- }
9700
+ if ((currentCountryTaxInformation == null ? void 0 : currentCountryTaxInformation.country) === country) return;
9701
+ if (currentCountryTaxInformation && !hasSavedTaxId) return;
9703
9702
  handleChangeFor("taxInformation", "input")(defaultData);
9704
9703
  }, [country]);
9705
9704
  const showTaxIdExemptedOptions = canExempt && (((_a = getTaxIdNumberOptions(country, companyType)) == null ? void 0 : _a.length) ?? 0) > 1;
@@ -39667,7 +39666,7 @@ const ConfigurationApiProvider = ({
39667
39666
  }) => {
39668
39667
  const authContext = useAuthContext();
39669
39668
  const { isEmbeddedDropin, loadingContext } = authContext;
39670
- const sdkVersion = "2.63.0";
39669
+ const sdkVersion = "2.63.1";
39671
39670
  useAnalytics({
39672
39671
  onUserEvent,
39673
39672
  legalEntityId: rootLegalEntityId,
@@ -40343,7 +40342,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
40343
40342
  };
40344
40343
  const copyToClipboard = async () => {
40345
40344
  const toCopy = {
40346
- sdkVersion: "2.63.0",
40345
+ sdkVersion: "2.63.1",
40347
40346
  experiments: Object.fromEntries(allExperimentsWithValues),
40348
40347
  settings: Object.fromEntries(allSettingsWithValues)
40349
40348
  };
@@ -40408,7 +40407,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
40408
40407
  /* @__PURE__ */ jsx("div", { className: "adyen-kyc-debug-modal__meta", children: /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsxs("tbody", { children: [
40409
40408
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
40410
40409
  /* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "SDK version" }),
40411
- /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.63.0" })
40410
+ /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.63.1" })
40412
40411
  ] }) }),
40413
40412
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
40414
40413
  /* @__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.63.0",
3
+ "version": "2.63.1",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",