@forge/api 3.0.0-next.4 → 3.0.0-next.5

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
+ ## 3.0.0-next.5
4
+
5
+ ### Minor Changes
6
+
7
+ - b04283b: Add serialize function for InstallationAri
8
+
3
9
  ## 3.0.0-next.4
4
10
 
5
11
  ### Patch 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,MAAM,MAAM,MAAM,GAAG,GAAG,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAC7C,eAAO,MAAM,SAAS,UAAW,MAAM,KAAG,MAA2C,CAAC;AAEtF,MAAM,MAAM,cAAc,GAAG,GAAG,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC;AAC7D,eAAO,MAAM,iBAAiB,UAAW,MAAM,iBAAiB,MAAM,KAAG,cACf,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG,GAAG,GAAG;IAAE,cAAc,EAAE,MAAM,CAAA;CAAE,CAAC;AAkB/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,MAAM,MAAM,MAAM,GAAG,GAAG,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAC7C,eAAO,MAAM,SAAS,UAAW,MAAM,KAAG,MAA2C,CAAC;AAEtF,MAAM,MAAM,cAAc,GAAG,GAAG,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC;AAC7D,eAAO,MAAM,iBAAiB,UAAW,MAAM,iBAAiB,MAAM,KAAG,cACf,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG,GAAG,GAAG;IAAE,cAAc,EAAE,MAAM,CAAA;CAAE,CAAC;AAsB/D,eAAO,MAAM,kBAAkB,mBAAoB,MAAM,KAAG,eAA0D,CAAC"}
package/out/api/ari.js CHANGED
@@ -16,6 +16,9 @@ class InstallationAriImpl {
16
16
  toString() {
17
17
  return `ari:cloud:ecosystem::installation/${this._installationId}`;
18
18
  }
19
+ toJSON() {
20
+ return this.toString();
21
+ }
19
22
  }
20
23
  const getInstallationAri = (installationId) => new InstallationAriImpl(installationId);
21
24
  exports.getInstallationAri = getInstallationAri;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/api",
3
- "version": "3.0.0-next.4",
3
+ "version": "3.0.0-next.5",
4
4
  "description": "Forge API methods",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",