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 | ||
[![GitHub Issues](https://img.shields.io/github/issues/xBytez/slackbotapi.svg?style=flat-square)](https://github.com/xBytez/slackbotapi/issues) | ||
[![Current Version](https://img.shields.io/badge/version-1.2.1-green.svg?style=flat-square)](https://github.com/xBytez/slackbotapi) | ||
[![Current Version](https://img.shields.io/badge/version-1.2.3-green.svg?style=flat-square)](https://github.com/xBytez/slackbotapi) | ||
@@ -8,0 +8,0 @@ A Node.JS module for Slack's RTM API |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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