graphql-playground-html
Advanced tools
Comparing version 1.3.7-alpha.6 to 1.3.7-alpha.7
export interface MiddlewareOptions { | ||
endpoint?: string; | ||
subscriptionEndpoint?: string; | ||
subscriptionsEndpoint?: string; | ||
htmlTitle?: string; | ||
@@ -5,0 +5,0 @@ workspaceName?: string; |
@@ -96,2 +96,5 @@ "use strict"; | ||
} | ||
if (options.subscriptionsEndpoint) { | ||
extendedOptions.subscriptionEndpoint = options.subscriptionsEndpoint; | ||
} | ||
if (!extendedOptions.endpoint && !extendedOptions.configString) { | ||
@@ -98,0 +101,0 @@ /* tslint:disable-next-line */ |
{ | ||
"name": "graphql-playground-html", | ||
"version": "1.3.7-alpha.6", | ||
"homepage": "https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-html", | ||
"description": "GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).", | ||
"version": "1.3.7-alpha.7", | ||
"homepage": | ||
"https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-html", | ||
"description": | ||
"GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).", | ||
"contributors": [ | ||
@@ -14,5 +16,3 @@ "Tim Suchanek <tim@graph.cool>", | ||
"main": "dist/index.js", | ||
"files": [ | ||
"dist" | ||
], | ||
"files": ["dist"], | ||
"scripts": { | ||
@@ -22,8 +22,3 @@ "build": "tsc", | ||
}, | ||
"keywords": [ | ||
"graphql", | ||
"graphiql", | ||
"playground", | ||
"graphcool" | ||
], | ||
"keywords": ["graphql", "graphiql", "playground", "graphcool"], | ||
"devDependencies": { | ||
@@ -30,0 +25,0 @@ "@types/node": "^8.0.47", |
Sorry, the diff of this file is not supported yet
27882
196