@octokit/auth-token
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -1,4 +0,2 @@ | ||
import { Token } from "./types"; | ||
export declare function createTokenAuth(token: Token): (() => Promise<import("./types").Authentication>) & { | ||
hook: (request: import("@octokit/types").RequestInterface, route: string | import("@octokit/types").EndpointOptions, parameters?: import("@octokit/types").RequestParameters | undefined) => Promise<import("@octokit/types").OctokitResponse<any>>; | ||
}; | ||
import { AuthInterface, Token } from "./types"; | ||
export declare function createTokenAuth(token: Token): AuthInterface; |
import * as OctokitTypes from "@octokit/types"; | ||
export declare type AnyResponse = OctokitTypes.OctokitResponse<any>; | ||
export declare type AuthInterface = OctokitTypes.AuthInterface; | ||
export declare type EndpointDefaults = OctokitTypes.EndpointDefaults; | ||
@@ -4,0 +5,0 @@ export declare type EndpointOptions = OctokitTypes.EndpointOptions; |
{ | ||
"name": "@octokit/auth-token", | ||
"description": "GitHub API token authentication for browsers and Node.js", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"license": "MIT", | ||
@@ -24,3 +24,3 @@ "files": [ | ||
"dependencies": { | ||
"@octokit/types": "^1.0.0" | ||
"@octokit/types": "^1.1.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
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
17465
106
Updated@octokit/types@^1.1.0