@domain-first/types 5.0.0 → 5.0.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -110,7 +110,7 @@ class NonEmptyString extends domainType(z.string().nonempty()) {}
110
110
  try {
111
111
  const _string = new NonEmptyString("");
112
112
  } catch (e: unknown) {
113
- if (e instanceof InvalidDataError) {
113
+ if (e instanceof TypeParsingError) {
114
114
  console.error(e.details.parsingIssues);
115
115
  console.error(e.details.value);
116
116
  }
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "valibot"
17
17
  ],
18
18
  "homepage": "https://codesandbox.io/p/devbox/async-cache-d8crnx?file=%2Findex.js%3A8%2C65",
19
- "version": "5.0.0",
19
+ "version": "5.0.1",
20
20
  "type": "module",
21
21
  "repository": {
22
22
  "type": "git",