@forge/api 3.8.0-next.0 → 3.8.1-next.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,17 @@
1
1
  # @forge/api
2
2
 
3
+ ## 3.8.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - d4f9acd: Update internal implementation of Installation ARI
8
+
9
+ ## 3.8.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 567b79a: Add invokeRemote to @forge/api
14
+
3
15
  ## 3.8.0-next.0
4
16
 
5
17
  ### Minor Changes
@@ -1 +1 @@
1
- {"version":3,"file":"ari.d.ts","sourceRoot":"","sources":["../../src/api/ari.ts"],"names":[],"mappings":"AAEA,UAAU,GAAG;IACX,QAAQ,EAAE,MAAM,MAAM,CAAC;CACxB;AAED,oBAAY,MAAM,GAAG,GAAG,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAC7C,eAAO,MAAM,SAAS,UAAW,MAAM,KAAG,MAA2C,CAAC;AAEtF,oBAAY,cAAc,GAAG,GAAG,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC;AAC7D,eAAO,MAAM,iBAAiB,UAAW,MAAM,iBAAiB,MAAM,KAAG,cACf,CAAC;AAE3D,oBAAY,eAAe,GAAG,GAAG,GAAG;IAAE,cAAc,EAAE,MAAM,CAAA;CAAE,CAAC;AAsB/D,eAAO,MAAM,kBAAkB,mBAAoB,MAAM,KAAG,eAA0D,CAAC"}
1
+ {"version":3,"file":"ari.d.ts","sourceRoot":"","sources":["../../src/api/ari.ts"],"names":[],"mappings":"AAEA,UAAU,GAAG;IACX,QAAQ,EAAE,MAAM,MAAM,CAAC;CACxB;AAED,oBAAY,MAAM,GAAG,GAAG,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAC7C,eAAO,MAAM,SAAS,UAAW,MAAM,KAAG,MAA2C,CAAC;AAEtF,oBAAY,cAAc,GAAG,GAAG,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC;AAC7D,eAAO,MAAM,iBAAiB,UAAW,MAAM,iBAAiB,MAAM,KAAG,cACf,CAAC;AAE3D,oBAAY,eAAe,GAAG,GAAG,GAAG;IAAE,cAAc,EAAE,MAAM,CAAA;CAAE,CAAC;AAC/D,eAAO,MAAM,kBAAkB,mBAAoB,MAAM,KAAG,eACP,CAAC"}
package/out/api/ari.js CHANGED
@@ -6,20 +6,5 @@ const getAppAri = (appId) => ari_1.EcosystemAppAri.create({ appId });
6
6
  exports.getAppAri = getAppAri;
7
7
  const getEnvironmentAri = (appId, environmentId) => ari_1.EcosystemEnvironmentAri.create({ appId, environmentId });
8
8
  exports.getEnvironmentAri = getEnvironmentAri;
9
- class InstallationAriImpl {
10
- constructor(installationId) {
11
- this._installationId = installationId;
12
- }
13
- _installationId;
14
- get installationId() {
15
- return this._installationId;
16
- }
17
- toString() {
18
- return `ari:cloud:ecosystem::installation/${this._installationId}`;
19
- }
20
- toJSON() {
21
- return this.toString();
22
- }
23
- }
24
- const getInstallationAri = (installationId) => new InstallationAriImpl(installationId);
9
+ const getInstallationAri = (installationId) => ari_1.EcosystemInstallationAri.create({ installationId });
25
10
  exports.getInstallationAri = getInstallationAri;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/api",
3
- "version": "3.8.0-next.0",
3
+ "version": "3.8.1-next.0",
4
4
  "description": "Forge API methods",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",
@@ -12,7 +12,7 @@
12
12
  "compile": "tsc -b -v"
13
13
  },
14
14
  "devDependencies": {
15
- "@forge/runtime": "5.8.1",
15
+ "@forge/runtime": "5.9.0-next.1",
16
16
  "@types/node": "14.18.63",
17
17
  "expect-type": "^0.17.3",
18
18
  "jest-matcher-specific-error": "^1.0.0",