@cedarjs/api-server 4.0.0-canary.13831 → 4.0.0-canary.13834
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/bin.js
CHANGED
|
@@ -357,11 +357,11 @@ var init_lambdaLoader = __esm({
|
|
|
357
357
|
return void 0;
|
|
358
358
|
})();
|
|
359
359
|
const cedarHandler = (() => {
|
|
360
|
-
if ("
|
|
361
|
-
return fnImport.
|
|
360
|
+
if ("handleRequest" in fnImport && typeof fnImport.handleRequest === "function") {
|
|
361
|
+
return fnImport.handleRequest;
|
|
362
362
|
}
|
|
363
|
-
if ("default" in fnImport && fnImport.default && "
|
|
364
|
-
return fnImport.default.
|
|
363
|
+
if ("default" in fnImport && fnImport.default && "handleRequest" in fnImport.default && typeof fnImport.default.handleRequest === "function") {
|
|
364
|
+
return fnImport.default.handleRequest;
|
|
365
365
|
}
|
|
366
366
|
return void 0;
|
|
367
367
|
})();
|
|
@@ -376,7 +376,7 @@ var init_lambdaLoader = __esm({
|
|
|
376
376
|
routeName,
|
|
377
377
|
"at",
|
|
378
378
|
fnPath,
|
|
379
|
-
"does not have a function called handler or
|
|
379
|
+
"does not have a function called handler or handleRequest defined."
|
|
380
380
|
);
|
|
381
381
|
}
|
|
382
382
|
cedarRouteManifest.push({
|
package/dist/cjs/bin.js
CHANGED
|
@@ -379,11 +379,11 @@ var init_lambdaLoader = __esm({
|
|
|
379
379
|
return void 0;
|
|
380
380
|
})();
|
|
381
381
|
const cedarHandler = (() => {
|
|
382
|
-
if ("
|
|
383
|
-
return fnImport.
|
|
382
|
+
if ("handleRequest" in fnImport && typeof fnImport.handleRequest === "function") {
|
|
383
|
+
return fnImport.handleRequest;
|
|
384
384
|
}
|
|
385
|
-
if ("default" in fnImport && fnImport.default && "
|
|
386
|
-
return fnImport.default.
|
|
385
|
+
if ("default" in fnImport && fnImport.default && "handleRequest" in fnImport.default && typeof fnImport.default.handleRequest === "function") {
|
|
386
|
+
return fnImport.default.handleRequest;
|
|
387
387
|
}
|
|
388
388
|
return void 0;
|
|
389
389
|
})();
|
|
@@ -398,7 +398,7 @@ var init_lambdaLoader = __esm({
|
|
|
398
398
|
routeName,
|
|
399
399
|
"at",
|
|
400
400
|
fnPath,
|
|
401
|
-
"does not have a function called handler or
|
|
401
|
+
"does not have a function called handler or handleRequest defined."
|
|
402
402
|
);
|
|
403
403
|
}
|
|
404
404
|
cedarRouteManifest.push({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lambdaLoader.d.ts","sourceRoot":"","sources":["../../../src/plugins/lambdaLoader.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEzC,OAAO,KAAK,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EACd,uBAAuB,EACxB,MAAM,SAAS,CAAA;AAEhB,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAEjB,MAAM,sBAAsB,CAAA;AAO7B,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAC7C,eAAO,MAAM,gBAAgB,EAAE,OAAY,CAAA;AAC3C,eAAO,MAAM,cAAc,2BAAkC,CAAA;AAG7D;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,0BAAgC,CAAA;AAIlE,eAAO,MAAM,kBAAkB,GAAU,gBAAgB,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"lambdaLoader.d.ts","sourceRoot":"","sources":["../../../src/plugins/lambdaLoader.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEzC,OAAO,KAAK,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EACd,uBAAuB,EACxB,MAAM,SAAS,CAAA;AAEhB,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAEjB,MAAM,sBAAsB,CAAA;AAO7B,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAC7C,eAAO,MAAM,gBAAgB,EAAE,OAAY,CAAA;AAC3C,eAAO,MAAM,cAAc,2BAAkC,CAAA;AAG7D;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,0BAAgC,CAAA;AAIlE,eAAO,MAAM,kBAAkB,GAAU,gBAAgB,MAAM,EAAE,kBAqGhE,CAAA;AAED,KAAK,4BAA4B,GAAG;IAClC,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,qBAAqB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC1C,CAAA;AAGD,eAAO,MAAM,qBAAqB,GAChC,UAAS,4BAAiC,kBAe3C,CAAA;AA0BD,UAAU,oBAAqB,SAAQ,uBAAuB;IAC5D,MAAM,EAAE;QACN,SAAS,EAAE,MAAM,CAAA;KAClB,CAAA;CACF;AAED;;;;IAII;AACJ,eAAO,MAAM,oBAAoB,GAC/B,KAAK,cAAc,CAAC,oBAAoB,CAAC,EACzC,OAAO,YAAY,kBAsEpB,CAAA"}
|
|
@@ -70,11 +70,11 @@ const setLambdaFunctions = async (foundFunctions) => {
|
|
|
70
70
|
return void 0;
|
|
71
71
|
})();
|
|
72
72
|
const cedarHandler = (() => {
|
|
73
|
-
if ("
|
|
74
|
-
return fnImport.
|
|
73
|
+
if ("handleRequest" in fnImport && typeof fnImport.handleRequest === "function") {
|
|
74
|
+
return fnImport.handleRequest;
|
|
75
75
|
}
|
|
76
|
-
if ("default" in fnImport && fnImport.default && "
|
|
77
|
-
return fnImport.default.
|
|
76
|
+
if ("default" in fnImport && fnImport.default && "handleRequest" in fnImport.default && typeof fnImport.default.handleRequest === "function") {
|
|
77
|
+
return fnImport.default.handleRequest;
|
|
78
78
|
}
|
|
79
79
|
return void 0;
|
|
80
80
|
})();
|
|
@@ -89,7 +89,7 @@ const setLambdaFunctions = async (foundFunctions) => {
|
|
|
89
89
|
routeName,
|
|
90
90
|
"at",
|
|
91
91
|
fnPath,
|
|
92
|
-
"does not have a function called handler or
|
|
92
|
+
"does not have a function called handler or handleRequest defined."
|
|
93
93
|
);
|
|
94
94
|
}
|
|
95
95
|
cedarRouteManifest.push({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lambdaLoader.d.ts","sourceRoot":"","sources":["../../src/plugins/lambdaLoader.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEzC,OAAO,KAAK,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EACd,uBAAuB,EACxB,MAAM,SAAS,CAAA;AAEhB,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAEjB,MAAM,sBAAsB,CAAA;AAO7B,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAC7C,eAAO,MAAM,gBAAgB,EAAE,OAAY,CAAA;AAC3C,eAAO,MAAM,cAAc,2BAAkC,CAAA;AAG7D;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,0BAAgC,CAAA;AAIlE,eAAO,MAAM,kBAAkB,GAAU,gBAAgB,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"lambdaLoader.d.ts","sourceRoot":"","sources":["../../src/plugins/lambdaLoader.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEzC,OAAO,KAAK,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EACd,uBAAuB,EACxB,MAAM,SAAS,CAAA;AAEhB,OAAO,KAAK,EACV,YAAY,EACZ,gBAAgB,EAEjB,MAAM,sBAAsB,CAAA;AAO7B,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAC7C,eAAO,MAAM,gBAAgB,EAAE,OAAY,CAAA;AAC3C,eAAO,MAAM,cAAc,2BAAkC,CAAA;AAG7D;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,0BAAgC,CAAA;AAIlE,eAAO,MAAM,kBAAkB,GAAU,gBAAgB,MAAM,EAAE,kBAqGhE,CAAA;AAED,KAAK,4BAA4B,GAAG;IAClC,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,qBAAqB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAC1C,CAAA;AAGD,eAAO,MAAM,qBAAqB,GAChC,UAAS,4BAAiC,kBAe3C,CAAA;AA0BD,UAAU,oBAAqB,SAAQ,uBAAuB;IAC5D,MAAM,EAAE;QACN,SAAS,EAAE,MAAM,CAAA;KAClB,CAAA;CACF;AAED;;;;IAII;AACJ,eAAO,MAAM,oBAAoB,GAC/B,KAAK,cAAc,CAAC,oBAAoB,CAAC,EACzC,OAAO,YAAY,kBAsEpB,CAAA"}
|
|
@@ -32,11 +32,11 @@ const setLambdaFunctions = async (foundFunctions) => {
|
|
|
32
32
|
return void 0;
|
|
33
33
|
})();
|
|
34
34
|
const cedarHandler = (() => {
|
|
35
|
-
if ("
|
|
36
|
-
return fnImport.
|
|
35
|
+
if ("handleRequest" in fnImport && typeof fnImport.handleRequest === "function") {
|
|
36
|
+
return fnImport.handleRequest;
|
|
37
37
|
}
|
|
38
|
-
if ("default" in fnImport && fnImport.default && "
|
|
39
|
-
return fnImport.default.
|
|
38
|
+
if ("default" in fnImport && fnImport.default && "handleRequest" in fnImport.default && typeof fnImport.default.handleRequest === "function") {
|
|
39
|
+
return fnImport.default.handleRequest;
|
|
40
40
|
}
|
|
41
41
|
return void 0;
|
|
42
42
|
})();
|
|
@@ -51,7 +51,7 @@ const setLambdaFunctions = async (foundFunctions) => {
|
|
|
51
51
|
routeName,
|
|
52
52
|
"at",
|
|
53
53
|
fnPath,
|
|
54
|
-
"does not have a function called handler or
|
|
54
|
+
"does not have a function called handler or handleRequest defined."
|
|
55
55
|
);
|
|
56
56
|
}
|
|
57
57
|
cedarRouteManifest.push({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/api-server",
|
|
3
|
-
"version": "4.0.0-canary.
|
|
3
|
+
"version": "4.0.0-canary.13834+6ec383f4f1",
|
|
4
4
|
"description": "CedarJS's HTTP server for Serverless Functions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -111,11 +111,11 @@
|
|
|
111
111
|
"test:watch": "vitest watch"
|
|
112
112
|
},
|
|
113
113
|
"dependencies": {
|
|
114
|
-
"@cedarjs/context": "4.0.0-canary.
|
|
115
|
-
"@cedarjs/fastify-web": "4.0.0-canary.
|
|
116
|
-
"@cedarjs/internal": "4.0.0-canary.
|
|
117
|
-
"@cedarjs/project-config": "4.0.0-canary.
|
|
118
|
-
"@cedarjs/web-server": "4.0.0-canary.
|
|
114
|
+
"@cedarjs/context": "4.0.0-canary.13834",
|
|
115
|
+
"@cedarjs/fastify-web": "4.0.0-canary.13834",
|
|
116
|
+
"@cedarjs/internal": "4.0.0-canary.13834",
|
|
117
|
+
"@cedarjs/project-config": "4.0.0-canary.13834",
|
|
118
|
+
"@cedarjs/web-server": "4.0.0-canary.13834",
|
|
119
119
|
"@fastify/multipart": "9.4.0",
|
|
120
120
|
"@fastify/url-data": "6.0.3",
|
|
121
121
|
"ansis": "4.2.0",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"yargs": "17.7.2"
|
|
133
133
|
},
|
|
134
134
|
"devDependencies": {
|
|
135
|
-
"@cedarjs/framework-tools": "4.0.0-canary.
|
|
135
|
+
"@cedarjs/framework-tools": "4.0.0-canary.13834",
|
|
136
136
|
"@types/aws-lambda": "8.10.161",
|
|
137
137
|
"@types/dotenv-defaults": "^5.0.0",
|
|
138
138
|
"@types/split2": "4.2.3",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"vitest": "3.2.4"
|
|
146
146
|
},
|
|
147
147
|
"peerDependencies": {
|
|
148
|
-
"@cedarjs/graphql-server": "4.0.0-canary.
|
|
148
|
+
"@cedarjs/graphql-server": "4.0.0-canary.13834"
|
|
149
149
|
},
|
|
150
150
|
"peerDependenciesMeta": {
|
|
151
151
|
"@cedarjs/graphql-server": {
|
|
@@ -155,5 +155,5 @@
|
|
|
155
155
|
"publishConfig": {
|
|
156
156
|
"access": "public"
|
|
157
157
|
},
|
|
158
|
-
"gitHead": "
|
|
158
|
+
"gitHead": "6ec383f4f1c26edf61cf252a6351501529a3da7f"
|
|
159
159
|
}
|