@justeat/f-braze-adapter
Advanced tools
Comparing version
@@ -7,2 +7,10 @@ # Changelog | ||
v3.2.0 | ||
------------------------------ | ||
*March 17, 2021* | ||
### Changed | ||
- If present, `location` reflected through to card data | ||
v3.1.0 | ||
@@ -9,0 +17,0 @@ ------------------------------ |
{ | ||
"name": "@justeat/f-braze-adapter", | ||
"description": "Fozzie Metadata Service", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"main": "src/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
@@ -19,2 +19,3 @@ import transformCardData from '../transformCardData'; | ||
const image = '__IMAGE__'; | ||
const location = '__LOCATION__'; | ||
const order = '__ORDER__'; | ||
@@ -49,2 +50,3 @@ const type = '__TYPE__'; | ||
line_2: line2, // eslint-disable-line camelcase | ||
location, | ||
order, | ||
@@ -81,2 +83,3 @@ custom_card_type: type, // eslint-disable-line camelcase | ||
isReadyToClaim: false, // because `'__IS_READY_TO_CLAIM__'` is not `true` or `'true'` | ||
location, | ||
title, | ||
@@ -83,0 +86,0 @@ totalRequiredStamps, |
@@ -49,2 +49,3 @@ import extractCardId from './extractCardId'; | ||
icon_1: icon = restaurantLogoUrl, | ||
location, | ||
restaurant_image_url: restaurantImageUrl, | ||
@@ -103,2 +104,3 @@ image_1: image = (imageUrl || restaurantImageUrl), | ||
isReadyToClaim, | ||
location, | ||
offerAuthRequired, | ||
@@ -105,0 +107,0 @@ order, |
84112
0.27%1887
0.27%