@forge/api 2.15.1-next.0 → 2.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @forge/api
2
2
 
3
+ ## 2.15.1
4
+
5
+ ### Patch Changes
6
+
7
+ - e91cabc: Route HTTPS calls from the new runtime through @forge/api
8
+ - 55f66d2: Support fetch through proxy on the Node Runtime
9
+
10
+ ## 2.15.1-next.1
11
+
12
+ ### Patch Changes
13
+
14
+ - e91cabc: Route HTTPS calls from the new runtime through @forge/api
15
+
3
16
  ## 2.15.1-next.0
4
17
 
5
18
  ### Patch Changes
@@ -1,8 +1,6 @@
1
- /// <reference types="node" />
2
1
  import { RequestInfo, RequestInit, Response } from 'node-fetch';
3
- import { Url } from 'url';
4
2
  import { FetchAPI } from '..';
5
- declare type FetchFunction = (url: RequestInfo | Url, options?: RequestInit) => Promise<Response>;
3
+ declare type FetchFunction = (url: RequestInfo, options?: RequestInit) => Promise<Response>;
6
4
  declare type ProxyUrlProvider = 'app' | 'user' | 'none';
7
5
  declare type ProxyUrlRemote = 'jira' | 'confluence' | 'stargate' | 'bitbucket';
8
6
  declare type ProxyFetchArgs = {
@@ -1 +1 @@
1
- {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/api/fetch.ts"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAW,MAAM,YAAY,CAAC;AAChF,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,IAAI,CAAC;AAQ9B,aAAK,aAAa,GAAG,CAAC,GAAG,EAAE,WAAW,GAAG,GAAG,EAAE,OAAO,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC1F,aAAK,gBAAgB,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;AACh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ED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/api",
3
- "version": "2.15.1-next.0",
3
+ "version": "2.15.1",
4
4
  "description": "Forge API methods",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",
@@ -14,7 +14,7 @@
14
14
  "devDependencies": {
15
15
  "@forge/runtime": "4.3.1",
16
16
  "@forge/util": "1.2.2",
17
- "@types/node": "^12.12.63",
17
+ "@types/node": "14.18.42",
18
18
  "jest-matcher-specific-error": "^1.0.0",
19
19
  "nock": "^10.0.6"
20
20
  },