lambder 1.0.7 → 1.0.8
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/.vscode/settings.json +7 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/.vscode/settings.json
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { APIGatewayProxyEvent, APIGatewayProxyEventHeaders, Context } from "aws-lambda";
|
|
2
|
-
import Resolver, { ResolverResponse } from "./Resolver";
|
|
2
|
+
import Resolver, { ResolverResponse } from "./Resolver.js";
|
|
3
3
|
type RawResolvedContext = {
|
|
4
4
|
host: string;
|
|
5
5
|
url: string;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import querystring from "querystring";
|
|
2
2
|
import cookieParser from "cookie";
|
|
3
|
-
import Resolver from "./Resolver";
|
|
3
|
+
import Resolver from "./Resolver.js";
|
|
4
4
|
export const resolveEvent = (event, resolve, reject) => {
|
|
5
5
|
const host = event.headers.Host || event.headers.host || "";
|
|
6
6
|
const url = event.path;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -2,7 +2,7 @@ import querystring from "querystring";
|
|
|
2
2
|
import cookieParser from "cookie";
|
|
3
3
|
|
|
4
4
|
import type { APIGatewayProxyEvent, APIGatewayProxyEventHeaders, Context } from "aws-lambda";
|
|
5
|
-
import Resolver, { ResolverResponse } from "./Resolver";
|
|
5
|
+
import Resolver, { ResolverResponse } from "./Resolver.js";
|
|
6
6
|
|
|
7
7
|
type RawResolvedContext = {
|
|
8
8
|
host: string;
|