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

messaging-api-slack

Package Overview
Dependencies
Maintainers
3
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

messaging-api-slack - npm Package Compare versions

Comparing version 0.5.15 to 0.5.16

4

lib/SlackOAuthClient.js

@@ -81,2 +81,5 @@ 'use strict';Object.defineProperty(exports, "__esModule", { value: true });var _extends = Object.assign || function (target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i];for (var key in source) {if (Object.prototype.hasOwnProperty.call(source, key)) {target[key] = source[key];}}}return target;};

get accessToken() {
return this._token;
}

@@ -113,2 +116,3 @@

/**

@@ -115,0 +119,0 @@ * Gets information about a public channel.

2

package.json
{
"name": "messaging-api-slack",
"description": "Messaging API client for Slack",
"version": "0.5.15",
"version": "0.5.16",
"engines": {

@@ -6,0 +6,0 @@ "node": ">=6"

@@ -73,2 +73,9 @@ import querystring from 'querystring';

describe('#accessToken', () => {
it('should return underlying access token', () => {
const client = new SlackOAuthClient(TOKEN);
expect(client.accessToken).toBe(TOKEN);
});
});
describe('#callMethod', () => {

@@ -75,0 +82,0 @@ it('should call slack api', async () => {

@@ -81,2 +81,6 @@ /* @flow */

get accessToken(): Token {
return this._token;
}
getHTTPClient: () => Axios = () => {

@@ -83,0 +87,0 @@ warning(

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