@vyriy/handler 0.9.3 → 0.9.5

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/api/api.d.ts CHANGED
@@ -7,4 +7,4 @@ export declare const API_HEADERS: {
7
7
  'x-robots-tag': string;
8
8
  };
9
9
  export declare const createApi: Api;
10
- export declare const api: import("./types.js").Decorator<import("aws-lambda").APIGatewayProxyEvent, import("aws-lambda").APIGatewayProxyResult>;
10
+ export declare const api: import("./types.js").Decorator<import("packages/router/types.js").APIGatewayProxyEvent, import("packages/router/types.js").APIGatewayProxyResult>;
@@ -1,3 +1,3 @@
1
1
  import type { Api } from './types.js';
2
2
  export declare const createApi: Api;
3
- export declare const api: import("./types.js").Decorator<import("aws-lambda").APIGatewayProxyEvent>;
3
+ export declare const api: import("./types.js").Decorator<import("packages/router/types.js").APIGatewayProxyEvent>;
@@ -1 +1 @@
1
- export declare const withCors: (options?: unknown) => import("../types.js").Decorator<import("aws-lambda").APIGatewayProxyEvent>;
1
+ export declare const withCors: (options?: unknown) => import("../types.js").Decorator<import("packages/router/types.js").APIGatewayProxyEvent>;
@@ -1 +1 @@
1
- export declare const withHeaders: (options?: Record<string, string> | undefined) => import("../types.js").Decorator<import("aws-lambda").APIGatewayProxyEvent>;
1
+ export declare const withHeaders: (options?: Record<string, string> | undefined) => import("../types.js").Decorator<import("packages/router/types.js").APIGatewayProxyEvent>;
@@ -1,2 +1,2 @@
1
1
  import type { HealthcheckOptions } from '../../wrappers/healthcheck.js';
2
- export declare const withHealthcheck: (options?: HealthcheckOptions | undefined) => import("../types.js").Decorator<import("aws-lambda").APIGatewayProxyEvent>;
2
+ export declare const withHealthcheck: (options?: HealthcheckOptions | undefined) => import("../types.js").Decorator<import("packages/router/types.js").APIGatewayProxyEvent>;
@@ -1 +1 @@
1
- export declare const withCors: (options?: unknown) => import("../types.js").Decorator<import("aws-lambda").APIGatewayProxyEvent, import("aws-lambda").APIGatewayProxyResult>;
1
+ export declare const withCors: (options?: unknown) => import("../types.js").Decorator<import("packages/router/types.js").APIGatewayProxyEvent, import("packages/router/types.js").APIGatewayProxyResult>;
@@ -1 +1 @@
1
- export declare const withHeaders: (options?: Record<string, string> | undefined) => import("../types.js").Decorator<import("aws-lambda").APIGatewayProxyEvent, import("aws-lambda").APIGatewayProxyResult>;
1
+ export declare const withHeaders: (options?: Record<string, string> | undefined) => import("../types.js").Decorator<import("packages/router/types.js").APIGatewayProxyEvent, import("packages/router/types.js").APIGatewayProxyResult>;
@@ -2,7 +2,7 @@ export type HealthcheckOptions = {
2
2
  path?: string;
3
3
  action?: () => Promise<void>;
4
4
  };
