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

nylas

Package Overview
Dependencies
Maintainers
2
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nylas - npm Package Compare versions

Comparing version 4.4.0 to 4.5.0

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # Changelog

### 4.5.0 / 2019-04-02
* Add support for `/ip_addresses` endpoint
### 4.4.0 / 2019-03-25

@@ -9,0 +13,0 @@

@@ -80,2 +80,12 @@ "use strict";

}
}, {
key: "ipAddresses",
value: function ipAddresses() {
return this.connection.request({
method: 'GET',
path: "/a/".concat(this.appId, "/ip_addresses")
}).catch(function (err) {
return Promise.reject(err);
});
}
}]);

@@ -82,0 +92,0 @@

2

package.json
{
"name": "nylas",
"version": "4.4.0",
"version": "4.5.0",
"description": "A NodeJS wrapper for the Nylas REST API for email, contacts, and calendar.",

@@ -5,0 +5,0 @@ "main": "lib/nylas.js",

@@ -102,2 +102,17 @@ Nylas Node.js SDK [![Travis build status](https://travis-ci.org/nylas/nylas-nodejs.svg?branch=master)](https://travis-ci.org/nylas/nylas-nodejs)

Getting IP Addresses to Whitelist
-----
To obtain a dynamic list of IP addresses that Nylas might use to connect.
```javascript
const nylas = Nylas.with(ACCESS_TOKEN);
// Get IP Addresses
Nylas.accounts.first()
.then(account => account.ipAddresses())
.then(response => console.log(response));
```
Fetching Messages, Events, Contacts, etc.

@@ -104,0 +119,0 @@ -----

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