Comparing version 0.1.0 to 0.2.0
@@ -5,3 +5,4 @@ export declare class Github { | ||
private clientSecret; | ||
constructor(clientId: string, clientSecret: string, redirectURI: string, options?: { | ||
constructor(clientId: string, clientSecret: string, options?: { | ||
redirectURI?: string; | ||
scope?: string[]; | ||
@@ -8,0 +9,0 @@ }); |
@@ -8,5 +8,5 @@ import { OAuth2Controller } from "oslo/oauth2"; | ||
clientSecret; | ||
constructor(clientId, clientSecret, redirectURI, options) { | ||
constructor(clientId, clientSecret, options) { | ||
this.controller = new OAuth2Controller(clientId, authorizeEndpoint, tokenEndpoint, { | ||
redirectURI | ||
redirectURI: options?.redirectURI | ||
}); | ||
@@ -13,0 +13,0 @@ this.scope = options?.scope ?? []; |
{ | ||
"name": "arctic", | ||
"type": "module", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "A collection of auth-related utilities", | ||
@@ -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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
41775
994
9