@adyen/kyc-components 2.62.0 → 2.62.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.
@@ -5664,7 +5664,7 @@ const businessRegistrationNumberMasks = {
5664
5664
  },
5665
5665
  [CountryCodes.Luxembourg]: {
5666
5666
  default: {
5667
- mask: makeMask(...alphaInputs(1), ...numericInputs(5), ...numericInputs(2, true)),
5667
+ mask: makeMask(...alphaInputs(1), ...numericInputs(9, true)),
5668
5668
  transformOnType: uppercase
5669
5669
  }
5670
5670
  },
@@ -6448,7 +6448,7 @@ const businessRegistrationNumberPatterns = {
6448
6448
  [CountryCodes.Latvia]: { default: /^\d{11}$/ },
6449
6449
  [CountryCodes.Liechtenstein]: { default: /FL-[0-9]{4}[.][0-9]{3}[.][0-9]{3}-[0-9]$/ },
6450
6450
  [CountryCodes.Lithuania]: { default: /^\d{6,9}$/ },
6451
- [CountryCodes.Luxembourg]: { default: /^[a-zA-Z]\d{5,7}$/ },
6451
+ [CountryCodes.Luxembourg]: { default: /^[a-zA-Z]\d{1,9}$/ },
6452
6452
  [CountryCodes.Malaysia]: { default: /^[A-Za-z0-9]{7,8}$|^[A-Za-z0-9]{12}$/ },
6453
6453
  [CountryCodes.Malta]: { default: /^C\s?\d{4,6}$/ },
6454
6454
  [CountryCodes.Monaco]: {
@@ -6994,10 +6994,8 @@ const defaultFieldConfig$9 = {
6994
6994
  businessRegistrationNumberPatterns[CountryCodes.Luxembourg].default
6995
6995
  ),
6996
6996
  guidanceText: {
6997
- key: "enter1LetterAndThenXToYDigitsForExample",
6997
+ key: "enter1LetterAndThenNDigitsForExample",
6998
6998
  values: {
6999
- minDigits: "5",
7000
- maxDigits: "7",
7001
6999
  example: "C127766"
7002
7000
  }
7003
7001
  }
@@ -39712,7 +39710,7 @@ const ConfigurationApiProvider = ({
39712
39710
  }) => {
39713
39711
  const authContext = useAuthContext();
39714
39712
  const { isEmbeddedDropin, loadingContext } = authContext;
39715
- const sdkVersion = "2.62.0";
39713
+ const sdkVersion = "2.62.1";
39716
39714
  useAnalytics({
39717
39715
  onUserEvent,
39718
39716
  legalEntityId: rootLegalEntityId,
@@ -40385,7 +40383,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
40385
40383
  };
40386
40384
  const copyToClipboard = async () => {
40387
40385
  const toCopy = {
40388
- sdkVersion: "2.62.0",
40386
+ sdkVersion: "2.62.1",
40389
40387
  experiments: Object.fromEntries(allExperimentsWithValues),
40390
40388
  settings: Object.fromEntries(allSettingsWithValues)
40391
40389
  };
@@ -40450,7 +40448,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
40450
40448
  /* @__PURE__ */ jsx("div", { className: "adyen-kyc-debug-modal__meta", children: /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsxs("tbody", { children: [
40451
40449
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
40452
40450
  /* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "SDK version" }),
40453
- /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.62.0" })
40451
+ /* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.62.1" })
40454
40452
  ] }) }),
40455
40453
  /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
40456
40454
  /* @__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.62.0",
3
+ "version": "2.62.1",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",