@forge/bridge 3.3.0 → 3.4.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/bridge
2
2
 
3
+ ## 3.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b280247: add requestBitbucket to forge-bridge
8
+
9
+ ## 3.4.0-next.0
10
+
11
+ ### Minor Changes
12
+
13
+ - b280247: add requestBitbucket to forge-bridge
14
+
3
15
  ## 3.3.0
4
16
 
5
17
  ### Minor Changes
@@ -2,5 +2,6 @@ import { getCallBridge } from '../bridge';
2
2
  export declare const productFetchApi: (callBridge: ReturnType<typeof getCallBridge>) => {
3
3
  requestConfluence: (restPath: string, fetchOptions?: RequestInit) => Promise<Response>;
4
4
  requestJira: (restPath: string, fetchOptions?: RequestInit) => Promise<Response>;
5
+ requestBitbucket: (restPath: string, fetchOptions?: RequestInit) => Promise<Response>;
5
6
  };
6
7
  //# sourceMappingURL=fetch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/fetch/fetch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAqD1C,eAAO,MAAM,eAAe,eAAgB,WAAW,oBAAoB,CAAC;kCAyB1C,MAAM,iBAAiB,WAAW,KAAG,QAAQ,QAAQ,CAAC;4BAG5D,MAAM,iBAAiB,WAAW,KAAG,QAAQ,QAAQ,CAAC;CAGjF,CAAC"}
1
+ {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/fetch/fetch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAqD1C,eAAO,MAAM,eAAe,eAAgB,WAAW,oBAAoB,CAAC;kCA6B1C,MAAM,iBAAiB,WAAW,KAAG,QAAQ,QAAQ,CAAC;4BAG5D,MAAM,iBAAiB,WAAW,KAAG,QAAQ,QAAQ,CAAC;iCAGjD,MAAM,iBAAiB,WAAW,KAAG,QAAQ,QAAQ,CAAC;CAGtF,CAAC"}
@@ -49,7 +49,8 @@ const productFetchApi = (callBridge) => {
49
49
  });
50
50
  return {
51
51
  requestConfluence: (restPath, fetchOptions) => fetch('confluence', restPath, fetchOptions),
52
- requestJira: (restPath, fetchOptions) => fetch('jira', restPath, fetchOptions)
52
+ requestJira: (restPath, fetchOptions) => fetch('jira', restPath, fetchOptions),
53
+ requestBitbucket: (restPath, fetchOptions) => fetch('bitbucket', restPath, fetchOptions)
53
54
  };
54
55
  };
55
56
  exports.productFetchApi = productFetchApi;
@@ -1,2 +1,2 @@
1
- export declare const requestConfluence: (restPath: string, fetchOptions?: RequestInit) => Promise<Response>, requestJira: (restPath: string, fetchOptions?: RequestInit) => Promise<Response>;
1
+ export declare const requestConfluence: (restPath: string, fetchOptions?: RequestInit) => Promise<Response>, requestJira: (restPath: string, fetchOptions?: RequestInit) => Promise<Response>, requestBitbucket: (restPath: string, fetchOptions?: RequestInit) => Promise<Response>;
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fetch/index.ts"],"names":[],"mappings":"AAQA,eAAO,MAAQ,iBAAiB,aAJA,MAAM,iBAAiB,WAAW,KAAK,QAAQ,QAAQ,CAAC,EAItD,WAAW,aAHnB,MAAM,iBAAiB,WAAW,KAAK,QAAQ,QAAQ,CAGoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fetch/index.ts"],"names":[],"mappings":"AASA,eAAO,MAAQ,iBAAiB,aALA,MAAM,iBAAiB,WAAW,KAAK,QAAQ,QAAQ,CAAC,EAKtD,WAAW,aAJnB,MAAM,iBAAiB,WAAW,KAAK,QAAQ,QAAQ,CAAC,EAInC,gBAAgB,aAHhC,MAAM,iBAAiB,WAAW,KAAK,QAAQ,QAAQ,CAGiC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.requestJira = exports.requestConfluence = void 0;
4
+ exports.requestBitbucket = exports.requestJira = exports.requestConfluence = void 0;
5
5
  const bridge_1 = require("../bridge");
6
6
  const fetch_1 = require("./fetch");
7
- _a = (0, fetch_1.productFetchApi)((0, bridge_1.getCallBridge)()), exports.requestConfluence = _a.requestConfluence, exports.requestJira = _a.requestJira;
7
+ _a = (0, fetch_1.productFetchApi)((0, bridge_1.getCallBridge)()), exports.requestConfluence = _a.requestConfluence, exports.requestJira = _a.requestJira, exports.requestBitbucket = _a.requestBitbucket;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bridge",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "description": "Forge bridge API for custom UI apps",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",