graphql-request
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -86,3 +86,3 @@ "use strict"; | ||
else { | ||
errorResult = typeof result === 'string' ? { data: result } : result; | ||
errorResult = typeof result === 'string' ? { error: result } : result; | ||
throw new types_1.ClientError(__assign({}, errorResult, { status: response.status }), { query: query, variables: variables }); | ||
@@ -89,0 +89,0 @@ } |
{ | ||
"name": "graphql-request", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"main": "dist/src/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "./dist/src/index.d.ts", |
Sorry, the diff of this file is not supported yet
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
28502