contentful-management
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -58,2 +58,4 @@ 'use strict'; | ||
delete locale.default; | ||
delete locale.fallback_code; | ||
delete locale.fallbackCode; | ||
return (0, _instanceActions.createUpdateEntity)({ | ||
@@ -89,7 +91,8 @@ http: http, | ||
function wrapLocale(http, data) { | ||
var locale = (0, _toPlainObject2.default)((0, _cloneDeep2.default)(data)); | ||
delete locale.internal_code; | ||
delete data.internal_code; | ||
// TODO this should be removed when the fallback locale issues are fixed | ||
// also remove deletion on createLocale in create-space-api | ||
delete locale.fallback_code; | ||
delete data.fallback_code; | ||
delete data.fallbackCode; | ||
var locale = (0, _toPlainObject2.default)((0, _cloneDeep2.default)(data)); | ||
(0, _enhanceWithMethods2.default)(locale, createLocaleApi(http)); | ||
@@ -96,0 +99,0 @@ return (0, _freezeSys2.default)(locale); |
{ | ||
"name": "contentful-management", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Client for Contentful's Content Management API", | ||
@@ -5,0 +5,0 @@ "homepage": "https://www.contentful.com/developers/documentation/content-management-api/", |
@@ -1,1 +0,1 @@ | ||
module.exports = '1.1.5' | ||
module.exports = '1.1.6' |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
575269
13821