contentful
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -54,5 +54,6 @@ 'use strict'; | ||
contentTypes: function() { | ||
contentTypes: function(object) { | ||
var query = Query.parse(object); | ||
var promise = new Promise(); | ||
var request = this.request('/content_types'); | ||
var request = this.request('/content_types' + (object ? '?' + query.toQueryString() : '')); | ||
request.map(_.partial(SearchResult.parse, ContentType)) | ||
@@ -59,0 +60,0 @@ .map(_.bound(promise, 'resolve')); |
{ | ||
"name": "contentful", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Client for Contentful's Content Delivery API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
10810
9
276