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

cypress-mailslurp

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-mailslurp - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

3

dist/cypress-mailslurp.cjs.development.js

@@ -17,3 +17,4 @@ 'use strict';

var mailslurp = new mailslurpClient.MailSlurp({
apiKey: apiKey
apiKey: apiKey,
basePath: 'https://cypress.api.mailslurp.com'
});

@@ -20,0 +21,0 @@ Cypress.Commands.add('mailslurp', function () {

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

"use strict";var r=require("mailslurp-client");!function(e){var a=e.env("MAILSLURP_API_KEY");if(!a)throw new Error("Error no MailSlurp API Key. Please set the CYPRESS_MAILSLURP_API_KEY environment variable to your MailSlurp API Key to use the MailSlurp Cypress plugin. Create a free account at https://app.mailslurp.com/sign-up/");var i=new r.MailSlurp({apiKey:a});e.Commands.add("mailslurp",(function(){return Promise.resolve(i)}))}(Cypress);
"use strict";var r=require("mailslurp-client");!function(e){var a=e.env("MAILSLURP_API_KEY");if(!a)throw new Error("Error no MailSlurp API Key. Please set the CYPRESS_MAILSLURP_API_KEY environment variable to your MailSlurp API Key to use the MailSlurp Cypress plugin. Create a free account at https://app.mailslurp.com/sign-up/");var s=new r.MailSlurp({apiKey:a,basePath:"https://cypress.api.mailslurp.com"});e.Commands.add("mailslurp",(function(){return Promise.resolve(s)}))}(Cypress);
//# sourceMappingURL=cypress-mailslurp.cjs.production.min.js.map

@@ -15,3 +15,4 @@ import { MailSlurp } from 'mailslurp-client';

var mailslurp = new MailSlurp({
apiKey: apiKey
apiKey: apiKey,
basePath: 'https://cypress.api.mailslurp.com'
});

@@ -18,0 +19,0 @@ Cypress.Commands.add('mailslurp', function () {

@@ -5,3 +5,3 @@ {

"description": "Cypress email plugin for MailSlurp. Create test email accounts to send and receive emails in Cypress tests",
"version": "1.3.0",
"version": "1.4.0",
"license": "MIT",

@@ -44,4 +44,4 @@ "main": "dist/index.js",

"isomorphic-fetch": "^3.0.0",
"mailslurp-client": "^15.0.1"
"mailslurp-client": "^15.9.0"
}
}

@@ -14,3 +14,3 @@ # MailSlurp Cypress Plugin

See the [example project](https://github.com/mailslurp/examples/tree/master/javascript-cypress-mailslurp-plugin) for setup help.
See the [example project](https://github.com/mailslurp/examples/tree/master/javascript-cypress-mailslurp-plugin) for setup help. Or run the example integration tests with `CYPRESS_MAILSLURP_API_KEY=your-api-key npm run cypress`.

@@ -207,1 +207,3 @@ ## Setup

### More examples
See the [Cypress example test suite](https://github.com/mailslurp/cypress-mailslurp/tree/master/cypress) for real tests that use this plugin.

@@ -15,3 +15,3 @@ /// <reference types="./">

// create instance
const mailslurp = new MailSlurp({ apiKey });
const mailslurp = new MailSlurp({ apiKey, basePath: 'https://cypress.api.mailslurp.com' });
Cypress.Commands.add('mailslurp', () => {

@@ -18,0 +18,0 @@ return Promise.resolve(mailslurp);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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