Socket
Socket
Sign inDemoInstall

mailgun.js

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailgun.js - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

examples/index.html

5

lib/request.js

@@ -105,4 +105,7 @@ 'use strict';

postMulti(url, data, options) {
postMulti(url, data) {
let formData = popsicle.form();
let options = {
headers: {'Content-Type': null}
};

@@ -109,0 +112,0 @@ Object.keys(data).forEach(function(key) {

2

package.json
{
"name": "mailgun.js",
"version": "1.0.3",
"version": "1.1.0",
"main": "index.js",

@@ -5,0 +5,0 @@ "author": "Mailgun",

@@ -13,2 +13,3 @@ # Mailgun.js [![Build Status](https://travis-ci.org/mailgun/mailgun-js.svg)](https://travis-ci.org/mailgun/mailgun-js)

- [Methods](#methods)
- [Browser Demo](#browser-demo)
- [Examples](https://github.com/mailgun/mailgun-js/tree/c379f79ea2a2e0f825103751a3a102d8bdd3dd1b/example)

@@ -871,2 +872,20 @@ - [Development](#development)

## Browser Demo
![image](https://cloud.githubusercontent.com/assets/399776/10718632/e8fe56e4-7b34-11e5-84c8-cfcfde978711.png)
For this demo to work, you'll need to install and run `http-proxy` locally. Install it with:
```sh
npm install -g http-proxy
```
Then run the following command from the mailgun-js directory:
```sh
http-server -p 4001 --proxy="https://api.mailgun.net"
```
Demo should be up and running at http://0.0.0.0:4001/examples/
# Development

@@ -930,1 +949,2 @@

- add missing services
- add browser demo to heroku

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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