Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

mailerlite-api-v2-node

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailerlite-api-v2-node - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

@@ -75,3 +75,3 @@ "use strict";

return __generator(this, function (_a) {
if (!campaign.groups || !campaign.segments) {
if (!campaign.groups && !campaign.segments) {
throw new Error('Groups or segments have to be specified');

@@ -78,0 +78,0 @@ }

{
"name": "mailerlite-api-v2-node",
"version": "1.0.1",
"version": "1.0.2",
"description": "[MailerLite API v2](https://developers.mailerlite.com/docs/getting-started-with-mailerlite-api) [Node.js](https://nodejs.org/en/) SDK. It is mostly a thin wrapper on [axios](https://github.com/axios/axios) that provides [authentication](https://developers.mailerlite.com/docs/authentication), response/request camelCase transformations, Typescript type definitions and some handy shorthand methods.",

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