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

@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 1.13.2 to 1.14.0

endpoint.d.ts

15

index.d.ts

@@ -0,1 +1,3 @@

import { EndpointInterface } from "./endpoint";
export { EndpointInterface } from "./endpoint";
import { RequestInterface } from "./request";

@@ -63,2 +65,4 @@ export { RequestInterface } from "./request";

type RequestMethod = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT";
interface RequestOptions<

@@ -103,9 +107,10 @@ TVersion extends keyof Octokit.ApiVersions = "github.com"

/**
* `user-agent` is set do a default and can be overwritten as needed.
*/
"user-agent"?: string;
/**
* Use `authorization` to send authenticated request, remember `token ` / `bearer ` prefixes. Example: `token 1234567890abcdef1234567890abcdef12345678`
*/
authorization?: string;
/**
* `user-agent` is set do a default and can be overwritten as needed.
*/
"user-agent"?: string;
[header: string]: string | number | undefined;

@@ -232,2 +237,3 @@ }

ResponseHeaders: Octokit.ResponseHeaders;
RequestHeaders: Octokit.RequestHeaders;
Endpoints: Octokit.Endpoints;

@@ -362,2 +368,3 @@ };

request: RequestInterface<TVersion>;
endpoint: EndpointInterface<TVersion>;
}

@@ -364,0 +371,0 @@

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

"type": "module",
"version": "1.13.2",
"version": "1.14.0",
"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