diff --git a/index.test-d.ts b/index.test-d.ts index 18531bb..fbb735c 100644 --- a/index.test-d.ts +++ b/index.test-d.ts @@ -2,7 +2,9 @@ import { expectType } from "tsd"; import { Octokit } from "./index.js"; export async function test() { - const octokit = new Octokit(); + const octokit = new Octokit({ + version: "", + }); const response = await octokit.request("GET /"); expectType(response.status); diff --git a/package-lock.json b/package-lock.json index fd8a6cf..afc9175 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1075,9 +1075,9 @@ } }, "javascript-plugin-architecture-with-typescript-definitions": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/javascript-plugin-architecture-with-typescript-definitions/-/javascript-plugin-architecture-with-typescript-definitions-3.2.0.tgz", - "integrity": "sha512-zkld/yq1MnDbsWO1I2hzwMHNnHnCUbpIG/5WvxJ3VM/wOkU4vYqUIj9gPmvuCoAUFp56IIH1hg2wtH5QQN2k0w==" + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/javascript-plugin-architecture-with-typescript-definitions/-/javascript-plugin-architecture-with-typescript-definitions-3.3.0.tgz", + "integrity": "sha512-NAskSOGGgAQKmhhb6SVxdt0pWv8VvzAu0Z3nv6gRpxdSAo1QHOmeqTaBLHcJmmdR2/2rB4ylsR7MFJYHye2t+Q==" }, "js-tokens": { "version": "4.0.0", diff --git a/package.json b/package.json index 08aa9ed..ccd4fe8 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "license": "MIT", "repository": "github:octokit/octokit-next.js", "dependencies": { - "javascript-plugin-architecture-with-typescript-definitions": "3.2.0", + "javascript-plugin-architecture-with-typescript-definitions": "3.3.0", "node-fetch": "^3.0.0-beta.9" }, "types": "./index.d.ts",