Socket
Socket
Sign inDemoInstall

@octokit-next/types

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit-next/types - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

15

auth.d.ts

@@ -0,1 +1,4 @@

import { RequestInterface } from "./request";
import { Octokit } from "./index.js";
export type AuthAbstractConfig = {

@@ -27,2 +30,14 @@ StrategyOptions?: Record<string, unknown>;

): Promise<TConfig["Authentication"]>;
hook: {
/**
* Use the `request` instance and the endpoint options to hook into the request lifecycle as needed.
*
* @param {RequestInterface} request
* @param {Octokit.EndpointOptions} options
*/
(request: RequestInterface, options: Octokit.EndpointOptions): Promise<
Octokit.Response<unknown, number>
>;
};
}

@@ -29,0 +44,0 @@

2

package.json

@@ -7,3 +7,3 @@ {

"type": "module",
"version": "2.4.0",
"version": "2.4.1",
"description": "Shared TypeScript definitions for upcoming Octokit SDK",

@@ -10,0 +10,0 @@ "types": "./index.d.ts",

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