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

@octokit/auth-app

Package Overview
Dependencies
Maintainers
3
Versions
97
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 2.4.10 to 2.4.11

7

dist-node/index.js

@@ -108,2 +108,7 @@ 'use strict';

const installationId = options.installationId || state.installationId;
if (typeof installationId !== "number") {
throw new Error("[@octokit/auth-app] installationId option is required for installation authentication.");
}
const optionsWithInstallationTokenFromState = Object.assign({

@@ -318,3 +323,3 @@ installationId

const VERSION = "2.4.10";
const VERSION = "2.4.11";

@@ -321,0 +326,0 @@ const createAppAuth = function createAppAuth(options) {

@@ -7,2 +7,5 @@ import { get, set } from "./cache";

state.installationId);
if (typeof installationId !== "number") {
throw new Error("[@octokit/auth-app] installationId option is required for installation authentication.");
}
const optionsWithInstallationTokenFromState = Object.assign({ installationId }, options);

@@ -9,0 +12,0 @@ if (!options.refresh) {

2

dist-src/version.js

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

export const VERSION = "2.4.10";
export const VERSION = "2.4.11";

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

export declare const VERSION = "2.4.10";
export declare const VERSION = "2.4.11";

@@ -99,2 +99,5 @@ import { getUserAgent } from 'universal-user-agent';

state.installationId);
if (typeof installationId !== "number") {
throw new Error("[@octokit/auth-app] installationId option is required for installation authentication.");
}
const optionsWithInstallationTokenFromState = Object.assign({ installationId }, options);

@@ -286,3 +289,3 @@ if (!options.refresh) {

const VERSION = "2.4.10";
const VERSION = "2.4.11";

@@ -289,0 +292,0 @@ const createAppAuth = function createAppAuth(options) {

{
"name": "@octokit/auth-app",
"description": "GitHub App authentication for JavaScript",
"version": "2.4.10",
"version": "2.4.11",
"license": "MIT",

@@ -6,0 +6,0 @@ "files": [

@@ -58,3 +58,3 @@ # auth-app.js

⚠️ For usage in browsers: The private keys provide by GitHub are in `PKCS#1` format, but the WebCrypto API only supports `PKCS#8`. You need to convert it first:
⚠️ For usage in browsers: The private keys provided by GitHub are in `PKCS#1` format, but the WebCrypto API only supports `PKCS#8`. You need to convert it first:

@@ -61,0 +61,0 @@ ```shell

Sorry, the diff of this file is not supported yet

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