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

@contember/graphql-client

Package Overview
Dependencies
Maintainers
4
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/graphql-client - npm Package Compare versions

Comparing version 2.0.0-alpha.6 to 2.0.0-alpha.8

api-extractor.json

4

dist/development/index.js

@@ -1,3 +0,3 @@

import { GraphQlClient } from "./GraphQlClient.js";
import { GraphQlClientError } from "./GraphQlClientError.js";
import { GraphQlClient } from "./src/GraphQlClient.js";
import { GraphQlClientError } from "./src/GraphQlClientError.js";
export {

@@ -4,0 +4,0 @@ GraphQlClient,

@@ -1,3 +0,3 @@

import { GraphQlClient } from "./GraphQlClient.js";
import { GraphQlClientError } from "./GraphQlClientError.js";
import { GraphQlClient } from "./src/GraphQlClient.js";
import { GraphQlClientError } from "./src/GraphQlClientError.js";
export {

@@ -4,0 +4,0 @@ GraphQlClient,

{
"name": "@contember/graphql-client",
"license": "Apache-2.0",
"version": "2.0.0-alpha.6",
"version": "2.0.0-alpha.8",
"main": "./dist/production/index.js",

@@ -12,2 +12,3 @@ "exports": {

"production": "./dist/production/index.js",
"typescript": "./src/index.ts",
"default": "./dist/production/index.js"

@@ -19,2 +20,3 @@ },

"production": "./dist/production/index.cjs",
"typescript": "./src/index.ts",
"default": "./dist/production/index.cjs"

@@ -24,6 +26,2 @@ }

},
"files": [
"dist/",
"src/"
],
"typings": "./dist/types/index.d.ts",

@@ -33,8 +31,4 @@ "type": "module",

"scripts": {
"build": "yarn build:js:dev && yarn build:js:prod",
"build:js:dev": "NODE_ENV=development vite build --mode development",
"build:js:prod": "vite build --mode production",
"ae:build": "api-extractor run --local",
"ae:test": "api-extractor run",
"test": "vitest"
"ae:test": "api-extractor run"
},

@@ -45,4 +39,3 @@ "repository": {

"directory": "packages/graphql-client"
},
"stableVersion": "0.0.0"
}
}

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

export type GraphQlErrorRequest = { url: string, query: string, variables: Record<string, any> };
export type GraphQlErrorRequest = { url: string; query: string; variables: Record<string, any> }

@@ -3,0 +3,0 @@ export type GraphQlErrorType =

@@ -6,3 +6,3 @@ export interface GraphQlClientRequestOptions {

headers?: Record<string, string>
onBeforeRequest?: (query: { query: string, variables: GraphQlClientVariables }) => void
onBeforeRequest?: (query: { query: string; variables: GraphQlClientVariables }) => void
onResponse?: (response: Response) => void

@@ -9,0 +9,0 @@ onData?: (json: unknown) => void

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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