Socket
Socket
Sign inDemoInstall

drip-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drip-nodejs - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

lib/tags.js

@@ -21,3 +21,3 @@ const helpers = require('./helpers');

tagSubscriber(payload, callback) {
return this.post(`${this.accountId}/tags`, { payload: [payload] }, callback);
return this.post(`${this.accountId}/tags`, { payload }, callback);
},

@@ -24,0 +24,0 @@ /**

@@ -1,1 +0,1 @@

module.exports = '2.0.0';
module.exports = '2.0.1';
{
"name": "drip-nodejs",
"version": "2.0.0",
"version": "2.0.1",
"description": "A complete NodeJS wrapper for connecting to the Drip v2 REST API",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -95,3 +95,3 @@ const sinon = require('sinon');

expect(client.post).toHaveBeenCalledWith('9999999/tags', { payload: [{ email, tag: 'Customer' }] }, undefined);
expect(client.post).toHaveBeenCalledWith('9999999/tags', { payload: { email, tag: 'Customer' } }, undefined);
});

@@ -98,0 +98,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc