nuxt-graphql-middleware 3.0.1 → 3.0.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.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-graphql-middleware",
3
3
  "configKey": "graphqlMiddleware",
4
- "version": "3.0.1",
4
+ "version": "3.0.2",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.0.0"
7
7
  }
package/dist/module.mjs CHANGED
@@ -17,7 +17,7 @@ import { oldVisit } from '@graphql-codegen/plugin-helpers';
17
17
  import { pascalCase } from 'change-case-all';
18
18
 
19
19
  const name = "nuxt-graphql-middleware";
20
- const version = "3.0.1";
20
+ const version = "3.0.2";
21
21
 
22
22
  var GraphqlMiddlewareTemplate = /* @__PURE__ */ ((GraphqlMiddlewareTemplate2) => {
23
23
  GraphqlMiddlewareTemplate2["OperationTypes"] = "graphql-operations.d.ts";
@@ -451,7 +451,7 @@ const module = defineNuxtModule({
451
451
  message: "Do you want to reload the GraphQL schema?"
452
452
  }).then(async ({ accept }) => {
453
453
  if (accept) {
454
- await getSchemaPath(options, srcResolver);
454
+ await getSchemaPath(options, srcResolver, true);
455
455
  await generateHandler();
456
456
  }
457
457
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-graphql-middleware",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Module to perform GraphQL requests as a server middleware.",
5
5
  "repository": {
6
6
  "type": "git",