datocms-client
Advanced tools
Comparing version 0.2.6 to 0.2.8
@@ -120,2 +120,3 @@ # Integrating DatoCMS with your static website generator | ||
* [Hexo](https://github.com/datocms/hexo-example) | ||
* [Hugo](https://github.com/datocms/hugo-example) | ||
@@ -122,0 +123,0 @@ ### Need more help? |
@@ -21,2 +21,4 @@ 'use strict'; | ||
var _humps = require('humps'); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -75,3 +77,3 @@ | ||
var method = singleton ? itemType.apiKey : pluralizedApiKey; | ||
var method = (0, _humps.camelize)(singleton ? itemType.apiKey : pluralizedApiKey); | ||
@@ -78,0 +80,0 @@ if (clashingKeys.includes(pluralizedApiKey)) { |
@@ -46,5 +46,7 @@ "use strict"; | ||
}); | ||
} else if (linkage) { | ||
return repo.findEntity(linkage.type, linkage.id); | ||
} | ||
return repo.findEntity(linkage.type, linkage.id); | ||
return null; | ||
} | ||
@@ -51,0 +53,0 @@ }); |
{ | ||
"name": "datocms-client", | ||
"version": "0.2.6", | ||
"version": "0.2.8", | ||
"description": "DatoCMS API client and CLI tool", | ||
@@ -16,3 +16,4 @@ "main": "lib/index.js", | ||
"dev": "NODE_ENV=production webpack --progress --watch", | ||
"lib": "babel src --out-dir lib" | ||
"lib": "babel src --out-dir lib", | ||
"watch": "babel -w src --out-dir lib" | ||
}, | ||
@@ -19,0 +20,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
2025409
9179