@contember/graphql-client
Advanced tools
Comparing version 2.0.0-alpha.6 to 2.0.0-alpha.8
@@ -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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
96168
44
613
5