@crossdelta/cloudevents 0.2.1 → 0.3.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 +3 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -20,10 +20,12 @@ Type-safe event-driven microservices with [NATS](https://nats.io) and [Zod](http
20
20
  ```
21
21
 
22
22
  ```bash
23
- bun add @crossdelta/cloudevents zod
23
+ bun add @crossdelta/cloudevents zod@4
24
24
  ```
25
25
 
26
26
  > **Prerequisites:** A running [NATS server](https://docs.nats.io/running-a-nats-service/introduction) with JetStream enabled.
27
+ >
28
+ > **Note:** Requires Zod v4 for full TypeScript support.
27
29
 
28
30
  ## Quick Start
29
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossdelta/cloudevents",
3
- "version": "0.2.1",
3
+ "version": "0.3.1",
4
4
  "description": "CloudEvents toolkit for TypeScript - Zod validation, handler discovery, NATS JetStream",
5
5
  "author": "crossdelta",
6
6
  "license": "MIT",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "peerDependencies": {
52
52
  "hono": "^4.6.0",
53
- "zod": "^3.23.0 || ^4.0.0"
53
+ "zod": "^4.0.0"
54
54
  },
55
55
  "trustedDependencies": [],
56
56
  "devDependencies": {