messaging-api-slack
Advanced tools
Comparing version 0.7.2 to 0.7.4
@@ -1,8 +0,7 @@ | ||
'use strict'; | ||
'use strict';Object.defineProperty(exports, "__esModule", { value: true });exports.SlackWebhookClient = exports.SlackOAuthClient = undefined; | ||
var _SlackWebhookClient = require('./SlackWebhookClient');var _SlackWebhookClient2 = _interopRequireDefault(_SlackWebhookClient); | ||
var _SlackOAuthClient = require('./SlackOAuthClient');var _SlackOAuthClient2 = _interopRequireDefault(_SlackOAuthClient);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} | ||
var _SlackOAuthClient = require('./SlackOAuthClient');var _SlackOAuthClient2 = _interopRequireDefault(_SlackOAuthClient);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}exports. | ||
module.exports = { | ||
SlackOAuthClient: _SlackOAuthClient2.default, | ||
SlackWebhookClient: _SlackWebhookClient2.default }; | ||
SlackOAuthClient = _SlackOAuthClient2.default;exports.SlackWebhookClient = _SlackWebhookClient2.default;exports.default = | ||
{ SlackOAuthClient: _SlackOAuthClient2.default, SlackWebhookClient: _SlackWebhookClient2.default }; |
@@ -114,3 +114,2 @@ '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;}; | ||
data = response.data,config = response.config,request = response.request; | ||
@@ -117,0 +116,0 @@ |
{ | ||
"name": "messaging-api-slack", | ||
"description": "Messaging API client for Slack", | ||
"version": "0.7.2", | ||
"version": "0.7.4", | ||
"engines": { | ||
@@ -21,8 +21,8 @@ "node": ">=6" | ||
"dependencies": { | ||
"axios": "^0.17.0", | ||
"axios-error": "^0.7.0" | ||
"axios": "^0.18.0", | ||
"axios-error": "^0.7.4" | ||
}, | ||
"devDependencies": { | ||
"axios-mock-adapter": "^1.9.0" | ||
"axios-mock-adapter": "^1.15.0" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import { SlackWebhookClient, SlackOAuthClient } from '../'; | ||
import { SlackWebhookClient, SlackOAuthClient } from '..'; | ||
@@ -3,0 +3,0 @@ it('should export api correctly', () => { |
@@ -37,2 +37,3 @@ import querystring from 'querystring'; | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -70,2 +71,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -104,2 +106,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -141,2 +144,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -174,2 +178,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -248,2 +253,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -319,2 +325,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -350,2 +357,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -383,2 +391,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -420,2 +429,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -491,2 +501,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -525,2 +536,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -601,2 +613,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -674,2 +687,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -706,2 +720,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -742,2 +757,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -780,2 +796,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -922,2 +939,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1021,2 +1039,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1131,2 +1150,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1143,2 +1163,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1201,2 +1222,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1251,2 +1273,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1303,2 +1326,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1369,2 +1393,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1404,2 +1429,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1434,2 +1460,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1476,2 +1503,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1489,2 +1517,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1585,2 +1614,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1676,2 +1706,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1786,2 +1817,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1798,2 +1830,3 @@ } | ||
{ | ||
Accept: 'application/json, text/plain, */*', | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
@@ -1800,0 +1833,0 @@ } |
@@ -6,5 +6,3 @@ /* @flow */ | ||
module.exports = { | ||
SlackOAuthClient, | ||
SlackWebhookClient, | ||
}; | ||
export { SlackOAuthClient, SlackWebhookClient }; | ||
export default { SlackOAuthClient, SlackWebhookClient }; |
@@ -114,3 +114,2 @@ /* @flow */ | ||
); | ||
const { data, config, request } = response; | ||
@@ -117,0 +116,0 @@ |
96907
2723
+ Addedaxios@0.18.1(transitive)
+ Addedfollow-redirects@1.5.10(transitive)
+ Addedis-buffer@2.0.5(transitive)
- Removedaxios@0.17.1(transitive)
- Removedfollow-redirects@1.15.9(transitive)
- Removedis-buffer@1.1.6(transitive)
Updatedaxios@^0.18.0
Updatedaxios-error@^0.7.4