Skip to content

Commit

Permalink
⬆️ 1.0.1 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
IonicaBizau committed Feb 17, 2017
1 parent 8fbfda6 commit b8d0ea4
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 22 deletions.
16 changes: 9 additions & 7 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ You can see below the API reference of this module.

To create a GitHub application, [click here](https://github.com/settings/applications/new).

:arrow_up: The following events are emitted by the module:
#### Events

- **`login-error`** (err, [lien](https://github.com/LienJS/Lien), ghApiClient)
:arrow_up: The following events are emitted by the module:

An error happened durring the error.
- **`login-error`** (err, [lien](https://github.com/LienJS/Lien), ghApiClient)

- **`login-success`** token, user, res.lien, ghApiClient);
An error happened durring the error.

The user metadata was fetched. If you don't want to fetch
- **`login-success`** token, user, res.lien, ghApiClient);

- **`token`** (token, lien, ghApiClient)
The user metadata was fetched. If you don't want to fetch

Emitted when the token is successfully got.
- **`token`** (token, lien, ghApiClient)

Emitted when the token is successfully got.

16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,21 @@ GitHub.on("login-success", (token, user, lien) => {

To create a GitHub application, [click here](https://github.com/settings/applications/new).

:arrow_up: The following events are emitted by the module:
#### Events

- **`login-error`** (err, [lien](https://github.com/LienJS/Lien), ghApiClient)
:arrow_up: The following events are emitted by the module:

An error happened durring the error.
- **`login-error`** (err, [lien](https://github.com/LienJS/Lien), ghApiClient)

- **`login-success`** token, user, res.lien, ghApiClient);
An error happened durring the error.

The user metadata was fetched. If you don't want to fetch
- **`login-success`** token, user, res.lien, ghApiClient);

- **`token`** (token, lien, ghApiClient)
The user metadata was fetched. If you don't want to fetch

Emitted when the token is successfully got.
- **`token`** (token, lien, ghApiClient)

Emitted when the token is successfully got.



Expand Down
16 changes: 9 additions & 7 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,21 @@ const GitHubOAuth = require("github-oauth")
*
* To create a GitHub application, [click here](https://github.com/settings/applications/new).
*
* :arrow_up: The following events are emitted by the module:
* #### Events
*
* - **`login-error`** (err, [lien](https://github.com/LienJS/Lien), ghApiClient)
* :arrow_up: The following events are emitted by the module:
*
* An error happened durring the error.
* - **`login-error`** (err, [lien](https://github.com/LienJS/Lien), ghApiClient)
*
* - **`login-success`** token, user, res.lien, ghApiClient);
* An error happened durring the error.
*
* The user metadata was fetched. If you don't want to fetch
* - **`login-success`** token, user, res.lien, ghApiClient);
*
* - **`token`** (token, lien, ghApiClient)
* The user metadata was fetched. If you don't want to fetch
*
* Emitted when the token is successfully got.
* - **`token`** (token, lien, ghApiClient)
*
* Emitted when the token is successfully got.
*/
exports.init = function (config, bloggify) {

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"for"
],
"license": "MIT",
"version": "1.0.0",
"version": "1.0.1",
"main": "lib/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

0 comments on commit b8d0ea4

Please sign in to comment.