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

@forge/api

Package Overview
Dependencies
Maintainers
14
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.2 to 0.1.3

8

out/index.d.ts
import { RequestInit, Response } from 'node-fetch';
export declare type APIResponse = Pick<Response, 'json' | 'text' | 'ok' | 'status' | 'statusText'>;
export declare type APIResponse = Pick<Response, 'json' | 'text' | 'arrayBuffer' | 'ok' | 'status' | 'statusText'>;
export declare type FetchMethod = (url: string, init?: RequestInit) => Promise<APIResponse>;

@@ -14,3 +14,9 @@ export interface FetchMethods {

declare const API: ForgeAPI;
declare const asUser: () => FetchMethods;
declare const asApp: () => FetchMethods;
declare const fetch: FetchMethod;
declare const requestJira: FetchMethod;
declare const requestConfluence: FetchMethod;
export default API;
export { asUser, asApp, fetch, requestJira, requestConfluence };
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const API = global.api;
const asUser = API.asUser;
exports.asUser = asUser;
const asApp = API.asApp;
exports.asApp = asApp;
const fetch = API.fetch;
exports.fetch = fetch;
const requestJira = API.requestJira;
exports.requestJira = requestJira;
const requestConfluence = API.requestConfluence;
exports.requestConfluence = requestConfluence;
exports.default = API;

2

package.json
{
"name": "@forge/api",
"version": "0.1.2",
"version": "0.1.3",
"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