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

nylas

Package Overview
Dependencies
Maintainers
11
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 6.7.0 to 6.8.0

lib/services/tunnel.d.ts

23

lib/config.d.ts

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

import { WebhookTriggers } from './models/webhook';
export declare let apiServer: string | null;

@@ -23,1 +24,23 @@ export declare function setApiServer(newApiServer: string | null): void;

};
export declare enum Region {
Us = "us",
Ireland = "ireland"
}
export declare const DEFAULT_REGION = Region.Us;
export declare const regionConfig: {
us: {
nylasAPIUrl: string;
dashboardApiUrl: string;
callbackDomain: string;
websocketDomain: string;
telemetryApiUrl: string;
};
ireland: {
nylasAPIUrl: string;
dashboardApiUrl: string;
callbackDomain: string;
websocketDomain: string;
telemetryApiUrl: string;
};
};
export declare const DEFAULT_WEBHOOK_TRIGGERS: WebhookTriggers[];
"use strict";
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
var webhook_1 = require("./models/webhook");
exports.apiServer = null;

@@ -18,1 +20,24 @@ function setApiServer(newApiServer) {

})(ResponseType = exports.ResponseType || (exports.ResponseType = {}));
var Region;
(function (Region) {
Region["Us"] = "us";
Region["Ireland"] = "ireland";
})(Region = exports.Region || (exports.Region = {}));
exports.DEFAULT_REGION = Region.Us;
exports.regionConfig = (_a = {},
_a[Region.Us] = {
nylasAPIUrl: 'https://api.nylas.com',
dashboardApiUrl: 'https://dashboard-api.nylas.com',
callbackDomain: 'cb.nylas.com',
websocketDomain: 'tunnel.nylas.com',
telemetryApiUrl: 'https://cli.nylas.com',
},
_a[Region.Ireland] = {
nylasAPIUrl: 'https://ireland.api.nylas.com',
dashboardApiUrl: 'https://ireland.dashboard.nylas.com',
callbackDomain: 'cb.nylas.com',
websocketDomain: 'tunnel.nylas.com',
telemetryApiUrl: 'https://cli.nylas.com',
},
_a);
exports.DEFAULT_WEBHOOK_TRIGGERS = Object.values(webhook_1.WebhookTriggers);

2

lib/models/event.d.ts

@@ -50,2 +50,3 @@ import RestfulModel, { SaveCallback } from './restful-model';

organizerName?: string;
hideParticipants?: boolean;
visibility?: string;

@@ -88,2 +89,3 @@ customerEventId?: string;

organizerName?: string;
hideParticipants?: boolean;
visibility?: string;

@@ -90,0 +92,0 @@ customerEventId?: string;

@@ -297,2 +297,5 @@ "use strict";

readOnly: true,
}), hideParticipants: attributes_1.default.Boolean({
modelKey: 'hideParticipants',
jsonKey: 'hide_participants',
}), visibility: attributes_1.default.String({

@@ -299,0 +302,0 @@ modelKey: 'visibility',

@@ -11,2 +11,3 @@ import ManagementModel from './management-model';

AccountSyncError = "account.sync_error",
MessageBounced = "message.bounced",
MessageCreated = "message.created",

@@ -13,0 +14,0 @@ MessageOpened = "message.opened",

@@ -28,2 +28,3 @@ "use strict";

WebhookTriggers["AccountSyncError"] = "account.sync_error";
WebhookTriggers["MessageBounced"] = "message.bounced";
WebhookTriggers["MessageCreated"] = "message.created";

@@ -30,0 +31,0 @@ WebhookTriggers["MessageOpened"] = "message.opened";

8

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

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

"JSONStream": "^1.3.5",
"node-fetch": "^2.6.1"
"node-fetch": "^2.6.1",
"uuid": "^8.3.2",
"websocket": "^1.0.34"
},

@@ -61,2 +63,4 @@ "devDependencies": {

"@types/node-fetch": "^2.5.8",
"@types/uuid": "^8.3.4",
"@types/websocket": "^1.0.5",
"@typescript-eslint/eslint-plugin": "^2.25.0",

@@ -63,0 +67,0 @@ "@typescript-eslint/parser": "^2.25.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