@cedarjs/api 8.0.0-canary.3624 → 8.0.0-canary.3626
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/dist/cors.d.ts.map +1 -1
- package/dist/cors.js +0 -1
- package/dist/index.js +3 -3
- package/dist/transforms.js +2 -2
- package/package.json +2 -2
package/dist/cors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cors.d.ts","sourceRoot":"","sources":["../src/cors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cors.d.ts","sourceRoot":"","sources":["../src/cors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAErD,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IACpC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC3B,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAClC,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAClC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAChD,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE9D,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS;8BA6ChC,cAAc;+BAGb,cAAc,GAAG,WAAW;EAgC1D"}
|
package/dist/cors.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -8,9 +8,9 @@ export * from "./cors.js";
|
|
|
8
8
|
export * from "./event.js";
|
|
9
9
|
export * from "./signedTokens/index.js";
|
|
10
10
|
const prismaVersion = "7.10.1";
|
|
11
|
-
const redwoodVersion = "8.0.0-canary.
|
|
12
|
-
const cedarjsVersion = "8.0.0-canary.
|
|
13
|
-
const cedarVersion = "8.0.0-canary.
|
|
11
|
+
const redwoodVersion = "8.0.0-canary.3626";
|
|
12
|
+
const cedarjsVersion = "8.0.0-canary.3626";
|
|
13
|
+
const cedarVersion = "8.0.0-canary.3626";
|
|
14
14
|
export {
|
|
15
15
|
cedarVersion,
|
|
16
16
|
cedarjsVersion,
|
package/dist/transforms.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Request as PonyfillRequest } from "@whatwg-node/fetch";
|
|
2
2
|
const parseLambdaEventBody = (event) => {
|
|
3
3
|
if (!event.body) {
|
|
4
4
|
return {};
|
|
@@ -125,7 +125,7 @@ async function normalizeRequest(event) {
|
|
|
125
125
|
}
|
|
126
126
|
const jsonBody = parseLambdaEventBody(event);
|
|
127
127
|
return {
|
|
128
|
-
headers: new Headers(event.headers),
|
|
128
|
+
headers: new Headers(event.headers ?? {}),
|
|
129
129
|
method: event.httpMethod,
|
|
130
130
|
query: event.queryStringParameters,
|
|
131
131
|
jsonBody
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/api",
|
|
3
|
-
"version": "8.0.0-canary.
|
|
3
|
+
"version": "8.0.0-canary.3626",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"title-case": "3.0.3"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@cedarjs/framework-tools": "8.0.0-canary.
|
|
86
|
+
"@cedarjs/framework-tools": "8.0.0-canary.3626",
|
|
87
87
|
"@prisma/client": "7.10.1",
|
|
88
88
|
"@types/aws-lambda": "8.10.164",
|
|
89
89
|
"@types/memjs": "1",
|