@octokit-next/types
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -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 @@ |
@@ -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", |
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
31800
959