@forge/bridge 6.3.1-next.6 → 6.4.0-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 +19 -0
- package/out/fetch/index.d.ts +3 -0
- package/out/fetch/index.d.ts.map +1 -1
- package/out/fetch/index.js +6 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @forge/bridge
|
|
2
2
|
|
|
3
|
+
## 6.4.0-next.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f1d1bd8: Add fetchUserRecommendations method
|
|
8
|
+
|
|
9
|
+
## 6.3.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [a804b36]
|
|
14
|
+
- Updated dependencies [db66d54]
|
|
15
|
+
- Updated dependencies [40260f5]
|
|
16
|
+
- Updated dependencies [0795370]
|
|
17
|
+
- Updated dependencies [f2c080f]
|
|
18
|
+
- Updated dependencies [c62c72a]
|
|
19
|
+
- Updated dependencies [6479f6e]
|
|
20
|
+
- @forge/manifest@13.4.0
|
|
21
|
+
|
|
3
22
|
## 6.3.1-next.6
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/out/fetch/index.d.ts
CHANGED
|
@@ -3,4 +3,7 @@ export declare const requestConfluence: (restPath: string, fetchOptions?: ForgeR
|
|
|
3
3
|
export declare const requestRemote: (remoteKey: string, fetchOptions?: ForgeRequestInit & {
|
|
4
4
|
path?: string;
|
|
5
5
|
}) => Promise<Response>;
|
|
6
|
+
export declare const fetchUserRecommendations: (input: {
|
|
7
|
+
query?: string;
|
|
8
|
+
}) => Promise<any>;
|
|
6
9
|
//# sourceMappingURL=index.d.ts.map
|
package/out/fetch/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fetch/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAY5C,eAAO,MAAQ,iBAAiB,aATA,MAAM,iBAAiB,gBAAgB,KAAK,OAAO,CAAC,QAAQ,CAAC,EAS3D,WAAW,aARnB,MAAM,iBAAiB,gBAAgB,KAAK,OAAO,CAAC,QAAQ,CAAC,EAQxC,gBAAgB,aAPhC,MAAM,iBAAiB,gBAAgB,KAAK,OAAO,CAAC,QAAQ,CAO4B,CAAC;AACxH,eAAO,MAAQ,aAAa,cAJC,MAAM,iBAAiB,gBAAgB,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,OAAO,CAAC,QAAQ,CAI3B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fetch/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAY5C,eAAO,MAAQ,iBAAiB,aATA,MAAM,iBAAiB,gBAAgB,KAAK,OAAO,CAAC,QAAQ,CAAC,EAS3D,WAAW,aARnB,MAAM,iBAAiB,gBAAgB,KAAK,OAAO,CAAC,QAAQ,CAAC,EAQxC,gBAAgB,aAPhC,MAAM,iBAAiB,gBAAgB,KAAK,OAAO,CAAC,QAAQ,CAO4B,CAAC;AACxH,eAAO,MAAQ,aAAa,cAJC,MAAM,iBAAiB,gBAAgB,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,OAAO,CAAC,QAAQ,CAI3B,CAAC;AAEnF,eAAO,MAAM,wBAAwB,GAAU,OAAO;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,iBAIvE,CAAC"}
|
package/out/fetch/index.js
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.requestRemote = exports.requestBitbucket = exports.requestJira = exports.requestConfluence = void 0;
|
|
4
|
+
exports.fetchUserRecommendations = exports.requestRemote = exports.requestBitbucket = exports.requestJira = exports.requestConfluence = void 0;
|
|
5
5
|
const bridge_1 = require("../bridge");
|
|
6
6
|
const fetch_1 = require("./fetch");
|
|
7
7
|
_a = (0, fetch_1.productFetchApi)((0, bridge_1.getCallBridge)()), exports.requestConfluence = _a.requestConfluence, exports.requestJira = _a.requestJira, exports.requestBitbucket = _a.requestBitbucket;
|
|
8
8
|
exports.requestRemote = (0, fetch_1.remoteFetchApi)((0, bridge_1.getCallBridge)()).requestRemote;
|
|
9
|
+
const fetchUserRecommendations = async (input) => {
|
|
10
|
+
const callBridge = (0, bridge_1.getCallBridge)();
|
|
11
|
+
return await callBridge('fetchUserRecommendations', input);
|
|
12
|
+
};
|
|
13
|
+
exports.fetchUserRecommendations = fetchUserRecommendations;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/bridge",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0-next.0",
|
|
4
4
|
"description": "Forge bridge API for custom UI apps",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@forge/i18n": "1.0.0",
|
|
20
20
|
"@forge/resolver": "2.0.0",
|
|
21
21
|
"@types/history": "^4.7.11",
|
|
22
|
-
"@forge/manifest": "13.4.0
|
|
22
|
+
"@forge/manifest": "13.4.0",
|
|
23
23
|
"@types/iframe-resizer": "^3.5.8",
|
|
24
24
|
"iframe-resizer": "^4.4.5"
|
|
25
25
|
},
|