@gambalabs/apollo 6.0.0-alpha.16 → 6.0.0-alpha.17

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@gambalabs/apollo",
3
- "version": "6.0.0-alpha.16",
3
+ "version": "6.0.0-alpha.17",
4
4
  "configKey": "apollo",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.0.0-rc.9"
package/dist/module.mjs CHANGED
@@ -5,7 +5,7 @@ import { useLogger, defineNuxtModule, createResolver, addTemplate, addPlugin, ad
5
5
  import GraphQLPlugin from '@rollup/plugin-graphql';
6
6
 
7
7
  const name = "@gambalabs/apollo";
8
- const version = "6.0.0-alpha.16";
8
+ const version = "6.0.0-alpha.17";
9
9
 
10
10
  const logger = useLogger(name);
11
11
  async function readConfigFile(path) {
@@ -144,7 +144,7 @@ export default defineNuxtPlugin((nuxtApp) => {
144
144
  split(
145
145
  ({ query }) => {
146
146
  const definition = getMainDefinition(query);
147
- return definition.kind === "OperationDefinition" && definition.operation === "subscription";
147
+ return definition.kind === "OperationDefinition" && definition.operation === "query";
148
148
  },
149
149
  ApolloLink.from([persistedLink, httpEndLink]),
150
150
  httpEndLink
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gambalabs/apollo",
3
- "version": "6.0.0-alpha.16",
3
+ "version": "6.0.0-alpha.17",
4
4
  "license": "MIT",
5
5
  "repository": "https://github.com/GambaLabs/apollo",
6
6
  "homepage": "https://apollo.nuxtjs.org",