sst-http 0.2.2 → 0.2.3

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 CHANGED
@@ -46,7 +46,7 @@ Parameter decorators are available when you want granular control:
46
46
 
47
47
  ```ts
48
48
  import { Body, Post } from "sst-http";
49
- import { z } from "zod";
49
+ import { z } from "zod/v4";
50
50
 
51
51
  const CreateTodo = z.object({ title: z.string().min(1) });
52
52
 
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { APIGatewayProxyEvent, APIGatewayProxyEventV2, APIGatewayProxyResult, APIGatewayProxyResultV2 } from 'aws-lambda';
2
2
  import { c as ResponseLike, F as FirebaseAuthOptions, d as RouteOptions } from './types-D69iuoxv.cjs';
3
3
  export { g as FirebaseAuthMetadata, e as Handler, f as HandlerContext, H as HttpMethod } from './types-D69iuoxv.cjs';
4
- import { ZodTypeAny } from 'zod';
4
+ import { ZodTypeAny } from 'zod/v4';
5
5
 
6
6
  declare class HttpError extends Error {
7
7
  readonly statusCode: number;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { APIGatewayProxyEvent, APIGatewayProxyEventV2, APIGatewayProxyResult, APIGatewayProxyResultV2 } from 'aws-lambda';
2
2
  import { c as ResponseLike, F as FirebaseAuthOptions, d as RouteOptions } from './types-D69iuoxv.js';
3
3
  export { g as FirebaseAuthMetadata, e as Handler, f as HandlerContext, H as HttpMethod } from './types-D69iuoxv.js';
4
- import { ZodTypeAny } from 'zod';
4
+ import { ZodTypeAny } from 'zod/v4';
5
5
 
6
6
  declare class HttpError extends Error {
7
7
  readonly statusCode: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sst-http",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Decorator-based routing for SST v3 with a single Lambda and Firebase JWT authorizer.",
5
5
  "license": "MIT",
6
6
  "author": "",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "peerDependencies": {
49
49
  "sst": "^3.0.0",
50
- "zod": "^3.23.0"
50
+ "zod": "^4.1.12"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@eslint/js": "^9.37.0",
@@ -57,7 +57,8 @@
57
57
  "globals": "^16.4.0",
58
58
  "tsup": "^8.0.1",
59
59
  "typescript": "^5.4.0",
60
- "typescript-eslint": "^8.46.0"
60
+ "typescript-eslint": "^8.46.0",
61
+ "zod": "^4.1.12"
61
62
  },
62
63
  "publishConfig": {
63
64
  "access": "public"