Comparing version 3.2.2-canary-20241030171637.226cdf31797ac07d5472d9d6e17c7138ef87e932 to 3.2.2-canary-20241110205308.6f5123252e0573c9ed6a8616c6d0a9d99f18707b
@@ -6,2 +6,2 @@ import type { ExecutionResult } from 'graphql'; | ||
export declare const isExecutionResult: (input: unknown) => input is ExecutionResult; | ||
export declare const handleResponseErrors: (result: ExecutionResult) => Promise<void>; | ||
export declare const handleResponseErrors: (result: ExecutionResult) => void; |
@@ -25,3 +25,3 @@ 'use strict'; | ||
return JSON.parse(text); | ||
} catch (error) { | ||
} catch { | ||
throw new index.GQtyError( | ||
@@ -46,3 +46,3 @@ `Received malformed JSON response from GraphQL endpoint: ${text.length > 50 ? text.slice(0, 50) + "..." : text}` | ||
}; | ||
const handleResponseErrors = async (result) => { | ||
const handleResponseErrors = (result) => { | ||
var _a; | ||
@@ -49,0 +49,0 @@ if ((_a = result.errors) == null ? void 0 : _a.length) { |
{ | ||
"name": "gqty", | ||
"version": "3.2.2-canary-20241030171637.226cdf31797ac07d5472d9d6e17c7138ef87e932", | ||
"version": "3.2.2-canary-20241110205308.6f5123252e0573c9ed6a8616c6d0a9d99f18707b", | ||
"description": "The No-GraphQL Client for TypeScript", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is not supported yet
295389