@graphcommerce/magento-graphql 3.0.10 → 3.0.13

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,25 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`bed806ddd`](https://github.com/graphcommerce-org/graphcommerce/commit/bed806dddd7e025806a69798ef9587aa165d392f)]:
8
+ - @graphcommerce/graphql@3.2.0
9
+
10
+ ## 3.0.12
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies []:
15
+ - @graphcommerce/graphql@3.1.3
16
+
17
+ ## 3.0.11
18
+
19
+ ### Patch Changes
20
+
21
+ - [#1445](https://github.com/graphcommerce-org/graphcommerce/pull/1445) [`7618f86da`](https://github.com/graphcommerce-org/graphcommerce/commit/7618f86da930929b10b6baf145646356b1bb3793) Thanks [@timhofman](https://github.com/timhofman)! - remove Klarna type policies from typePolicies core
22
+
3
23
  ## 3.0.10
4
24
 
5
25
  ### Patch Changes
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-graphql",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.0.10",
5
+ "version": "3.0.13",
6
6
  "sideEffects": false,
7
7
  "main": "index.ts",
8
8
  "prettier": "@graphcommerce/prettier-config-pwa",
@@ -13,13 +13,13 @@
13
13
  }
14
14
  },
15
15
  "devDependencies": {
16
- "@graphcommerce/eslint-config-pwa": "^4.1.6",
16
+ "@graphcommerce/eslint-config-pwa": "^4.1.7",
17
17
  "@graphcommerce/prettier-config-pwa": "^4.0.6",
18
- "@graphcommerce/typescript-config-pwa": "^4.0.2",
18
+ "@graphcommerce/typescript-config-pwa": "^4.0.3",
19
19
  "@playwright/test": "^1.21.1"
20
20
  },
21
21
  "dependencies": {
22
- "@graphcommerce/graphql": "3.1.2"
22
+ "@graphcommerce/graphql": "3.2.0"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "next": "12.1.2",
package/typePolicies.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { StrictTypedTypePolicies } from '@graphcommerce/graphql'
1
+ import { TypedTypePolicies } from '@graphcommerce/graphql'
2
2
 
3
3
  /// /todooooo
4
4
  /**
@@ -6,7 +6,7 @@ import { StrictTypedTypePolicies } from '@graphcommerce/graphql'
6
6
  *
7
7
  * - https://www.apollographql.com/docs/react/caching/cache-configuration/#default-identifier-generation
8
8
  */
9
- export const magentoTypePolicies: StrictTypedTypePolicies = {
9
+ export const magentoTypePolicies: TypedTypePolicies = {
10
10
  // AddBundleProductsToCartOutput: { keyFields: false },
11
11
  // AddConfigurableProductsToCartOutput: { keyFields: false },
12
12
  // AddDownloadableProductsToCartOutput: { keyFields: false },
@@ -50,7 +50,6 @@ export const magentoTypePolicies: StrictTypedTypePolicies = {
50
50
  // CartPrices: { keyFields: false },
51
51
  // CartTaxItem: { keyFields: false },
52
52
  // CartUserInputError: { keyFields: false },
53
- Categories: { keyFields: ['identifier'] },
54
53
  CategoryInterface: { keyFields: ['uid'] },
55
54
  // CategoryProducts: { keyFields: false },
56
55
  // CategoryResult: { keyFields: false },
@@ -248,6 +247,5 @@ export const magentoTypePolicies: StrictTypedTypePolicies = {
248
247
  // WishlistItemInterface: { keyFields: ['id'] },
249
248
  // WishlistItems: { keyFields: false },
250
249
  // WishlistOutput: { keyFields: false },
251
- // createKlarnaPaymentsSessionOutput: { keyFields: false },
252
250
  // Mutation: { keyFields: false },
253
251
  }