@forge/api 6.0.2-next.2 → 6.0.2
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 +17 -0
- package/out/api/fetch.d.ts +2 -2
- package/out/api/fetch.d.ts.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @forge/api
|
|
2
2
|
|
|
3
|
+
## 6.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7abca30: Remove SDK dependency on @atlassian/ari
|
|
8
|
+
- 8916328: Fix ARI JSON serialisation
|
|
9
|
+
- e118b07: Remove remnants of sandbox runtime
|
|
10
|
+
- ebad936: Added support for feature flags requests in \_\_fetchProduct
|
|
11
|
+
- Updated dependencies [7abca30]
|
|
12
|
+
- @forge/storage@2.0.2
|
|
13
|
+
|
|
14
|
+
## 6.0.2-next.3
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- ebad936: Added support for feature flags requests in \_\_fetchProduct
|
|
19
|
+
|
|
3
20
|
## 6.0.2-next.2
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/out/api/fetch.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FetchAPI, FetchMethod, RequestProductMethod, Response } from '..';
|
|
2
2
|
export declare type AuthProvider = 'app' | 'user' | 'none';
|
|
3
|
-
declare type RemoteAPI = 'jira' | 'confluence' | 'stargate' | 'bitbucket' | 'sql' | 'os';
|
|
3
|
+
declare type RemoteAPI = 'jira' | 'confluence' | 'stargate' | 'bitbucket' | 'sql' | 'os' | 'feature-flags';
|
|
4
4
|
declare type ExternalAuthProvider = string;
|
|
5
5
|
declare type ExternalAuthRemote = string;
|
|
6
6
|
declare type FetchArgs = {
|
|
7
7
|
provider: AuthProvider;
|
|
8
8
|
remote: RemoteAPI;
|
|
9
|
-
type: 'fpp' | 'sql' | 'os';
|
|
9
|
+
type: 'fpp' | 'sql' | 'os' | 'feature-flags';
|
|
10
10
|
accountId?: string;
|
|
11
11
|
};
|
|
12
12
|
declare type ExternalAuthFetchArgs = {
|
package/out/api/fetch.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/api/fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,QAAQ,EACR,WAAW,EAGX,oBAAoB,EACpB,QAAQ,EACT,MAAM,IAAI,CAAC;AAIZ,oBAAY,YAAY,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;AACnD,aAAK,SAAS,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,GAAG,WAAW,GAAG,KAAK,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/api/fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,QAAQ,EACR,WAAW,EAGX,oBAAoB,EACpB,QAAQ,EACT,MAAM,IAAI,CAAC;AAIZ,oBAAY,YAAY,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;AACnD,aAAK,SAAS,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,GAAG,WAAW,GAAG,KAAK,GAAG,IAAI,GAAG,eAAe,CAAC;AAEnG,aAAK,oBAAoB,GAAG,MAAM,CAAC;AACnC,aAAK,kBAAkB,GAAG,MAAM,CAAC;AAEjC,aAAK,SAAS,GAAG;IACf,QAAQ,EAAE,YAAY,CAAC;IACvB,MAAM,EAAE,SAAS,CAAC;IAClB,IAAI,EAAE,KAAK,GAAG,KAAK,GAAG,IAAI,GAAG,eAAe,CAAC;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AACF,aAAK,qBAAqB,GAAG;IAAE,QAAQ,EAAE,oBAAoB,CAAC;IAAC,MAAM,EAAE,kBAAkB,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAAC;AAuB7G,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,GAAG,WAAW,CAe3D;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,qBAAqB,GAAG,WAAW,CAgBpE;AAyBD,eAAO,MAAM,kBAAkB,aAAc,QAAQ,kBAA8C,CAAC;AACpG,eAAO,MAAM,yBAAyB,aAAc,QAAQ,KAAG,IAa9D,CAAC;AA2GF,eAAO,MAAM,gBAAgB,oBACT,WAAW,aACrB,MAAM,cAAc,GAAG,oCAQ3B,CAAC;AAEP,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,EAAE,WAAW,KAAK,oBAG1D,CAAC;AAEF,wBAAgB,WAAW,IAAI,QAAQ,CAyCtC;AAUD,eAAO,MAAM,uBAAuB,EAAE,WAAuC,CAAC;AAC9E,eAAO,MAAM,wBAAwB,EAAE,WAAwC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/api",
|
|
3
|
-
"version": "6.0.2
|
|
3
|
+
"version": "6.0.2",
|
|
4
4
|
"description": "Forge API methods",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@atlassian/ari": "^2.199.0",
|
|
17
17
|
"@atlassian/in-memory-metrics": "0.1.0",
|
|
18
18
|
"@atlassian/metrics-interface": "4.0.0",
|
|
19
|
-
"@forge/runtime": "6.0.2
|
|
19
|
+
"@forge/runtime": "6.0.2",
|
|
20
20
|
"@types/node": "20.19.1",
|
|
21
21
|
"@types/node-fetch": "^2.6.12",
|
|
22
22
|
"expect-type": "^0.17.3",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@forge/auth": "0.0.8",
|
|
29
29
|
"@forge/egress": "2.0.1",
|
|
30
30
|
"@forge/i18n": "0.0.7",
|
|
31
|
-
"@forge/storage": "2.0.2
|
|
31
|
+
"@forge/storage": "2.0.2",
|
|
32
32
|
"headers-utils": "^3.0.2"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|