@graphql-tools/executor-common
Advanced tools
Comparing version
# @graphql-tools/executor-common | ||
## 0.0.4-alpha-1383d1d5b87ec3cf0efa3f00d188ba88bdd622a3 | ||
### Patch Changes | ||
- [#706](https://github.com/graphql-hive/gateway/pull/706) [`e393337`](https://github.com/graphql-hive/gateway/commit/e393337ecb40beffb79748b19b5aa8f2fd9197b7) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates: | ||
- Updated dependency [`@envelop/core@^5.2.3` ↗︎](https://www.npmjs.com/package/@envelop/core/v/5.2.3) (from `^5.1.0`, in `dependencies`) | ||
## 0.0.3 | ||
@@ -4,0 +12,0 @@ |
@@ -25,3 +25,18 @@ import { ExecutionRequest } from '@graphql-tools/utils'; | ||
declare function serializeExecutionRequest(opts: ExecutionRequestToGraphQLParams): SerializedExecutionRequest; | ||
interface UpstreamErrorExtensions { | ||
code?: string; | ||
serviceName?: string; | ||
request: { | ||
url?: string; | ||
method?: string; | ||
body?: unknown; | ||
}; | ||
response?: { | ||
status?: number; | ||
statusText?: string; | ||
headers?: Record<string, string>; | ||
body?: unknown; | ||
}; | ||
} | ||
export { type SerializedExecutionRequest, defaultPrintFn, serializeExecutionRequest }; | ||
export { type SerializedExecutionRequest, type UpstreamErrorExtensions, defaultPrintFn, serializeExecutionRequest }; |
{ | ||
"name": "@graphql-tools/executor-common", | ||
"version": "0.0.3", | ||
"version": "0.0.4-alpha-1383d1d5b87ec3cf0efa3f00d188ba88bdd622a3", | ||
"type": "module", | ||
@@ -42,3 +42,3 @@ "description": "A set of utils for faster development of GraphQL tools", | ||
"dependencies": { | ||
"@envelop/core": "^5.1.0", | ||
"@envelop/core": "^5.2.3", | ||
"@graphql-tools/utils": "^10.8.1" | ||
@@ -48,5 +48,5 @@ }, | ||
"graphql": "^16.9.0", | ||
"pkgroll": "2.11.0" | ||
"pkgroll": "2.11.2" | ||
}, | ||
"sideEffects": false | ||
} |
Sorry, the diff of this file is not supported yet
9187
15.15%79
23.44%Updated