@graphcommerce/magento-product 4.3.5 → 4.4.1

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,37 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`d6262de71`](https://github.com/graphcommerce-org/graphcommerce/commit/d6262de71d2254a2b0b492e1a60f9e141767470e), [`c8c246b8a`](https://github.com/graphcommerce-org/graphcommerce/commit/c8c246b8aaab0621b68a2fca2a1c529a56fad962), [`e3005fe63`](https://github.com/graphcommerce-org/graphcommerce/commit/e3005fe6306093d47b08c6756c21c8175649e30b)]:
8
+ - @graphcommerce/magento-cart@4.3.2
9
+ - @graphcommerce/next-ui@4.8.2
10
+ - @graphcommerce/framer-scroller@2.1.13
11
+ - @graphcommerce/magento-store@4.2.6
12
+
13
+ ## 4.4.0
14
+
15
+ ### Minor Changes
16
+
17
+ - [#1482](https://github.com/graphcommerce-org/graphcommerce/pull/1482) [`b359fe252`](https://github.com/graphcommerce-org/graphcommerce/commit/b359fe252a50bb8195601ba97c3eef6a7be146ba) Thanks [@mikekeehnen](https://github.com/mikekeehnen)! - Added selectedOptions to AddToCart mutation
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [[`a9df81310`](https://github.com/graphcommerce-org/graphcommerce/commit/a9df81310c051876dd82fb2819105dece47cc213), [`55c2dcde7`](https://github.com/graphcommerce-org/graphcommerce/commit/55c2dcde7869ee51b84494af653b3edfd43904a4), [`f167f9963`](https://github.com/graphcommerce-org/graphcommerce/commit/f167f99630966a7de43717937d43669e66132494)]:
22
+ - @graphcommerce/next-ui@4.8.1
23
+ - @graphcommerce/framer-scroller@2.1.12
24
+ - @graphcommerce/magento-cart@4.3.1
25
+ - @graphcommerce/magento-store@4.2.5
26
+ - @graphcommerce/image@3.1.6
27
+
28
+ ## 4.3.6
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies [[`cf575395c`](https://github.com/graphcommerce-org/graphcommerce/commit/cf575395c16e9c571f75d4563004c3018a29aeaa)]:
33
+ - @graphcommerce/magento-cart@4.3.0
34
+
3
35
  ## 4.3.5
4
36
 
5
37
  ### Patch Changes
@@ -3,10 +3,18 @@ mutation ProductAddToCart(
3
3
  $sku: String!
4
4
  $quantity: Float = 1
5
5
  $enteredOptions: [EnteredOptionInput] = []
6
+ $selectedOptions: [ID] = []
6
7
  ) {
7
8
  addProductsToCart(
8
9
  cartId: $cartId
9
- cartItems: [{ sku: $sku, quantity: $quantity, entered_options: $enteredOptions }]
10
+ cartItems: [
11
+ {
12
+ sku: $sku
13
+ quantity: $quantity
14
+ entered_options: $enteredOptions
15
+ selected_options: $selectedOptions
16
+ }
17
+ ]
10
18
  ) {
11
19
  cart {
12
20
  id
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-product",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.3.5",
5
+ "version": "4.4.1",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -19,13 +19,13 @@
19
19
  "type-fest": "^2.12.2"
20
20
  },
21
21
  "dependencies": {
22
- "@graphcommerce/framer-scroller": "2.1.11",
22
+ "@graphcommerce/framer-scroller": "2.1.13",
23
23
  "@graphcommerce/graphql": "3.1.3",
24
24
  "@graphcommerce/graphql-mesh": "4.1.3",
25
- "@graphcommerce/image": "3.1.5",
26
- "@graphcommerce/magento-cart": "4.2.15",
27
- "@graphcommerce/magento-store": "4.2.4",
28
- "@graphcommerce/next-ui": "4.8.0",
25
+ "@graphcommerce/image": "3.1.6",
26
+ "@graphcommerce/magento-cart": "4.3.2",
27
+ "@graphcommerce/magento-store": "4.2.6",
28
+ "@graphcommerce/next-ui": "4.8.2",
29
29
  "schema-dts": "^1.1.0"
30
30
  },
31
31
  "peerDependencies": {