@tipe/nuxt-apollo-module
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -14,4 +14,4 @@ const path = require('path') | ||
// Sanitize clientConfigs option | ||
Object.keys(networkInterfaces).forEach((key) => { | ||
if (typeof networkInterfaces[key] !== 'string' || (typeof networkInterfaces[key] === 'string' && /^https?:\/\//.test(networkInterfaces[key]))) { | ||
Object.keys(clientConfigs).forEach((key) => { | ||
if (typeof clientConfigs[key] !== 'string' || (typeof clientConfigs[key] === 'string' && /^https?:\/\//.test(clientConfigs[key]))) { | ||
throw new Error(`[Apollo module] Network interface "${key}" should be a path to an exported Apollo Client config object.`) | ||
@@ -18,0 +18,0 @@ } |
{ | ||
"name": "@tipe/nuxt-apollo-module", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10933