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

@splitmedialabs/supermailer-node

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@splitmedialabs/supermailer-node - npm Package Compare versions

Comparing version 4.0.1 to 5.0.0

index.d.ts

26

package.json
{
"name": "@splitmedialabs/supermailer-node",
"version": "5.0.0",
"description": "Node JS library for Supermailer.",
"version": "4.0.1",
"license": "MIT",
"repository": "https://github.com/SplitmediaLabsLimited/supermailer-node",
"homepage": "https://github.com/SplitmediaLabsLimited/supermailer-node",
"bugs": "https://github.com/SplitmediaLabsLimited/supermailer-node/issues",
"repository": "https://github.com/SplitmediaLabsLimited/supermailer-node",
"license": "MIT",
"main": "index.js",
"engines": {
"node": ">= 8"
},
"types": "index.d.ts",
"scripts": {
"test": "TZ=UTC jest --watch",
"pushpublish": "git push && npm publish"
"pushpublish": "git push && npm publish",
"test": "TZ=UTC jest --watch"
},
"jest": {
"testEnvironment": "node"
},
"dependencies": {
"axios": "^0.18.0",
"query-string": "^6.4.2"
"axios": "^0.26.0",
"query-string": "^7.1.1"
},

@@ -26,5 +27,6 @@ "devDependencies": {

},
"jest": {
"testEnvironment": "node"
"volta": {
"node": "18.17.1",
"yarn": "1.22.18"
}
}

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

module.exports.argsValidation = function() {
module.exports.argsValidation = function () {
const args = this;

@@ -3,0 +3,0 @@ const functionName = args.callee.name;

@@ -12,9 +12,4 @@ module.exports = async function sendTransactional(payload) {

try {
const response = await this.api.post('/api/supermailer/transactionals/send', payload);
return response.data;
} catch (error) {
console.log(error);
return false;
}
const response = await this.api.post('/api/supermailer/transactionals/send', payload);
return response.data;
};

@@ -28,3 +28,3 @@ const Recipient = require('../Recipient');

this.Recipient = function(email) {
this.Recipient = function (email) {
if (typeof email !== 'string') {

@@ -31,0 +31,0 @@ throw new Error('You need to pass an email string as the only parameter to this function.');

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