messaging-api-slack
Advanced tools
Comparing version 0.5.15 to 0.5.16
@@ -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. |
{ | ||
"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( |
74939
2073