Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-tools/executor-http

Package Overview
Dependencies
Maintainers
3
Versions
513
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/executor-http - npm Package Compare versions

Comparing version 0.0.10-alpha-20230112104126-11029c52 to 0.1.0-alpha-20230112161633-d3f484e6

2

cjs/index.js

@@ -34,3 +34,3 @@ "use strict";

accept,
}, options === null || options === void 0 ? void 0 : options.headers, ((_g = request.extensions) === null || _g === void 0 ? void 0 : _g.headers) || {});
}, (typeof (options === null || options === void 0 ? void 0 : options.headers) === 'function' ? options.headers(request) : options === null || options === void 0 ? void 0 : options.headers) || {}, ((_g = request.extensions) === null || _g === void 0 ? void 0 : _g.headers) || {});
const query = (0, graphql_1.print)(request.document);

@@ -37,0 +37,0 @@ const requestBody = {

@@ -30,3 +30,3 @@ import { createGraphQLError, getOperationASTFromRequest, } from '@graphql-tools/utils';

accept,
}, options === null || options === void 0 ? void 0 : options.headers, ((_g = request.extensions) === null || _g === void 0 ? void 0 : _g.headers) || {});
}, (typeof (options === null || options === void 0 ? void 0 : options.headers) === 'function' ? options.headers(request) : options === null || options === void 0 ? void 0 : options.headers) || {}, ((_g = request.extensions) === null || _g === void 0 ? void 0 : _g.headers) || {});
const query = print(request.document);

@@ -33,0 +33,0 @@ const requestBody = {

{
"name": "@graphql-tools/executor-http",
"version": "0.0.10-alpha-20230112104126-11029c52",
"version": "0.1.0-alpha-20230112161633-d3f484e6",
"description": "A set of utils for faster development of GraphQL tools",

@@ -5,0 +5,0 @@ "sideEffects": false,

@@ -1,2 +0,2 @@

import { AsyncExecutor, SyncExecutor } from '@graphql-tools/utils';
import { AsyncExecutor, ExecutionRequest, SyncExecutor } from '@graphql-tools/utils';
import { GraphQLResolveInfo } from 'graphql';

@@ -23,3 +23,3 @@ import { isLiveQueryOperationDefinitionNode } from './isLiveQueryOperationDefinitionNode.js';

*/
headers?: HeadersConfig;
headers?: HeadersConfig | ((executorRequest?: ExecutionRequest) => HeadersConfig);
/**

@@ -26,0 +26,0 @@ * HTTP method to use when querying the original schema.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc