@strapi/plugin-graphql 5.0.0-beta.1 → 5.0.0-beta.2

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.
@@ -9,7 +9,7 @@ const __variableDynamicImportRuntimeHelper = (glob, path) => {
9
9
  });
10
10
  };
11
11
  const name$1 = "@strapi/plugin-graphql";
12
- const version = "5.0.0-beta.0";
12
+ const version = "5.0.0-beta.1";
13
13
  const description = "Adds GraphQL endpoint with default API methods.";
14
14
  const repository = {
15
15
  type: "git",
@@ -64,7 +64,7 @@ const dependencies = {
64
64
  "@koa/cors": "3.4.3",
65
65
  "@strapi/design-system": "1.16.0",
66
66
  "@strapi/icons": "1.16.0",
67
- "@strapi/utils": "5.0.0-beta.0",
67
+ "@strapi/utils": "5.0.0-beta.1",
68
68
  graphql: "^16.8.1",
69
69
  "graphql-depth-limit": "^1.1.0",
70
70
  "graphql-playground-middleware-koa": "^1.6.21",
@@ -76,19 +76,19 @@ const dependencies = {
76
76
  pluralize: "8.0.0"
77
77
  };
78
78
  const devDependencies = {
79
- "@strapi/strapi": "5.0.0-beta.0",
80
- "@strapi/types": "5.0.0-beta.0",
79
+ "@strapi/strapi": "5.0.0-beta.1",
80
+ "@strapi/types": "5.0.0-beta.1",
81
81
  "@types/graphql-depth-limit": "1.1.5",
82
82
  "@types/koa-bodyparser": "4.3.12",
83
83
  "@types/koa__cors": "5.0.0",
84
84
  "cross-env": "^7.0.3",
85
- "eslint-config-custom": "5.0.0-beta.0",
85
+ "eslint-config-custom": "5.0.0-beta.1",
86
86
  koa: "2.13.4",
87
87
  react: "^18.2.0",
88
88
  "react-dom": "^18.2.0",
89
89
  "react-router-dom": "6.22.3",
90
90
  "styled-components": "5.3.11",
91
- tsconfig: "5.0.0-beta.0",
91
+ tsconfig: "5.0.0-beta.1",
92
92
  typescript: "5.3.2"
93
93
  };
94
94
  const peerDependencies = {
@@ -8,7 +8,7 @@ const __variableDynamicImportRuntimeHelper = (glob, path) => {
8
8
  });
9
9
  };
10
10
  const name$1 = "@strapi/plugin-graphql";
11
- const version = "5.0.0-beta.0";
11
+ const version = "5.0.0-beta.1";
12
12
  const description = "Adds GraphQL endpoint with default API methods.";
13
13
  const repository = {
14
14
  type: "git",
@@ -63,7 +63,7 @@ const dependencies = {
63
63
  "@koa/cors": "3.4.3",
64
64
  "@strapi/design-system": "1.16.0",
65
65
  "@strapi/icons": "1.16.0",
66
- "@strapi/utils": "5.0.0-beta.0",
66
+ "@strapi/utils": "5.0.0-beta.1",
67
67
  graphql: "^16.8.1",
68
68
  "graphql-depth-limit": "^1.1.0",
69
69
  "graphql-playground-middleware-koa": "^1.6.21",
@@ -75,19 +75,19 @@ const dependencies = {
75
75
  pluralize: "8.0.0"
76
76
  };
77
77
  const devDependencies = {
78
- "@strapi/strapi": "5.0.0-beta.0",
79
- "@strapi/types": "5.0.0-beta.0",
78
+ "@strapi/strapi": "5.0.0-beta.1",
79
+ "@strapi/types": "5.0.0-beta.1",
80
80
  "@types/graphql-depth-limit": "1.1.5",
81
81
  "@types/koa-bodyparser": "4.3.12",
82
82
  "@types/koa__cors": "5.0.0",
83
83
  "cross-env": "^7.0.3",
84
- "eslint-config-custom": "5.0.0-beta.0",
84
+ "eslint-config-custom": "5.0.0-beta.1",
85
85
  koa: "2.13.4",
86
86
  react: "^18.2.0",
87
87
  "react-dom": "^18.2.0",
88
88
  "react-router-dom": "6.22.3",
89
89
  "styled-components": "5.3.11",
90
- tsconfig: "5.0.0-beta.0",
90
+ tsconfig: "5.0.0-beta.1",
91
91
  typescript: "5.3.2"
92
92
  };
93
93
  const peerDependencies = {
@@ -159,9 +159,6 @@ async function bootstrap({ strapi: strapi2 }) {
159
159
  type: "content-api"
160
160
  }
161
161
  };
162
- if (ctx.request.method === "GET") {
163
- return next();
164
- }
165
162
  return strapi2.auth.authenticate(ctx, next);
166
163
  });
167
164
  handler.push(