cloudflare
Advanced tools
Comparing version 2.6.0 to 2.7.0
@@ -21,2 +21,4 @@ /* | ||
enterpriseZoneWorkersRoutes: require('./lib/resources/EnterpriseZoneWorkersRoutes'), | ||
enterpriseZoneWorkersKVNamespaces: require('./lib/resources/EnterpriseZoneWorkersKVNamespaces'), | ||
enterpriseZoneWorkersKV: require('./lib/resources/EnterpriseZoneWorkersKV'), | ||
ips: require('./lib/resources/IPs'), | ||
@@ -23,0 +25,0 @@ zones: require('./lib/resources/Zones'), |
@@ -78,3 +78,6 @@ /* | ||
if (options.body && isPlainObject(options.body)) { | ||
if ( | ||
options.body && | ||
(isPlainObject(options.body) || Array.isArray(options.body)) | ||
) { | ||
options.body = JSON.stringify(options.body); | ||
@@ -81,0 +84,0 @@ } |
{ | ||
"name": "cloudflare", | ||
"version": "2.6.0", | ||
"version": "2.7.0", | ||
"description": "CloudFlare API client", | ||
@@ -5,0 +5,0 @@ "author": "Terin Stock <terinjokes@gmail.com>", |
46537
22
1375