Skip to content

Commit

Permalink
Merge branch 'main' into feat/item-isGift
Browse files Browse the repository at this point in the history
  • Loading branch information
filafb committed Apr 9, 2021
2 parents 7121ed9 + 40692c9 commit 29cdd6f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added
- Property `isGift` to `Item` fragment.

## [0.44.0] - 2021-04-05

### Added
- parameter `allowedOutdatedData` to `addToCart` and `updateItems` mutations

## [0.43.0] - 2021-03-22
### Added
- Property `priceTags` to `Item` fragment.
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"vendor": "vtex",
"name": "checkout-resources",
"version": "0.43.0",
"version": "0.44.0",
"title": "Checkout Resources",
"description": "Checkout Resources",
"defaultLocale": "pt-BR",
Expand Down
2 changes: 2 additions & 0 deletions react/mutations/addToCart.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ mutation addToCart(
$items: [ItemInput]
$marketingData: MarketingDataInput
$salesChannel: String
$allowedOutdatedData: [String!]
) {
addToCart(
items: $items
marketingData: $marketingData
salesChannel: $salesChannel
allowedOutdatedData: $allowedOutdatedData
) {
...OrderFormFragment
}
Expand Down
10 changes: 8 additions & 2 deletions react/mutations/updateItems.graphql
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# import '../fragments/orderForm.graphql'

mutation updateItems($orderItems: [ItemInput]) {
updateItems(orderItems: $orderItems) {
mutation updateItems(
$orderItems: [ItemInput]
$allowedOutdatedData: [String!]
) {
updateItems(
orderItems: $orderItems
allowedOutdatedData: $allowedOutdatedData
) {
...OrderFormFragment
}
}
2 changes: 1 addition & 1 deletion react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vtex.checkout-resources",
"version": "0.43.0",
"version": "0.44.0",
"private": true,
"license": "UNLICENSED",
"scripts": {
Expand Down

0 comments on commit 29cdd6f

Please sign in to comment.