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 0.1.4 to 0.1.5-next.0

6

CHANGELOG.md
# @forge/api
## 0.1.5-next.0
### Patch Changes
- f86d998: Added types for the store methods
## 0.1.4

14

out/index.d.ts

@@ -8,2 +8,12 @@ import { RequestInit, Response } from 'node-fetch';

}
export interface StorageMethods {
get: (key: string) => Promise<any>;
set: (key: string, value: any) => Promise<void>;
delete: (key: string) => Promise<void>;
}
export interface StoreMethods {
onJiraIssue: (context: string) => StorageMethods;
onConfluencePage: (context: string) => StorageMethods;
onConfluenceSpace: (context: string) => StorageMethods;
}
export interface ForgeAPI extends FetchMethods {

@@ -13,2 +23,3 @@ asUser(): FetchMethods;

fetch: FetchMethod;
store: StoreMethods;
}

@@ -21,4 +32,5 @@ declare const API: ForgeAPI;

declare const requestConfluence: FetchMethod;
declare const store: StoreMethods;
export default API;
export { asUser, asApp, fetch, requestJira, requestConfluence };
export { asUser, asApp, fetch, requestJira, requestConfluence, store };
//# sourceMappingURL=index.d.ts.map

@@ -14,2 +14,4 @@ "use strict";

exports.requestConfluence = requestConfluence;
const store = API.store;
exports.store = store;
exports.default = API;

2

package.json
{
"name": "@forge/api",
"version": "0.1.4",
"version": "0.1.5-next.0",
"description": "Forge API methods",

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

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