Prepare release 1.8.7

This commit is contained in:
Nick Cipollo
2021-08-05 16:52:42 -04:00
parent b60bd83d11
commit 65f33a2c24
631 changed files with 288795 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
import { request } from "@octokit/request";
import { getUserAgent } from "universal-user-agent";
import { VERSION } from "./version";
import { withDefaults } from "./with-defaults";
export const graphql = withDefaults(request, {
headers: {
"user-agent": `octokit-graphql.js/${VERSION} ${getUserAgent()}`,
},
method: "POST",
url: "/graphql",
});
export function withCustomRequest(customRequest) {
return withDefaults(customRequest, {
method: "POST",
url: "/graphql",
});
}