@forge/api 2.10.0-next.1 → 2.10.0

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,22 @@
1
1
  # @forge/api
2
2
 
3
+ ## 2.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e0e3587: Add NodeJS runtime support for Storage API
8
+
9
+ ### Patch Changes
10
+
11
+ - 37f48c5: Fix contextAri for nodejs runtime
12
+ - ca8551d: Fix proxy fetch not respecting requestInit options
13
+
14
+ ## 2.10.0-next.2
15
+
16
+ ### Patch Changes
17
+
18
+ - 37f48c5: Fix contextAri for nodejs runtime
19
+
3
20
  ## 2.10.0-next.1
4
21
 
5
22
  ### Minor Changes
@@ -3,11 +3,7 @@ export declare type ForgeRuntime = {
3
3
  token: string;
4
4
  url: string;
5
5
  };
6
- context: {
7
- installContext: {
8
- contextAri: string;
9
- };
10
- };
6
+ contextAri: string;
11
7
  allowedEgress: string[];
12
8
  lambdaContext: {
13
9
  awsRequestId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/api/runtime.ts"],"names":[],"mappings":"AAKA,oBAAY,YAAY,GAAG;IACzB,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,OAAO,EAAE;QACP,cAAc,EAAE;YACd,UAAU,EAAE,MAAM,CAAC;SACpB,CAAC;KACH,CAAC;IACF,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE;QACb,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;CACH,CAAC;AAEF,wBAAgB,UAAU,IAAI,YAAY,CAOzC"}
1
+ {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../src/api/runtime.ts"],"names":[],"mappings":"AAKA,oBAAY,YAAY,GAAG;IACzB,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,aAAa,EAAE;QACb,YAAY,EAAE,MAAM,CAAC;KACtB,CAAC;CACH,CAAC;AAEF,wBAAgB,UAAU,IAAI,YAAY,CAOzC"}
@@ -13,7 +13,7 @@ const getContextAri = () => {
13
13
  }
14
14
  else {
15
15
  const runtime = (0, runtime_1.getRuntime)();
16
- return runtime.context.installContext.contextAri;
16
+ return runtime.contextAri;
17
17
  }
18
18
  };
19
19
  exports.getContextAri = getContextAri;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/api",
3
- "version": "2.10.0-next.1",
3
+ "version": "2.10.0",
4
4
  "description": "Forge API methods",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",