@swan-io/shared-business 13.4.14 → 13.5.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swan-io/shared-business",
3
- "version": "13.4.14",
3
+ "version": "13.5.0",
4
4
  "engines": {
5
5
  "node": ">22.12.0"
6
6
  },
@@ -25,31 +25,31 @@
25
25
  ],
26
26
  "license": "MIT",
27
27
  "peerDependencies": {
28
- "@swan-io/lake": "13.4.14"
28
+ "@swan-io/lake": "13.5.0"
29
29
  },
30
30
  "dependencies": {
31
- "@formatjs/intl": "^3.1.6",
31
+ "@formatjs/intl": "^4.1.2",
32
32
  "@placekit/client-js": "^2.3.0",
33
- "@swan-io/boxed": "^3.2.0",
33
+ "@swan-io/boxed": "^3.2.1",
34
34
  "@swan-io/request": "^3.1.0",
35
35
  "@swan-io/use-form": "^3.1.0",
36
- "dayjs": "^1.11.13",
36
+ "dayjs": "^1.11.19",
37
37
  "iban": "^0.0.14",
38
- "react": "^19.1.1",
38
+ "react": "^19.2.4",
39
39
  "react-atomic-state": "^2.1.0",
40
- "react-dom": "^19.1.1",
41
- "react-dropzone": "^14.3.8",
42
- "react-native-web": "^0.20.0",
40
+ "react-dom": "^19.2.4",
41
+ "react-dropzone": "^14.4.0",
42
+ "react-native-web": "^0.21.2",
43
43
  "rifm": "^0.12.1",
44
- "ts-pattern": "^5.8.0",
45
- "uuid": "^11.1.0"
44
+ "ts-pattern": "^5.9.0",
45
+ "uuid": "^13.0.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/iban": "0.0.35",
49
- "@types/react": "^19.1.10",
50
- "@types/react-dom": "^19.1.7",
49
+ "@types/react": "^19.2.10",
50
+ "@types/react-dom": "^19.2.3",
51
51
  "@types/react-native": "^0.72.8",
52
- "type-fest": "^4.41.0",
53
- "@swan-io/lake": "13.4.14"
52
+ "type-fest": "^5.4.3",
53
+ "@swan-io/lake": "13.5.0"
54
54
  }
55
55
  }
@@ -202,7 +202,7 @@ export const validateUsaTaxNumber = value => {
202
202
  if (value == null || !value) {
203
203
  return;
204
204
  }
205
- if (isValidUsaTaxNumber(value)) {
205
+ if (!isValidUsaTaxNumber(value)) {
206
206
  return t("common.form.invalidTaxIdentificationNumber");
207
207
  }
208
208
  };