Socket
Socket
Sign inDemoInstall

@slack/client

Package Overview
Dependencies
68
Maintainers
4
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.16.0 to 3.16.1-sec

docs/_posts/2017-12-21-v3.16.1-sec.md

4

docs/_pages/rtm_client.md

@@ -261,3 +261,3 @@ ---

// See: https://api.slack.com/events/member_joined_channel
rtm.on('member_joined_channel', (event) => {
rtm.on(RTM_EVENTS.MEMBER_JOINED_CHANNEL, (event) => {
if (event.channel === timeTrackingChannelId) {

@@ -276,3 +276,3 @@ // When a user joins, get that user's current presence in order to update the timecard

// See: https://api.slack.com/events/member_left_channel
rtm.on('member_left_channel', (event) => {
rtm.on(RTM_EVENTS.MEMBER_LEFT_CHANNEL, (event) => {
if (event.channel === timeTrackingChannelId) {

@@ -279,0 +279,0 @@ // When a user leaves, the timecard records are deleted

/**
* Events sent by the Slack RTM API.
*
* NOTE: This file was auto-generated and should not be edited manually.
*/

@@ -35,2 +33,3 @@

FILE_UNSHARED: 'file_unshared',
GOODBYE: 'goodbye',
GROUP_ARCHIVE: 'group_archive',

@@ -52,2 +51,4 @@ GROUP_CLOSE: 'group_close',

MANUAL_PRESENCE_CHANGE: 'manual_presence_change',
MEMBER_JOINED_CHANNEL: 'member_joined_channel',
MEMBER_LEFT_CHANNEL: 'member_left_channel',
MESSAGE: 'message',

@@ -62,2 +63,3 @@ MPIM_CLOSE: 'mpim_close',

PRESENCE_CHANGE: 'presence_change',
PRESENCE_SUB: 'presence_sub',
REACTION_ADDED: 'reaction_added',

@@ -69,2 +71,3 @@ REACTION_REMOVED: 'reaction_removed',

SUBTEAM_CREATED: 'subteam_created',
SUBTEAM_MEMBERS_CHANGED: 'subteam_members_changed',
SUBTEAM_SELF_ADDED: 'subteam_self_added',

@@ -109,4 +112,6 @@ SUBTEAM_SELF_REMOVED: 'subteam_self_removed',

MESSAGE_DELETED: 'message_deleted',
MESSAGE_REPLIED: 'message_replied',
PINNED_ITEM: 'pinned_item',
REPLY_BROADCAST: 'reply_broadcast',
UNPINNED_ITEM: 'unpinned_item'
};

@@ -12,3 +12,2 @@ var isFunction = require('lodash').isFunction;

* - lookupByEmail: {@link https://api.slack.com/methods/users.lookupByEmail|users.lookupByEmail}
* - setActive: {@link https://api.slack.com/methods/users.setActive|users.setActive}
* - setPresence: {@link https://api.slack.com/methods/users.setPresence|users.setPresence}

@@ -121,13 +120,2 @@ *

/**
* Marks a user as active.
* @see {@link https://api.slack.com/methods/users.setActive|users.setActive}
*
* @param {function=} optCb Optional callback, if not using promises.
*/
UsersFacet.prototype.setActive = function setActive(optCb) {
return this.makeAPICall('users.setActive', null, null, optCb);
};
/**
* Manually sets user presence.

@@ -134,0 +122,0 @@ * @see {@link https://api.slack.com/methods/users.setPresence|users.setPresence}

{
"name": "@slack/client",
"version": "3.16.0",
"version": "3.16.1-sec",
"description": "A library for creating a Slack client",

@@ -32,3 +32,3 @@ "main": "./index",

"pkginfo": "^0.4.0",
"request": ">=2.0.0 <2.77.0",
"request": "^2.85.0",
"retry": "^0.9.0",

@@ -35,0 +35,0 @@ "url-join": "0.0.1",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc