@graphcommerce/magento-customer 9.0.0-canary.63 → 9.0.0-canary.64

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.0-canary.64
4
+
3
5
  ## 9.0.0-canary.63
4
6
 
5
7
  ## 9.0.0-canary.62
@@ -11,7 +11,7 @@ export const xMagentoCacheIdHeader = new ApolloLink((operation, forward) => {
11
11
  })
12
12
 
13
13
  return forward(operation).map((data) => {
14
- const cache = operation.getContext().cache
14
+ const { cache } = operation.getContext()
15
15
  if (!cache) return data
16
16
 
17
17
  const xMagentoCacheId = (data.extensions as { forwardedHeaders: Record<string, string> })
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-customer",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.0-canary.63",
5
+ "version": "9.0.0-canary.64",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,19 +12,19 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^9.0.0-canary.63",
16
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.63",
17
- "@graphcommerce/framer-next-pages": "^9.0.0-canary.63",
18
- "@graphcommerce/framer-utils": "^9.0.0-canary.63",
19
- "@graphcommerce/graphql": "^9.0.0-canary.63",
20
- "@graphcommerce/graphql-mesh": "^9.0.0-canary.63",
21
- "@graphcommerce/image": "^9.0.0-canary.63",
22
- "@graphcommerce/magento-graphql": "^9.0.0-canary.63",
23
- "@graphcommerce/magento-store": "^9.0.0-canary.63",
24
- "@graphcommerce/next-ui": "^9.0.0-canary.63",
25
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.63",
26
- "@graphcommerce/react-hook-form": "^9.0.0-canary.63",
27
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.63",
15
+ "@graphcommerce/ecommerce-ui": "^9.0.0-canary.64",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.64",
17
+ "@graphcommerce/framer-next-pages": "^9.0.0-canary.64",
18
+ "@graphcommerce/framer-utils": "^9.0.0-canary.64",
19
+ "@graphcommerce/graphql": "^9.0.0-canary.64",
20
+ "@graphcommerce/graphql-mesh": "^9.0.0-canary.64",
21
+ "@graphcommerce/image": "^9.0.0-canary.64",
22
+ "@graphcommerce/magento-graphql": "^9.0.0-canary.64",
23
+ "@graphcommerce/magento-store": "^9.0.0-canary.64",
24
+ "@graphcommerce/next-ui": "^9.0.0-canary.64",
25
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.64",
26
+ "@graphcommerce/react-hook-form": "^9.0.0-canary.64",
27
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.64",
28
28
  "@lingui/core": "^4.2.1",
29
29
  "@lingui/macro": "^4.2.1",
30
30
  "@lingui/react": "^4.2.1",
@@ -1,6 +1,6 @@
1
- import { PluginConfig, PluginProps } from '@graphcommerce/next-config'
2
- import { xMagentoCacheIdHeader } from '../link/xMagentoCacheIdHeader'
3
1
  import { GraphQLProviderProps } from '@graphcommerce/graphql'
2
+ import type { PluginConfig, PluginProps } from '@graphcommerce/next-config'
3
+ import { xMagentoCacheIdHeader } from '../link/xMagentoCacheIdHeader'
4
4
 
5
5
  export const config: PluginConfig = {
6
6
  type: 'component',
package/tsconfig.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "exclude": ["**/node_modules", "**/.*/"],
3
3
  "include": ["**/*.ts", "**/*.tsx"],
4
- "extends": "@graphcommerce/typescript-config-pwa/nextjs.json",
4
+ "extends": "@graphcommerce/typescript-config-pwa/nextjs.json"
5
5
  }