5
- export declare const withHealthcheck: (options?: HealthcheckOptions | undefined) => import("../types.js").Decorator<import("aws-lambda").APIGatewayProxyEvent, import("aws-lambda").APIGatewayProxyResult | {
5
+ export declare const withHealthcheck: (options?: HealthcheckOptions | undefined) => import("../types.js").Decorator<import("packages/router/types.js").APIGatewayProxyEvent, import("packages/router/types.js").APIGatewayProxyResult | {
6
6
  statusCode: number;
7
7
  body: string;
8
8
  }>;
@@ -1,12 +1,12 @@
1
1
  export declare const create: {
2
2
  api: import("../types.js").Api;
3
- dynamodb: (options?: import("../types.js").EventHandlerOptions<import("aws-lambda").DynamoDBStreamEvent>) => import("../types.js").Decorator<import("aws-lambda").DynamoDBStreamEvent, void>;
4
- eventBridge: (options?: import("../types.js").EventHandlerOptions<import("aws-lambda").EventBridgeEvent<string, unknown>>) => import("../types.js").Decorator<import("aws-lambda").EventBridgeEvent<string, unknown>, void>;
3
+ dynamodb: (options?: import("../types.js").EventHandlerOptions<import("node_modules/@types/aws-lambda/index.js").DynamoDBStreamEvent>) => import("../types.js").Decorator<import("node_modules/@types/aws-lambda/index.js").DynamoDBStreamEvent, void>;
4
+ eventBridge: (options?: import("../types.js").EventHandlerOptions<import("node_modules/@types/aws-lambda/index.js").EventBridgeEvent<string, unknown>>) => import("../types.js").Decorator<import("node_modules/@types/aws-lambda/index.js").EventBridgeEvent<string, unknown>, void>;
5
5
  httpApi: import("../types.js").HttpApi;
6
- s3: (options?: import("../types.js").EventHandlerOptions<import("aws-lambda").S3Event>) => import("../types.js").Decorator<import("aws-lambda").S3Event, void>;
7
- schedule: (options?: import("../types.js").EventHandlerOptions<import("aws-lambda").ScheduledEvent>) => import("../types.js").Decorator<import("aws-lambda").ScheduledEvent, void>;
8
- ses: (options?: import("../types.js").EventHandlerOptions<import("aws-lambda").SESEvent>) => import("../types.js").Decorator<import("aws-lambda").SESEvent, void>;
9
- sns: (options?: import("../types.js").EventHandlerOptions<import("aws-lambda").SNSEvent>) => import("../types.js").Decorator<import("aws-lambda").SNSEvent, void>;
10
- sqs: (options?: import("../types.js").EventHandlerOptions<import("aws-lambda").SQSEvent>) => import("../types.js").Decorator<import("aws-lambda").SQSEvent, void>;
6
+ s3: (options?: import("../types.js").EventHandlerOptions<import("node_modules/@types/aws-lambda/index.js").S3Event>) => import("../types.js").Decorator<import("node_modules/@types/aws-lambda/index.js").S3Event, void>;
7
+ schedule: (options?: import("../types.js").EventHandlerOptions<import("node_modules/@types/aws-lambda/index.js").ScheduledEvent>) => import("../types.js").Decorator<import("node_modules/@types/aws-lambda/index.js").ScheduledEvent, void>;
8
+ ses: (options?: import("../types.js").EventHandlerOptions<import("node_modules/@types/aws-lambda/index.js").SESEvent>) => import("../types.js").Decorator<import("node_modules/@types/aws-lambda/index.js").SESEvent, void>;
9
+ sns: (options?: import("../types.js").EventHandlerOptions<import("node_modules/@types/aws-lambda/index.js").SNSEvent>) => import("../types.js").Decorator<import("node_modules/@types/aws-lambda/index.js").SNSEvent, void>;
10
+ sqs: (options?: import("../types.js").EventHandlerOptions<import("node_modules/@types/aws-lambda/index.js").SQSEvent>) => import("../types.js").Decorator<import("node_modules/@types/aws-lambda/index.js").SQSEvent, void>;
11
11
  streamApi: import("../types.js").StreamApi;
12
12
  };
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@vyriy/handler",
3
- "version": "0.9.3",
3
+ "version": "0.9.5",
4
4
  "description": "Composable AWS Lambda handler chains and wrappers for Vyriy projects",
5
5
  "homepage": "https://vyriy.dev/docs/handler/",
6
6
  "type": "module",
7
7
  "dependencies": {
8
8
  "@types/aws-lambda": "^8.10.162",
9
- "@vyriy/chaos": "0.9.3",
10
- "@vyriy/config": "0.9.3",
11
- "@vyriy/logger": "0.9.3",
12
- "@vyriy/smoke": "0.9.3",
13
- "@vyriy/timeout": "0.9.3"
9
+ "@vyriy/chaos": "0.9.5",
10
+ "@vyriy/config": "0.9.5",
11
+ "@vyriy/logger": "0.9.5",
12
+ "@vyriy/smoke": "0.9.5",
13
+ "@vyriy/timeout": "0.9.5"
14
14
  },
15
15
  "agents": "./AGENTS.md",
16
16
  "license": "MIT",