@forge/api 2.10.0-next.1 → 2.10.0-next.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @forge/api
2
2
 
3
+ ## 2.10.0-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 37f48c5: Fix contextAri for nodejs runtime
8
+
3
9
  ## 2.10.0-next.1
4
10
 
5
11
  ### 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-next.2",
4
4
  "description": "Forge API methods",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",