New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mailerlite

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailerlite - npm Package Compare versions

Comparing version

to
1.0.0-canary.2

1

lib/MailerLite.d.ts

@@ -5,3 +5,2 @@ import { Campaigns, Fields, Segments, Stats, Settings, Subscribers, Webhooks, Groups } from './api';

private baseUrl;
private userAgent;
private client;

@@ -8,0 +7,0 @@ campaigns: Campaigns;

3

lib/MailerLite.js

@@ -52,3 +52,2 @@ "use strict";

this.baseUrl = 'https://api.mailerlite.com/api/v2';
this.userAgent = 'MailerLite Node.js SDK (https://git.io/mailerlite)';
this.client = null;

@@ -58,3 +57,3 @@ this.client = axios_1.default.create({

headers: {
'User-Agent': this.userAgent + " / " + this.version,
'User-Agent': "MailerLite Node.js SDK/v" + this.version + " (https://git.io/mailerlite)",
'X-MailerLite-ApiKey': apiKey,

@@ -61,0 +60,0 @@ 'Content-Type': 'application/json',

{
"name": "mailerlite",
"description": "Node module for MailerLite HTTP API v2",
"version": "1.0.0-canary.1",
"version": "1.0.0-canary.2",
"repository": "aniftyco/mailerlite",

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