@forge/bridge 6.3.1 → 7.0.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,17 @@
1
1
  # @forge/bridge
2
2
 
3
+ ## 7.0.0-next.1
4
+
5
+ ### Major Changes
6
+
7
+ - b844adb: Removed the deprecated `currentVersion` field from `ObjectReference` (`@forge/object-store`) and `GetMetadataResult` (`@forge/bridge`). This field is no longer part of the supported API surface. The underlying service may continue to include `currentVersion` in its raw JSON response for a transition period, but this has no runtime impact since unrecognised fields are simply ignored — only TypeScript consumers referencing `.currentVersion` at compile time are affected and should remove that usage.
8
+
9
+ ## 6.4.0-next.0
10
+
11
+ ### Minor Changes
12
+
13
+ - f1d1bd8: Add fetchUserRecommendations method
14
+
3
15
  ## 6.3.1
4
16
 
5
17
  ### Patch Changes
@@ -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
@@ -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"}
@@ -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;
@@ -44,7 +44,6 @@ export type GetMetadataResult = {
44
44
  checksum?: string;
45
45
  size?: number;
46
46
  createdAt?: string;
47
- currentVersion?: string;
48
47
  error?: string;
49
48
  };
50
49
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/object-store/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,YAAY,CAAC;AAE/C,MAAM,MAAM,YAAY,GAAG,cAAc,GAAG;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IAC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AC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAE3D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bridge",
3
- "version": "6.3.1",
3
+ "version": "7.0.0-next.1",
4
4
  "description": "Forge bridge API for custom UI apps",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",