@tbhmens/twitch-auth
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "@tbhmens/twitch-auth", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "An easy twitch openid connect interface.", | ||
@@ -5,0 +5,0 @@ "main": "./src/auth.js", |
@@ -112,4 +112,4 @@ /** @module TwitchAuth */ | ||
}); | ||
}) | ||
}) | ||
}); | ||
}); | ||
}); | ||
@@ -122,3 +122,3 @@ } | ||
* @param {object} statestore - Server-sided storage object on the user | ||
* @returns {{aud: string, exp: number, iat: number, iss: string | "https://id.twitch.tv/oauth2", sub: number, azp: string, email: string, email_verified: boolean, picture: string, preferred_username: string, updated_at: string}} - Twitch User Object (If 'email_verified' is false then 'email' will be removed.) | ||
* @returns {Promise<{aud: string, exp: number, iat: number, iss: string | "https://id.twitch.tv/oauth2", sub: number, azp: string, email: string|undefined, email_verified: boolean|undefined, picture: string|undefined, preferred_username: string|undefined, updated_at: string|undefined}>} - Twitch User Object (If 'email_verified' is false then 'email' will be removed.) | ||
*/ | ||
@@ -145,3 +145,3 @@ verify(params, statestore) { | ||
resolve(result); | ||
}) | ||
}).catch(err => reject(err)); | ||
}).catch(err => reject(err)); | ||
@@ -148,0 +148,0 @@ else |
7506