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.2.1 to 0.2.2

4

dist/esm/graphql-client.js
// src/graphql-client.ts
function GraphQLClient(url, options = {}) {
let authorization = options.auth || "";
function GraphQLClient(url, options = { fetch: fetch.bind(window), auth: "" }) {
let authorization = options.auth;
const setAuth = (token) => authorization = token;

@@ -5,0 +5,0 @@ const request = (query, variables) => {

{
"version": "0.2.1",
"version": "0.2.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