@adyen/kyc-components 3.3.4 → 3.3.5

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.
@@ -6995,7 +6995,7 @@ const CountryIdNumberPatterns = {
6995
6995
  [CountryCodes.Italy]: /^[A-Z]{6}[0-9]{2}[ABCDEHLMPRST][0-9]{2}[A-Z][0-9]{3}[A-Z]$/,
6996
6996
  [CountryCodes.Poland]: /^\d{11}$/,
6997
6997
  [CountryCodes.Romania]: /^\d{13}$/,
6998
- [CountryCodes.Singapore]: /^[A-Z][0-9]{6}[A-Z]$/,
6998
+ [CountryCodes.Singapore]: /^[A-Z][0-9]{7}[A-Z]$/,
6999
6999
  [CountryCodes.Spain]: {
7000
7000
  dni: /(^[KL]?\d{8}[A-Z]$)/,
7001
7001
  nie: /(^[MXYZ]\d{7,8}[A-Z]$)/
@@ -15712,15 +15712,15 @@ const defaultFieldConfig$5 = {
15712
15712
  [CountryCodes.Singapore]: {
15713
15713
  label: "nric",
15714
15714
  mask: {
15715
- mask: makeMask(...alphaInputs(1), ...numericInputs(6), ...alphaInputs(1)),
15715
+ mask: makeMask(...alphaInputs(1), ...numericInputs(7), ...alphaInputs(1)),
15716
15716
  transformOnType: uppercase
15717
15717
  },
15718
15718
  validators: validatePatternOnBlur(CountryIdNumberPatterns[CountryCodes.Singapore]),
15719
15719
  guidanceText: {
15720
15720
  key: "enterNCharactersWithAMixForExample",
15721
15721
  values: {
15722
- numChars: "8",
15723
- example: "T123456J"
15722
+ numChars: "9",
15723
+ example: "T9123456J"
15724
15724
  }
15725
15725
  }
15726
15726
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.3.4",
3
+ "version": "3.3.5",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "files": [