packages/core: minor auth text fixes + reduntant has
This commit is contained in:
+1
-3
@@ -49,9 +49,7 @@ export function joinScopes(
|
||||
|
||||
for (const moreScopes of moreScopess) {
|
||||
for (const scope of moreScopes) {
|
||||
if (!result.has(scope)) {
|
||||
result.add(scope);
|
||||
}
|
||||
result.add(scope);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -40,11 +40,11 @@ type Options<AuthSession> = {
|
||||
*/
|
||||
provider: AuthProvider & { id: string };
|
||||
/**
|
||||
* API used to instanciate an auth requester.
|
||||
* API used to instantiate an auth requester.
|
||||
*/
|
||||
oauthRequestApi: OAuthRequestApi;
|
||||
/**
|
||||
* Function used to join together a set of scopes, defaults to joining with whitespace.
|
||||
* Function used to join together a set of scopes, defaults to joining with a space character.
|
||||
*/
|
||||
joinScopes?: (scopes: Set<string>) => string;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user