@cedarjs/api-server 1.0.0-canary.12337 → 1.0.0-canary.12339

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
@@ -358,7 +358,7 @@ var init_lambdaLoader = __esm({
358
358
  (0, import_project_config3.getPaths)().api.base,
359
359
  options?.fastGlobOptions
360
360
  );
361
- const i = serverFunctions.findIndex((x) => x.includes("graphql"));
361
+ const i = serverFunctions.findIndex((x) => import_path2.default.basename(x) === "graphql.js");
362
362
  if (i >= 0) {
363
363
  const graphQLFn = serverFunctions.splice(i, 1)[0];
364
364
  serverFunctions.unshift(graphQLFn);
@@ -72,7 +72,7 @@ const loadFunctionsFromDist = async (options = {}) => {
72
72
  (0, import_project_config.getPaths)().api.base,
73
73
  options?.fastGlobOptions
74
74
  );
75
- const i = serverFunctions.findIndex((x) => x.includes("graphql"));
75
+ const i = serverFunctions.findIndex((x) => import_path.default.basename(x) === "graphql.js");
76
76
  if (i >= 0) {
77
77
  const graphQLFn = serverFunctions.splice(i, 1)[0];
78
78
  serverFunctions.unshift(graphQLFn);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/api-server",
3
- "version": "1.0.0-canary.12337+0cff882e8",
3
+ "version": "1.0.0-canary.12339+3ba9fa7e3",
4
4
  "description": "CedarJS's HTTP server for Serverless Functions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,11 +29,11 @@
29
29
  "test:watch": "vitest watch"
30
30
  },
31
31
  "dependencies": {
32
- "@cedarjs/context": "1.0.0-canary.12337",
33
- "@cedarjs/fastify-web": "1.0.0-canary.12337",
34
- "@cedarjs/internal": "1.0.0-canary.12337",
35
- "@cedarjs/project-config": "1.0.0-canary.12337",
36
- "@cedarjs/web-server": "1.0.0-canary.12337",
32
+ "@cedarjs/context": "1.0.0-canary.12339",
33
+ "@cedarjs/fastify-web": "1.0.0-canary.12339",
34
+ "@cedarjs/internal": "1.0.0-canary.12339",
35
+ "@cedarjs/project-config": "1.0.0-canary.12339",
36
+ "@cedarjs/web-server": "1.0.0-canary.12339",
37
37
  "@fastify/multipart": "9.0.3",
38
38
  "@fastify/url-data": "6.0.3",
39
39
  "chalk": "4.1.2",
@@ -51,7 +51,7 @@
51
51
  "yargs": "17.7.2"
52
52
  },
53
53
  "devDependencies": {
54
- "@cedarjs/framework-tools": "1.0.0-canary.12337",
54
+ "@cedarjs/framework-tools": "1.0.0-canary.12339",
55
55
  "@types/aws-lambda": "8.10.145",
56
56
  "@types/lodash": "4.17.15",
57
57
  "@types/qs": "6.9.16",
@@ -64,12 +64,12 @@
64
64
  "vitest": "2.1.9"
65
65
  },
66
66
  "peerDependencies": {
67
- "@cedarjs/graphql-server": "1.0.0-canary.12337"
67
+ "@cedarjs/graphql-server": "1.0.0-canary.12339"
68
68
  },
69
69
  "peerDependenciesMeta": {
70
70
  "@cedarjs/graphql-server": {
71
71
  "optional": true
72
72
  }
73
73
  },
74
- "gitHead": "0cff882e8cb0c5f7cee344e0375a8fa5bcd3c0ce"
74
+ "gitHead": "3ba9fa7e351a3b4b661859628cd7e07594d8ab7f"
75
75
  }