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

@amoutonbrady/graphql-client

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amoutonbrady/graphql-client - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

dist/esm/graphql-client.js
// src/graphql-client.ts
function GraphQLClient(url, options) {
function GraphQLClient(url, options = {}) {
let authorization = options.auth || "";

@@ -4,0 +4,0 @@ let headers = {};

@@ -21,3 +21,3 @@ import type nodeFetch from 'node-fetch';

*/
export declare function GraphQLClient(url: string, options: Options): {
export declare function GraphQLClient(url: string, options?: Options): {
request: <T = any>(query: string, variables?: Record<string, any>) => Promise<T>;

@@ -24,0 +24,0 @@ setAuth: (token: string) => string;

{
"version": "0.3.1",
"version": "0.3.2",
"name": "@amoutonbrady/graphql-client",

@@ -4,0 +4,0 @@ "description": "Minimalistic GraphQL client",

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