@graphcommerce/magento-graphql 9.0.1 → 9.0.2-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.2-canary.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [`058b7bf`](https://github.com/graphcommerce-org/graphcommerce/commit/058b7bf64be29e1bc3d16551abcc1cd55b5413bd) - Support Magento 2.4.7 placeOrder.errors field to handle possible errors while placing the order. An `assertOrderPlaced` method was created to assert a valid placed order. ([@paales](https://github.com/paales))
8
+
3
9
  ## 9.0.1
4
10
 
5
11
  ## 9.0.1-canary.1
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.1",
5
+ "version": "9.0.2-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.1",
17
- "@graphcommerce/graphql": "^9.0.1",
18
- "@graphcommerce/prettier-config-pwa": "^9.0.1",
19
- "@graphcommerce/typescript-config-pwa": "^9.0.1",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.2-canary.0",
17
+ "@graphcommerce/graphql": "^9.0.2-canary.0",
18
+ "@graphcommerce/prettier-config-pwa": "^9.0.2-canary.0",
19
+ "@graphcommerce/typescript-config-pwa": "^9.0.2-canary.0",
20
20
  "graphql": "^16.0.0",
21
21
  "next": "*",
22
22
  "react": "^18.2.0",
@@ -3,6 +3,11 @@ type PlaceOrderOutput {
3
3
  The ID of the order.
4
4
  """
5
5
  order: Order
6
+ """
7
+ An array of place order errors.
8
+ """
9
+ errors: [PlaceOrderError]! @deprecated(reason: "Magento >= 2.4.7")
10
+
6
11
  """
7
12
  Full order information.
8
13
  """