Comparing version 0.2.0 to 0.2.1
@@ -49,2 +49,5 @@ 'use strict' | ||
request (options, cb) { | ||
if (options.body && !Object.keys(options.body).length) { | ||
delete options.body | ||
} | ||
if (cb) { | ||
@@ -51,0 +54,0 @@ requestPromise(options).then(function (resp) { |
{ | ||
"name": "drip-api", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Node client for Drip Api https://www.drip.co/", | ||
@@ -5,0 +5,0 @@ "main": "drip.js", |
# Drip Node client library (unofficial) | ||
[![Build Status](https://travis-ci.org/crowdcst/drip-node.svg?branch=master)](https://travis-ci.org/crowdcst/drip-node) | ||
A Node toolkit for the [Drip](https://www.getdrip.com/) API. Based on the official [Ruby client library](https://github.com/DripEmail/drip-ruby): | ||
@@ -9,4 +11,3 @@ | ||
* npm v1.4.0 or newer | ||
* node v0.10 or newer | ||
* node v4 or newer | ||
@@ -13,0 +14,0 @@ yarn |
@@ -1,1 +0,1 @@ | ||
module.exports = '0.2.0' | ||
module.exports = '0.2.1' |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 8 instances 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
115246
24
373
107
8