@operato/graphql
Advanced tools
Comparing version 9.0.0-beta.0 to 9.0.0-beta.4
@@ -6,2 +6,11 @@ # Change Log | ||
## [9.0.0-beta.4](https://github.com/hatiolab/operato/compare/v9.0.0-beta.3...v9.0.0-beta.4) (2025-01-20) | ||
### :bug: Bug Fix | ||
* esm module ([0402232](https://github.com/hatiolab/operato/commit/04022327fa47eac64eaf3c56eeec55b9ace13e0e)) | ||
## [9.0.0-beta.0](https://github.com/hatiolab/operato/compare/v8.0.0-beta.11...v9.0.0-beta.0) (2025-01-13) | ||
@@ -8,0 +17,0 @@ |
import { ApolloClient, InMemoryCache } from '@apollo/client/core'; | ||
import { getClientLink } from './graphql-env'; | ||
import { getClientLink } from './graphql-env.js'; | ||
export const GRAPHQL_URI = '/graphql'; | ||
@@ -4,0 +4,0 @@ export const SUBSCRIPTION_URI = GRAPHQL_URI; |
@@ -8,3 +8,3 @@ import createUploadLink from 'apollo-upload-client/createUploadLink.mjs'; | ||
import { decodeHTML } from '@operato/utils'; | ||
import { activeRequestCounterLink, decreaseActiveRequestCounter } from './active-request-counter-link'; | ||
import { activeRequestCounterLink, decreaseActiveRequestCounter } from './active-request-counter-link.js'; | ||
export const GRAPHQL_URI = '/graphql'; | ||
@@ -11,0 +11,0 @@ export const SUBSCRIPTION_URI = GRAPHQL_URI; |
@@ -1,5 +0,5 @@ | ||
export * from './gql-context'; | ||
export * from './graphql-client'; | ||
export * from './json-to-grqphql-query'; | ||
export * from './active-request-counter-link'; | ||
export * from './use-query'; | ||
export * from './gql-context.js'; | ||
export * from './graphql-client.js'; | ||
export * from './json-to-grqphql-query.js'; | ||
export * from './active-request-counter-link.js'; | ||
export * from './use-query.js'; |
@@ -1,6 +0,6 @@ | ||
export * from './gql-context'; | ||
export * from './graphql-client'; | ||
export * from './json-to-grqphql-query'; | ||
export * from './active-request-counter-link'; | ||
export * from './use-query'; | ||
export * from './gql-context.js'; | ||
export * from './graphql-client.js'; | ||
export * from './json-to-grqphql-query.js'; | ||
export * from './active-request-counter-link.js'; | ||
export * from './use-query.js'; | ||
//# sourceMappingURL=index.js.map |
/* inspired by https://github.com/dupski/json-to-graphql-query */ | ||
import { EnumType } from './types/EnumType'; | ||
import { VariableType } from './types/VariableType'; | ||
import { EnumType } from './types/EnumType.js'; | ||
import { VariableType } from './types/VariableType.js'; | ||
export const configFields = [ | ||
@@ -5,0 +5,0 @@ '__args', |
import gql from 'graphql-tag'; | ||
import { useState, useEffect } from 'haunted'; | ||
import { client } from './graphql-client'; | ||
import { client } from './graphql-client.js'; | ||
export function useQuery(query, variables = {}) { | ||
@@ -5,0 +5,0 @@ const [data, setData] = useState(null); |
@@ -5,3 +5,4 @@ { | ||
"author": "heartyoh@hatiolab.com", | ||
"version": "9.0.0-beta.0", | ||
"version": "9.0.0-beta.4", | ||
"type": "module", | ||
"main": "dist/src/index.js", | ||
@@ -62,3 +63,3 @@ "module": "dist/src/index.js", | ||
"@apollo/client": "^3.6.9", | ||
"@operato/utils": "^9.0.0-beta.0", | ||
"@operato/utils": "^9.0.0-beta.4", | ||
"apollo-upload-client": "^18.0.0", | ||
@@ -127,3 +128,3 @@ "graphql-tag": "^2.12.6", | ||
}, | ||
"gitHead": "22a89f0f8bf5b197ae03f409776c2d2d08cf29aa" | ||
"gitHead": "d1d762cc701221021637fda95f7399ca641afb6e" | ||
} |
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
Sorry, the diff of this file is not supported yet
180740
Yes
+ Added@operato/utils@9.0.0-beta.38(transitive)
- Removed@operato/utils@9.0.0-beta.20(transitive)
Updated@operato/utils@^9.0.0-beta.4