Prepare 1.8.4 release

This commit is contained in:
Nick Cipollo
2021-04-15 13:30:45 -04:00
parent ec90733eaa
commit 7c50463644
442 changed files with 156408 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
export async function auth(token) {
const tokenType = token.split(/\./).length === 3
? "app"
: /^v\d+\./.test(token)
? "installation"
: "oauth";
return {
type: "token",
token: token,
tokenType
};
}