Comparing version 1.2.8 to 1.2.9
@@ -8,3 +8,3 @@ "use strict"; | ||
//sanity check | ||
if (endpointUrl && !endpointUrl.match(/^https?:\/\/.*\/graphql$/)) { | ||
if (endpointUrl && !endpointUrl.match(/^https?:\/\/.*\/graphql*/)) { | ||
throw new Error(`string doesn't appear to be a URL of the form <http(s)://some-domain/graphql>'. You entered "${endpointUrl}"`); | ||
@@ -11,0 +11,0 @@ } |
{ | ||
"name": "ar-gql", | ||
"version": "1.2.8", | ||
"version": "1.2.9", | ||
"main": "dist/index", | ||
@@ -5,0 +5,0 @@ "types": "dist/index", |
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