Skip to content

Commit

Permalink
Updates the README and package.json to 2.0.0 for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Leah Jones authored and Leah Jones committed Feb 13, 2016
1 parent 6d7532a commit 0374306
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This library does not attempt to provide application level support, e.g. regex m
## Installation

```bashp
npm install slack-client@2.0.0-beta.9 --save
npm install slack-client --save
```

## Usage
Expand Down
7 changes: 5 additions & 2 deletions examples/example-web-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ var token = process.env.SLACK_API_TOKEN || '';
var web = new WebClient(token);

web.team.info(function teamInfoCb(err, channels) {
if (err) return console.log('Error:', err);
console.log('Team Info:', channels);
if (err) {
console.log('Error:', err);
} else {
console.log('Team Info:', channels);
}
});
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "slack-client",
"version": "2.0.0-beta.9",
"description": "A library for creating a full Slack client",
"version": "2.0.0",
"description": "A library for creating a Slack client",
"main": "./index",
"scripts": {
"lint": "eslint . --ignore-path .gitignore",
Expand Down

0 comments on commit 0374306

Please sign in to comment.