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

mailtrap

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailtrap - npm Package Compare versions

Comparing version 0.0.20 to 0.0.21

6

inbox.js

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

this.client = new Client(apiToken);
this.defaultTimeout = 60000;
this.defaultTimeout = 180000;
this.pollingInterval = 1000;

@@ -53,3 +53,3 @@ }

waitForMessages(filter, expectedCount = 1, startTime = null, timeout = this.defaultTimeout) {
waitForMessages(filter, expectedCount = 1, timeout = this.defaultTimeout, startTime = null) {
if (startTime === null) {

@@ -68,3 +68,3 @@ startTime = moment();

if (timeRemaining > 0) {
return new Promise(resolve => setTimeout(resolve, this.pollingInterval)).then(() => this.waitForMessages(filter, expectedCount, startTime, timeout));
return new Promise(resolve => setTimeout(resolve, this.pollingInterval)).then(() => this.waitForMessages(filter, expectedCount, timeout, startTime));
}

@@ -71,0 +71,0 @@

{
"name": "mailtrap",
"version": "0.0.20",
"version": "0.0.21",
"description": "simple mailtrap api",

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

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