@open-tender/utils 0.5.68 → 0.5.69

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.
@@ -114,7 +114,9 @@ const nutritionKeys = [
114
114
  'sugars',
115
115
  'total_carbs',
116
116
  'total_fat',
117
- 'trans_fat'
117
+ 'trans_fat',
118
+ 'calories_from_fat',
119
+ 'serving_weight'
118
120
  ];
119
121
  const calcNutrition = (item) => {
120
122
  const { nutritionalInfo, groups } = item;
@@ -103,7 +103,9 @@ const nutritionKeys = [
103
103
  'sugars',
104
104
  'total_carbs',
105
105
  'total_fat',
106
- 'trans_fat'
106
+ 'trans_fat',
107
+ 'calories_from_fat',
108
+ 'serving_weight'
107
109
  ];
108
110
  export const calcNutrition = (item) => {
109
111
  const { nutritionalInfo, groups } = item;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/utils",
3
- "version": "0.5.68",
3
+ "version": "0.5.69",
4
4
  "description": "A library of utils for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",