New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ellipsis-api

Package Overview
Dependencies
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ellipsis-api - npm Package Compare versions

Comparing version 0.3.0-0 to 0.3.0-1

22

index.js

@@ -223,2 +223,23 @@ const request = require('request');

disableListen(options) {
return new Promise((resolve, reject) => {
const mergedOptions = this.mergeOptions(options, resolve, reject);
this.checkListeningOptionsIn(mergedOptions);
const formData = {
actionName: mergedOptions.actionName,
medium: this.mediumFor(mergedOptions),
channel: this.channelFor(mergedOptions),
thread: mergedOptions.thread,
userId: this.ellipsis.userInfo.ellipsisUserId,
copilot: mergedOptions.copilot,
token: this.token()
};
request.post({
url: this.urlFor("v1/disable_message_listener"),
form: formData,
json: true
}, (error, response, body) => this.handleResponse(mergedOptions, error, response, body));
});
}
generateToken(options) {

@@ -364,2 +385,3 @@ return new Promise((resolve, reject) => {

this.listen = this.actions.listen.bind(this.actions);
this.disableListen = this.actions.disableListen.bind(this.disableListen);
this.generateToken = this.actions.generateToken.bind(this.actions);

@@ -366,0 +388,0 @@ }

2

package.json
{
"name": "ellipsis-api",
"version": "0.3.0-0",
"version": "0.3.0-1",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

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