slackbotapi
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -94,2 +94,3 @@ ////////////////////////////////////////////////////////////////// | ||
data.token = token; | ||
if(typeof data.attachments !== 'undefined') data.attachments = JSON.stringify(data.attachments); | ||
request.post('https://slack.com/api/'+method, function (error, response, body) { | ||
@@ -273,2 +274,2 @@ if (!error && response.statusCode == 200) { | ||
module.exports = slackAPI; | ||
module.exports = slackAPI; |
@@ -0,0 +0,0 @@ GNU LESSER GENERAL PUBLIC LICENSE |
{ | ||
"name": "slackbotapi", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "a node.js API using Slack their RTM API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,3 +5,3 @@ SlackbotAPI | ||
[](https://github.com/xBytez/slackbotapi/issues) | ||
[](https://github.com/xBytez/slackbotapi) | ||
[](https://github.com/xBytez/slackbotapi) | ||
@@ -8,0 +8,0 @@ A Node.JS module for Slack's RTM API |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
306
0
20673