@amoutonbrady/graphql-client
Advanced tools
Comparing version 0.2.1 to 0.2.2
// 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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6150
1