@graphcommerce/magento-graphql 9.0.2 → 9.0.3-canary.0

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,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.3-canary.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2469](https://github.com/graphcommerce-org/graphcommerce/pull/2469) [`3e5ee65`](https://github.com/graphcommerce-org/graphcommerce/commit/3e5ee65bea95bc46399b8da745ee4b0cab71d3ef) - Magento 2.4.6-p7 and lower: Solve a schema incompatibility for PlaceOrderError type on the PlaceOrderOutput. ([@paales](https://github.com/paales))
8
+
3
9
  ## 9.0.2
4
10
 
5
11
  ### 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": "9.0.2",
5
+ "version": "9.0.3-canary.0",
6
6
  "sideEffects": false,
7
7
  "main": "index.ts",
8
8
  "prettier": "@graphcommerce/prettier-config-pwa",
@@ -13,10 +13,10 @@
13
13
  }
14
14
  },
15
15
  "peerDependencies": {
16
- "@graphcommerce/eslint-config-pwa": "^9.0.2",
17
- "@graphcommerce/graphql": "^9.0.2",
18
- "@graphcommerce/prettier-config-pwa": "^9.0.2",
19
- "@graphcommerce/typescript-config-pwa": "^9.0.2",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.3-canary.0",
17
+ "@graphcommerce/graphql": "^9.0.3-canary.0",
18
+ "@graphcommerce/prettier-config-pwa": "^9.0.3-canary.0",
19
+ "@graphcommerce/typescript-config-pwa": "^9.0.3-canary.0",
20
20
  "graphql": "^16.0.0",
21
21
  "next": "*",
22
22
  "react": "^18.2.0",
@@ -1,3 +1,25 @@
1
+ """
2
+ An error encountered while placing an order.
3
+ """
4
+ type PlaceOrderError {
5
+ """
6
+ An error code that is specific to place order.
7
+ """
8
+ code: PlaceOrderErrorCodes!
9
+ """
10
+ A localized error message.
11
+ """
12
+ message: String!
13
+ }
14
+
15
+ enum PlaceOrderErrorCodes {
16
+ CART_NOT_FOUND
17
+ CART_NOT_ACTIVE
18
+ GUEST_EMAIL_MISSING
19
+ UNABLE_TO_PLACE_ORDER
20
+ UNDEFINED
21
+ }
22
+
1
23
  type PlaceOrderOutput {
2
24
  """
3
25
  The ID of the order.