Skip to content

Commit b8d0ea4

Browse files
committed
⬆️ 1.0.1 🎉
1 parent 8fbfda6 commit b8d0ea4

4 files changed

Lines changed: 28 additions & 22 deletions

File tree

DOCUMENTATION.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,19 @@ You can see below the API reference of this module.
1212

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

15-
:arrow_up: The following events are emitted by the module:
15+
#### Events
1616

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

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

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

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

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

27-
Emitted when the token is successfully got.
27+
- **`token`** (token, lien, ghApiClient)
28+
29+
Emitted when the token is successfully got.
2830

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,19 +74,21 @@ GitHub.on("login-success", (token, user, lien) => {
7474

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

77-
:arrow_up: The following events are emitted by the module:
77+
#### Events
7878

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

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

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

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

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

89-
Emitted when the token is successfully got.
89+
- **`token`** (token, lien, ghApiClient)
90+
91+
Emitted when the token is successfully got.
9092

9193

9294

lib/index.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,21 @@ const GitHubOAuth = require("github-oauth")
1616
*
1717
* To create a GitHub application, [click here](https://github.com/settings/applications/new).
1818
*
19-
* :arrow_up: The following events are emitted by the module:
19+
* #### Events
2020
*
21-
* - **`login-error`** (err, [lien](https://github.com/LienJS/Lien), ghApiClient)
21+
* :arrow_up: The following events are emitted by the module:
2222
*
23-
* An error happened durring the error.
23+
* - **`login-error`** (err, [lien](https://github.com/LienJS/Lien), ghApiClient)
2424
*
25-
* - **`login-success`** token, user, res.lien, ghApiClient);
25+
* An error happened durring the error.
2626
*
27-
* The user metadata was fetched. If you don't want to fetch
27+
* - **`login-success`** token, user, res.lien, ghApiClient);
2828
*
29-
* - **`token`** (token, lien, ghApiClient)
29+
* The user metadata was fetched. If you don't want to fetch
3030
*
31-
* Emitted when the token is successfully got.
31+
* - **`token`** (token, lien, ghApiClient)
32+
*
33+
* Emitted when the token is successfully got.
3234
*/
3335
exports.init = function (config, bloggify) {
3436

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"for"
1010
],
1111
"license": "MIT",
12-
"version": "1.0.0",
12+
"version": "1.0.1",
1313
"main": "lib/index.js",
1414
"scripts": {
1515
"test": "echo \"Error: no test specified\" && exit 1"

0 commit comments

Comments
 (0)