Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@octokit/auth-token

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/auth-token - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

6

dist-types/index.d.ts

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc