mailgun
Advanced tools
Comparing version 0.4.0 to 0.4.1
{ | ||
"name": "mailgun", | ||
"version": "0.4.0", | ||
"description": "Node.js interface to the Mailgun API", | ||
"version": "0.4.1", | ||
"description": "Mailgun for Node.js", | ||
"author": "shz", | ||
"repositories": [{ | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:shz/node-mailgun.git" | ||
}], | ||
"main": "./mailgun" | ||
}, | ||
"main": "./mailgun", | ||
"homepage": "http://github.com/shz/mailgun", | ||
"engine": "node" | ||
} |
@@ -153,8 +153,21 @@ # node-mailgun | ||
### createRoute | ||
TODO | ||
Creates a new route. TODO - more docs | ||
`createRoute(pattern, destination, callback(err, id))` | ||
TODO - document arguments | ||
### deleteRoute | ||
Deletes a route if it exists, otherwise fails silently. | ||
Deletes the route with the specified ID if it exists, otherwise fails silently. | ||
`deleteRoute(id, callback(err))` | ||
* id - Route ID, as returned by `getRoutes()` or `createRoute`. | ||
* Callback to be fired when the deletion is completed. This callback | ||
takes a single argument, `err`, that will be set to an Error object | ||
if something went wrong with the deletion. If the deletion succeeded, or | ||
no route existed with the specified ID, `err` will be `undefined`. | ||
### getRoutes | ||
@@ -161,0 +174,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
18058
203
0
1