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

@octokit/auth-app

Package Overview
Dependencies
Maintainers
4
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/auth-app - npm Package Compare versions

Comparing version 7.0.0 to 7.1.0

9

dist-node/index.js

@@ -15,3 +15,3 @@ // pkg/dist-src/index.js

const appAuthentication = await githubAppJwt({
id: +appId,
id: appId,
privateKey,

@@ -388,3 +388,3 @@ now: timeDifference && Math.floor(Date.now() / 1e3) + timeDifference

// pkg/dist-src/version.js
var VERSION = "7.0.0";
var VERSION = "7.1.0";

@@ -397,7 +397,2 @@ // pkg/dist-src/index.js

}
if (!Number.isFinite(+options.appId)) {
throw new Error(
"[@octokit/auth-app] appId option must be a number or numeric string"
);
}
if (!options.privateKey) {

@@ -404,0 +399,0 @@ throw new Error("[@octokit/auth-app] privateKey option is required");

@@ -9,3 +9,3 @@ import githubAppJwt from "universal-github-app-jwt";

const appAuthentication = await githubAppJwt({
id: +appId,
id: appId,
privateKey,

@@ -12,0 +12,0 @@ now: timeDifference && Math.floor(Date.now() / 1e3) + timeDifference

@@ -13,7 +13,2 @@ import { getUserAgent } from "universal-user-agent";

}
if (!Number.isFinite(+options.appId)) {
throw new Error(
"[@octokit/auth-app] appId option must be a number or numeric string"
);
}
if (!options.privateKey) {

@@ -20,0 +15,0 @@ throw new Error("[@octokit/auth-app] privateKey option is required");

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

const VERSION = "7.0.0";
const VERSION = "7.1.0";
export {
VERSION
};

@@ -93,3 +93,3 @@ import * as OctokitTypes from "@octokit/types";

token: JWT;
appId: number;
appId: number | string;
expiresAt: string;

@@ -96,0 +96,0 @@ };

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

export declare const VERSION = "7.0.0";
export declare const VERSION = "7.1.0";

@@ -8,3 +8,3 @@ {

"type": "module",
"version": "7.0.0",
"version": "7.1.0",
"description": "GitHub App authentication for JavaScript",

@@ -27,3 +27,3 @@ "repository": "github:octokit/auth-app.js",

"lru-cache": "^10.0.0",
"universal-github-app-jwt": "^2.0.6",
"universal-github-app-jwt": "^2.2.0",
"universal-user-agent": "^7.0.0"

@@ -36,3 +36,3 @@ },

"@types/node": "^20.0.0",
"esbuild": "^0.20.0",
"esbuild": "^0.21.0",
"fetch-mock": "npm:@gr2m/fetch-mock@9.11.0-pull-request-644.1",

@@ -39,0 +39,0 @@ "glob": "^10.2.5",

Sorry, the diff of this file is not supported yet

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