@graphcommerce/magento-cart 8.1.0-canary.44 → 8.1.0-canary.46

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,14 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.1.0-canary.46
4
+
5
+ ## 8.1.0-canary.45
6
+
7
+ ### Patch Changes
8
+
9
+ - [#2216](https://github.com/graphcommerce-org/graphcommerce/pull/2216) [`2faebf1`](https://github.com/graphcommerce-org/graphcommerce/commit/2faebf16fbda95390872ac0debe979fa570ed904) - When signing in make sure the cart isn't merged if the login is unsuccesful
10
+ ([@paales](https://github.com/paales))
11
+
3
12
  ## 8.1.0-canary.44
4
13
 
5
14
  ## 8.1.0-canary.43
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "8.1.0-canary.44",
5
+ "version": "8.1.0-canary.46",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,20 +12,20 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^8.1.0-canary.44",
16
- "@graphcommerce/eslint-config-pwa": "^8.1.0-canary.44",
17
- "@graphcommerce/framer-next-pages": "^8.1.0-canary.44",
18
- "@graphcommerce/framer-scroller": "^8.1.0-canary.44",
19
- "@graphcommerce/framer-utils": "^8.1.0-canary.44",
20
- "@graphcommerce/graphql": "^8.1.0-canary.44",
21
- "@graphcommerce/image": "^8.1.0-canary.44",
22
- "@graphcommerce/magento-customer": "^8.1.0-canary.44",
23
- "@graphcommerce/magento-graphql": "^8.1.0-canary.44",
24
- "@graphcommerce/magento-store": "^8.1.0-canary.44",
25
- "@graphcommerce/next-ui": "^8.1.0-canary.44",
26
- "@graphcommerce/prettier-config-pwa": "^8.1.0-canary.44",
27
- "@graphcommerce/react-hook-form": "^8.1.0-canary.44",
28
- "@graphcommerce/typescript-config-pwa": "^8.1.0-canary.44",
15
+ "@graphcommerce/ecommerce-ui": "^8.1.0-canary.46",
16
+ "@graphcommerce/eslint-config-pwa": "^8.1.0-canary.46",
17
+ "@graphcommerce/framer-next-pages": "^8.1.0-canary.46",
18
+ "@graphcommerce/framer-scroller": "^8.1.0-canary.46",
19
+ "@graphcommerce/framer-utils": "^8.1.0-canary.46",
20
+ "@graphcommerce/graphql": "^8.1.0-canary.46",
21
+ "@graphcommerce/image": "^8.1.0-canary.46",
22
+ "@graphcommerce/magento-customer": "^8.1.0-canary.46",
23
+ "@graphcommerce/magento-graphql": "^8.1.0-canary.46",
24
+ "@graphcommerce/magento-store": "^8.1.0-canary.46",
25
+ "@graphcommerce/next-ui": "^8.1.0-canary.46",
26
+ "@graphcommerce/prettier-config-pwa": "^8.1.0-canary.46",
27
+ "@graphcommerce/react-hook-form": "^8.1.0-canary.46",
28
+ "@graphcommerce/typescript-config-pwa": "^8.1.0-canary.46",
29
29
  "@lingui/core": "^4.2.1",
30
30
  "@lingui/macro": "^4.2.1",
31
31
  "@lingui/react": "^4.2.1",
@@ -16,6 +16,7 @@ const useSignInFormMergeCart: MethodPlugin<typeof useSignInForm> = (useSignInFor
16
16
  ...options,
17
17
  onComplete: async (data, variables) => {
18
18
  await options.onComplete?.(data, variables)
19
+ if (data.errors) return
19
20
 
20
21
  cartLock(client.cache, true)
21
22