@sentry/api 0.446.0 → 1.0.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/README.md +2 -2
- package/dist/zod.gen.d.ts +17150 -96769
- package/dist/zod.js +3401 -3401
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -273,7 +273,7 @@ import { vGetProjectResponse } from "@sentry/api/valibot";
|
|
|
273
273
|
const project = v.parse(vGetProjectResponse, input);
|
|
274
274
|
```
|
|
275
275
|
|
|
276
|
-
|
|
276
|
+
Zod 4 runtime schemas are available through another optional entry point:
|
|
277
277
|
|
|
278
278
|
```bash
|
|
279
279
|
npm install @sentry/api zod
|
|
@@ -285,7 +285,7 @@ import { zGetProjectResponse } from "@sentry/api/zod";
|
|
|
285
285
|
const project = zGetProjectResponse.parse(input);
|
|
286
286
|
```
|
|
287
287
|
|
|
288
|
-
`valibot` and `zod` are optional peer dependencies. Install neither when you only need the generated client and TypeScript types, or install the validator used by your application. The `@sentry/api/valibot` entry requires Valibot 1; its optional peer uses a wildcard because npm applies peer constraints to the whole package, including consumers that never import this entry.
|
|
288
|
+
`valibot` and `zod` are optional peer dependencies. Install neither when you only need the generated client and TypeScript types, or install the validator used by your application. The `@sentry/api/valibot` entry requires Valibot 1; its optional peer uses a wildcard because npm applies peer constraints to the whole package, including consumers that never import this entry. The `@sentry/api/zod` entry requires Zod 4.6.6 or later.
|
|
289
289
|
|
|
290
290
|
## Error handling
|
|
291
291
|
|