@graphcommerce/graphql 9.0.0-canary.57 → 9.0.0-canary.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/hooks/useInContextInput.ts +3 -3
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ApolloClient } from '@apollo/client'
|
|
2
2
|
import type { InContextInput } from '@graphcommerce/graphql-mesh'
|
|
3
3
|
|
|
4
|
-
export function getInContextInput(client: ApolloClient<any>): InContextInput |
|
|
5
|
-
return
|
|
4
|
+
export function getInContextInput(client: ApolloClient<any>): InContextInput | null {
|
|
5
|
+
return null
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -14,4 +14,4 @@ export function getInContextInput(client: ApolloClient<any>): InContextInput | u
|
|
|
14
14
|
*
|
|
15
15
|
* Note: ONLY return a value if the frontend should use the inContext directive.
|
|
16
16
|
*/
|
|
17
|
-
export const useInContextInput = (): InContextInput |
|
|
17
|
+
export const useInContextInput = (): InContextInput | null => null
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/graphql",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.0.0-canary.
|
|
5
|
+
"version": "9.0.0-canary.59",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "index.ts",
|
|
8
8
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@graphcommerce/graphql-codegen-near-operation-file": "9.0.0-canary.
|
|
17
|
-
"@graphcommerce/graphql-codegen-relay-optimizer-plugin": "9.0.0-canary.
|
|
16
|
+
"@graphcommerce/graphql-codegen-near-operation-file": "9.0.0-canary.59",
|
|
17
|
+
"@graphcommerce/graphql-codegen-relay-optimizer-plugin": "9.0.0-canary.59",
|
|
18
18
|
"@graphql-codegen/add": "5.0.3",
|
|
19
19
|
"@graphql-codegen/fragment-matcher": "5.0.2",
|
|
20
20
|
"@graphql-codegen/introspection": "4.0.3",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@apollo/client": "^3",
|
|
31
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
|
32
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
|
33
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
|
31
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.59",
|
|
32
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.59",
|
|
33
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.59",
|
|
34
34
|
"graphql": "^16.7.1",
|
|
35
35
|
"react": "^18.2.0",
|
|
36
36
|
"react-dom": "^18.2.0"
|