@graphcommerce/magento-compare 10.0.1-canary.0 → 10.0.1-canary.2
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 +8 -0
- package/package.json +11 -11
- package/typePolicies.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @graphcommerce/magento-compare
|
|
2
2
|
|
|
3
|
+
## 10.0.1-canary.2
|
|
4
|
+
|
|
5
|
+
## 10.0.1-canary.1
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- [#2571](https://github.com/graphcommerce-org/graphcommerce/pull/2571) [`78a2a8a`](https://github.com/graphcommerce-org/graphcommerce/commit/78a2a8a919346e1f9bccddf7e52682f4adb9a4e0) - Solve issue where the @client fields could not be resolved correctly. ([@paales](https://github.com/paales))
|
|
10
|
+
|
|
3
11
|
## 10.0.1-canary.0
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-compare",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "10.0.1-canary.
|
|
5
|
+
"version": "10.0.1-canary.2",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
"./plugins/AddCompareTypePolicies": "./plugins/AddCompareTypePolicies.tsx"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@graphcommerce/ecommerce-ui": "^10.0.1-canary.
|
|
23
|
-
"@graphcommerce/eslint-config-pwa": "^10.0.1-canary.
|
|
24
|
-
"@graphcommerce/framer-next-pages": "^10.0.1-canary.
|
|
25
|
-
"@graphcommerce/framer-utils": "^10.0.1-canary.
|
|
26
|
-
"@graphcommerce/graphql": "^10.0.1-canary.
|
|
27
|
-
"@graphcommerce/magento-cart": "^10.0.1-canary.
|
|
28
|
-
"@graphcommerce/magento-product": "^10.0.1-canary.
|
|
29
|
-
"@graphcommerce/next-ui": "^10.0.1-canary.
|
|
30
|
-
"@graphcommerce/prettier-config-pwa": "^10.0.1-canary.
|
|
31
|
-
"@graphcommerce/typescript-config-pwa": "^10.0.1-canary.
|
|
22
|
+
"@graphcommerce/ecommerce-ui": "^10.0.1-canary.2",
|
|
23
|
+
"@graphcommerce/eslint-config-pwa": "^10.0.1-canary.2",
|
|
24
|
+
"@graphcommerce/framer-next-pages": "^10.0.1-canary.2",
|
|
25
|
+
"@graphcommerce/framer-utils": "^10.0.1-canary.2",
|
|
26
|
+
"@graphcommerce/graphql": "^10.0.1-canary.2",
|
|
27
|
+
"@graphcommerce/magento-cart": "^10.0.1-canary.2",
|
|
28
|
+
"@graphcommerce/magento-product": "^10.0.1-canary.2",
|
|
29
|
+
"@graphcommerce/next-ui": "^10.0.1-canary.2",
|
|
30
|
+
"@graphcommerce/prettier-config-pwa": "^10.0.1-canary.2",
|
|
31
|
+
"@graphcommerce/typescript-config-pwa": "^10.0.1-canary.2",
|
|
32
32
|
"@lingui/core": "^5",
|
|
33
33
|
"@lingui/macro": "^5",
|
|
34
34
|
"@lingui/react": "^5",
|
package/typePolicies.ts
CHANGED
|
@@ -6,6 +6,8 @@ export const compareTypePolicies: StrictTypedTypePolicies = {
|
|
|
6
6
|
fields: {
|
|
7
7
|
compareList: (_, { args, toReference }) =>
|
|
8
8
|
toReference({ __typename: 'CompareList', uid: (args as QuerycompareListArgs)?.uid }),
|
|
9
|
+
// https://github.com/apollographql/apollo-client/issues/12930
|
|
10
|
+
currentCompareUid: { merge: (existing, incoming) => incoming ?? existing },
|
|
9
11
|
},
|
|
10
12
|
},
|
|
11
13
|
}
|