@graphcommerce/magento-cart-payment-method 2.106.4 → 2.106.8
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 +11 -0
- package/hooks/useCartLock.ts +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.106.5](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-payment-method@2.106.4...@graphcommerce/magento-cart-payment-method@2.106.5) (2021-10-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* make sure we can useCartLock on the success page ([139349a](https://github.com/ho-nl/m2-pwa/commit/139349a73836c0c58c5d8000a801c912dbe23b3b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.106.4](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-cart-payment-method@2.106.3...@graphcommerce/magento-cart-payment-method@2.106.4) (2021-10-07)
|
|
7
18
|
|
|
8
19
|
|
package/hooks/useCartLock.ts
CHANGED
|
@@ -13,7 +13,7 @@ export function useCartLock() {
|
|
|
13
13
|
const { cache } = useApolloClient()
|
|
14
14
|
const cartId = useCurrentCartId()
|
|
15
15
|
|
|
16
|
-
const locked = useCartQuery(UseCartLockDocument).data?.cart?.locked ?? false
|
|
16
|
+
const locked = useCartQuery(UseCartLockDocument, { allowUrl: true }).data?.cart?.locked ?? false
|
|
17
17
|
|
|
18
18
|
const lock = useCallback(
|
|
19
19
|
(locking: boolean) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/magento-cart-payment-method",
|
|
3
|
-
"version": "2.106.
|
|
3
|
+
"version": "2.106.8",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "14.x"
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@apollo/client": "^3.4.16",
|
|
27
|
-
"@graphcommerce/framer-scroller": "^0.2.
|
|
27
|
+
"@graphcommerce/framer-scroller": "^0.2.9",
|
|
28
28
|
"@graphcommerce/graphql": "^2.103.5",
|
|
29
|
-
"@graphcommerce/image": "^2.104.
|
|
30
|
-
"@graphcommerce/magento-cart": "^3.1.
|
|
31
|
-
"@graphcommerce/magento-store": "^3.0.
|
|
32
|
-
"@graphcommerce/next-ui": "^3.
|
|
29
|
+
"@graphcommerce/image": "^2.104.8",
|
|
30
|
+
"@graphcommerce/magento-cart": "^3.1.7",
|
|
31
|
+
"@graphcommerce/magento-store": "^3.0.18",
|
|
32
|
+
"@graphcommerce/next-ui": "^3.2.2",
|
|
33
33
|
"@graphcommerce/react-hook-form": "^2.102.6",
|
|
34
34
|
"@graphql-typed-document-node/core": "^3.1.0",
|
|
35
35
|
"@material-ui/core": "^4.12.3",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"react-dom": "^17.0.1",
|
|
42
42
|
"type-fest": "^2.3.4"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "be6fb6e501c76d846b06935bf61e949f82f0c50f"
|
|
45
45
|
}
|