@last-rev/adapter-contentful
Advanced tools
Comparing version 3.0.5 to 3.0.6
@@ -63,3 +63,6 @@ "use strict"; | ||
} | ||
return __assign(__assign({}, fields), { _id: id, _contentTypeId: contentTypeId, href: href, | ||
var extraFields = lodash_1.omitBy(fields, function (val) { | ||
return [action, destinationType, manualUrl, contentReference, assetReference].indexOf(val) > -1; | ||
}); | ||
return __assign(__assign({}, extraFields), { _id: id, _contentTypeId: contentTypeId, href: href, | ||
as: as, | ||
@@ -66,0 +69,0 @@ target: target, |
{ | ||
"name": "@last-rev/adapter-contentful", | ||
"version": "3.0.5", | ||
"version": "3.0.6", | ||
"description": "Transforms data from contentful's structure to one which is expected by LastRev components", | ||
@@ -48,3 +48,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "50d94942c173e08412f8b8cd85e53906817d08af" | ||
"gitHead": "815f6c1bece9e7a589fa84392ddb71621c5e6ba5" | ||
} |
Sorry, the diff of this file is not supported yet
74059
1688