@travetto/web-aws-lambda 7.0.4 → 7.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/web-aws-lambda",
3
- "version": "7.0.4",
3
+ "version": "7.0.6",
4
4
  "type": "module",
5
5
  "description": "Web APIs entry point support for AWS Lambdas.",
6
6
  "keywords": [
@@ -26,13 +26,13 @@
26
26
  "directory": "module/web-aws-lambda"
27
27
  },
28
28
  "dependencies": {
29
- "@travetto/web": "^7.0.4",
29
+ "@travetto/web": "^7.0.6",
30
30
  "@types/aws-lambda": "^8.10.159"
31
31
  },
32
32
  "peerDependencies": {
33
- "@travetto/cli": "^7.0.4",
34
- "@travetto/pack": "^7.0.3",
35
- "@travetto/test": "^7.0.4"
33
+ "@travetto/cli": "^7.0.7",
34
+ "@travetto/pack": "^7.0.5",
35
+ "@travetto/test": "^7.0.6"
36
36
  },
37
37
  "peerDependenciesMeta": {
38
38
  "@travetto/test": {
package/src/handler.ts CHANGED
@@ -4,7 +4,7 @@ import { Runtime, ConsoleManager } from '@travetto/runtime';
4
4
  import { DependencyRegistryIndex, Inject, Injectable } from '@travetto/di';
5
5
  import { Registry } from '@travetto/registry';
6
6
  import { ConfigurationService } from '@travetto/config';
7
- import { StandardWebRouter } from '@travetto/web';
7
+ import type { StandardWebRouter } from '@travetto/web';
8
8
 
9
9
  import { AwsLambdaWebUtil } from './util.ts';
10
10
 
package/src/util.ts CHANGED
@@ -1,6 +1,7 @@
1
- import { APIGatewayProxyEvent, APIGatewayProxyResult } from 'aws-lambda';
2
1
  import { buffer } from 'node:stream/consumers';
3
2
 
3
+ import type { APIGatewayProxyEvent, APIGatewayProxyResult } from 'aws-lambda';
4
+
4
5
  import { castTo } from '@travetto/runtime';
5
6
  import { WebBodyUtil, WebCommonUtil, WebRequest, WebResponse } from '@travetto/web';
6
7
 
@@ -1,6 +1,6 @@
1
1
  import { CliCommand, CliUtil } from '@travetto/cli';
2
2
  import { PackOperation } from '@travetto/pack/support/bin/operation.ts';
3
- import { BasePackCommand, PackOperationShape } from '@travetto/pack/support/pack.base.ts';
3
+ import { BasePackCommand, type PackOperationShape } from '@travetto/pack/support/pack.base.ts';
4
4
 
5
5
  /**
6
6
  * Standard lambda support for pack
@@ -1,12 +1,12 @@
1
- import { APIGatewayProxyEvent, Context } from 'aws-lambda';
1
+ import type { APIGatewayProxyEvent, Context } from 'aws-lambda';
2
2
 
3
3
  import { Inject, Injectable } from '@travetto/di';
4
- import { WebDispatcher, WebFilterContext, WebRequest, WebResponse } from '@travetto/web';
4
+ import { type WebDispatcher, type WebFilterContext, type WebRequest, WebResponse } from '@travetto/web';
5
5
  import { AppError, asFull, castTo } from '@travetto/runtime';
6
6
 
7
7
  import { WebTestDispatchUtil } from '@travetto/web/support/test/dispatch-util.ts';
8
8
 
9
- import { AwsLambdaWebHandler } from '../../src/handler.ts';
9
+ import type { AwsLambdaWebHandler } from '../../src/handler.ts';
10
10
 
11
11
  /**
12
12
  * Create an api gateway event given a web request