New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@forge/api

Package Overview
Dependencies
Maintainers
2
Versions
366
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forge/api - npm Package Compare versions

Comparing version 2.5.0 to 2.6.0-next.0

6

CHANGELOG.md
# @forge/api
## 2.6.0-next.0
### Minor Changes
- 8571c05: Add support for multiple accounts in external authentication
## 2.5.0

@@ -4,0 +10,0 @@

7

out/api/index.js

@@ -29,6 +29,4 @@ "use strict";

requestGraph: wrapRequestGraph(wrapFetch(api.asUser().requestGraph)),
withProvider: (provider, remoteName) => {
const { hasCredentials, requestCredentials, fetch: withProviderFetch } = api
.asUser()
.withProvider(provider, remoteName);
withProvider: (provider, remoteName, tokenId) => {
const { hasCredentials, requestCredentials, listCredentials, fetch: withProviderFetch } = api.asUser().withProvider(provider, remoteName, tokenId);
const wrappedRequestRemote = wrapWithRouteUnwrapper(wrapFetch(withProviderFetch));

@@ -38,2 +36,3 @@ return {

requestCredentials,
listCredentials,
fetch: wrappedRequestRemote

@@ -40,0 +39,0 @@ };

@@ -21,6 +21,7 @@ import { RequestInit, Response } from 'node-fetch';

requestCredentials: () => Promise<boolean>;
listCredentials: () => Promise<string[]>;
fetch: FetchMethodAllowingRoute;
}
export interface ExternalAuthFetchMethodsProvider {
withProvider: (provider: string, remoteName?: string) => ExternalAuthFetchMethods;
withProvider: (provider: string, remoteName?: string, tokenId?: string) => ExternalAuthFetchMethods;
}

@@ -27,0 +28,0 @@ export interface StorageMethods {

{
"name": "@forge/api",
"version": "2.5.0",
"version": "2.6.0-next.0",
"description": "Forge API methods",

@@ -5,0 +5,0 @@ "author": "Atlassian",

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