@gambalabs/apollo 6.0.0-alpha.13 → 6.0.0-alpha.16
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 +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/plugin.mjs +1 -3
- package/package.json +1 -1
package/dist/module.json
CHANGED
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.
|
|
8
|
+
const version = "6.0.0-alpha.16";
|
|
9
9
|
|
|
10
10
|
const logger = useLogger(name);
|
|
11
11
|
async function readConfigFile(path) {
|
package/dist/runtime/plugin.mjs
CHANGED
|
@@ -146,14 +146,12 @@ export default defineNuxtPlugin((nuxtApp) => {
|
|
|
146
146
|
const definition = getMainDefinition(query);
|
|
147
147
|
return definition.kind === "OperationDefinition" && definition.operation === "subscription";
|
|
148
148
|
},
|
|
149
|
-
|
|
149
|
+
ApolloLink.from([persistedLink, httpEndLink]),
|
|
150
150
|
httpEndLink
|
|
151
151
|
)
|
|
152
152
|
] : [httpEndLink]
|
|
153
153
|
]) : ApolloLink.from([
|
|
154
154
|
errorLink,
|
|
155
|
-
...clientConfig.persistedQueries ? [optionalPersistedLink] : [],
|
|
156
|
-
pusherLink,
|
|
157
155
|
...!wsLink ? [httpLink] : [
|
|
158
156
|
...clientConfig?.websocketsOnly ? [wsLink] : [
|
|
159
157
|
split(
|