Version:
Only show these results:

[2023-03-14] Nylas Node.js SDK v6.9.0

The Nylas Node.js SDK v6.9.0 has been released!

Added

  • Add missing generic type in RestfulModelCollection for better type safety (#424)
  • Add 409 to error mapping (#430)
  • Add startTimezone, endTimezone and timezone fields to When (#429)
  • Allow configurable timeout for API calls (#427)

Security updates

  • Bump minimist sub-dependency from 1.2.0 to 1.2.6 (#425)
  • Bump mkdirp sub-dependency from 0.5.1 to 0.5.6 (#425)

Usage

Configuring request timeout

You can now add a request timeout as part of the initial Nylas SDK configuration, as in the example below.

const Nylas = require('nylas');

Nylas.config({
clientId: "<NYLAS_CLIENT_ID>",
clientSecret: "<NYLAS_CLIENT_SECRET>",
timeout: 60 // 60 second timeout
});

Contributors 🎉

This release wouldn’t have been possible without the hard work of our contributors!