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

@forge/api

Package Overview
Dependencies
Maintainers
8
Versions
360
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.1.0-next.3 to 2.1.0-next.4

8

CHANGELOG.md
# @forge/api
## 2.1.0-next.4
### Patch Changes
- 85ce23a: Update error message and build config
- Updated dependencies [85ce23a]
- @forge/auth@0.0.1-next.2
## 2.1.0-next.3

@@ -4,0 +12,0 @@

14

out/authorization/index.d.ts
export declare const authorize: () => {
onJira: (projectPermissionsInput: import("@forge/auth/out/jira").ProjectPermission[]) => Promise<import("@forge/auth/out/jira").ProjectPermissionResponse[]>;
onJiraProject: (...projects: (string | number)[]) => {
[k: string]: import("@forge/auth/out/types").PermissionCheck;
};
onJiraIssue: (...issues: (string | number)[]) => {
[k: string]: import("@forge/auth/out/types").PermissionCheck;
};
onConfluenceContent: (contentId: string | number) => {
[k: string]: import("@forge/auth/out/types").PermissionCheck;
};
readonly onJira: (projectPermissionsInput: import("@forge/auth/out/jira").ProjectPermission[]) => Promise<import("@forge/auth/out/jira").ProjectPermissionResponse[]>;
readonly onJiraProject: (projects: string | number | (string | number)[]) => Record<string, import("@forge/auth/out/types").PermissionCheck>;
readonly onJiraIssue: (issues: string | number | (string | number)[]) => Record<string, import("@forge/auth/out/types").PermissionCheck>;
readonly onConfluenceContent: (contentId: string | number) => Record<string, import("@forge/auth/out/types").PermissionCheck>;
};
//# sourceMappingURL=index.d.ts.map

@@ -8,3 +8,3 @@ "use strict";

if (!process.env.__CURRENT_USER_ACCOUNT_ID)
throw new Error('Cannot authorize undefined user');
throw new Error(`Couldn’t find the accountId of the invoking user. This API can only be used inside user-invoked modules.`);
const accountId = process.env.__CURRENT_USER_ACCOUNT_ID;

@@ -11,0 +11,0 @@ return Object.assign(Object.assign({}, auth_1.authorizeConfluenceWithFetch(async (path, opts) => {

{
"name": "@forge/api",
"version": "2.1.0-next.3",
"version": "2.1.0-next.4",
"description": "Forge API methods",

@@ -18,3 +18,3 @@ "author": "Atlassian",

"dependencies": {
"@forge/auth": "^0.0.1-next.0",
"@forge/auth": "^0.0.1-next.2",
"@forge/storage": "^1.0.4-next.0",

@@ -21,0 +21,0 @@ "@types/node-fetch": "^2.5.7",

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