Comparing version 0.3.4 to 0.3.5
@@ -26,2 +26,4 @@ export declare class Apple { | ||
transfer_sub?: string; | ||
nonce?: string; | ||
nonce_supported?: boolean; | ||
} | ||
@@ -28,0 +30,0 @@ export interface AppleTokens { |
@@ -14,3 +14,2 @@ import { TimeSpan, createDate } from "oslo"; | ||
this.scope = options?.scope ?? []; | ||
this.scope.push("identify"); | ||
this.clientSecret = clientSecret; | ||
@@ -35,3 +34,3 @@ } | ||
async getUser(accessToken) { | ||
const url = new URL("https://discord.com/api/users/@me"); | ||
const url = new URL("https://graph.facebook.com/me"); | ||
url.searchParams.set("access_token", accessToken); | ||
@@ -38,0 +37,0 @@ url.searchParams.set("fields", ["id", "name", "picture", "email"].join(",")); |
{ | ||
"name": "arctic", | ||
"type": "module", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "OAuth 2.0 with built-in providers", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41590
997