@forge/api 2.14.0-next.0 → 2.14.0-next.1

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.14.0-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 526e78c: Add support for requestBitbucket on the Forge Node runtime
8
+
3
9
  ## 2.14.0-next.0
4
10
 
5
11
  ### Minor Changes
package/out/api/fetch.js CHANGED
@@ -65,19 +65,19 @@ function getNodeRuntimeAPI() {
65
65
  fetch: (0, _1.wrapWithRouteUnwrapper)(wrapExternalEgress),
66
66
  requestJira: (0, _1.wrapRequestProduct)((0, exports.createProxyFetch)('none', 'jira')),
67
67
  requestConfluence: (0, _1.wrapRequestProduct)((0, exports.createProxyFetch)('none', 'confluence')),
68
- requestBitbucket: throwNotImplementedError,
68
+ requestBitbucket: (0, _1.wrapRequestProduct)((0, exports.createProxyFetch)('none', 'bitbucket')),
69
69
  asUser: () => ({
70
70
  requestJira: (0, _1.wrapRequestProduct)((0, exports.createProxyFetch)('user', 'jira')),
71
71
  requestConfluence: (0, _1.wrapRequestProduct)((0, exports.createProxyFetch)('user', 'confluence')),
72
- requestBitbucket: throwNotImplementedError,
72
+ requestBitbucket: (0, _1.wrapRequestProduct)((0, exports.createProxyFetch)('user', 'bitbucket')),
73
73
  requestGraph: (0, _1.wrapRequestGraph)((0, exports.createProxyFetch)('user', 'stargate')),
74
74
  withProvider: throwNotImplementedError
75
75
  }),
76
76
  asApp: () => ({
77
77
  requestJira: (0, _1.wrapRequestProduct)((0, exports.createProxyFetch)('app', 'jira')),
78
78
  requestConfluence: (0, _1.wrapRequestProduct)((0, exports.createProxyFetch)('app', 'confluence')),
79
- requestGraph: (0, _1.wrapRequestGraph)((0, exports.createProxyFetch)('app', 'stargate')),
80
- requestBitbucket: throwNotImplementedError
79
+ requestBitbucket: (0, _1.wrapRequestProduct)((0, exports.createProxyFetch)('app', 'bitbucket')),
80
+ requestGraph: (0, _1.wrapRequestGraph)((0, exports.createProxyFetch)('app', 'stargate'))
81
81
  })
82
82
  };
83
83
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/api",
3
- "version": "2.14.0-next.0",
3
+ "version": "2.14.0-next.1",
4
4
  "description": "Forge API methods",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",