@forge/bridge 5.8.0-next.13 → 5.8.0-next.15

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,19 @@
1
1
  # @forge/bridge
2
2
 
3
+ ## 5.8.0-next.15
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [88238e7]
8
+ - @forge/manifest@11.0.0-next.9
9
+
10
+ ## 5.8.0-next.14
11
+
12
+ ### Patch Changes
13
+
14
+ - 31ea34b: block prod apps from using object store bridge methods
15
+ - 5fe2092: Remove rovo bridge method for now
16
+
3
17
  ## 5.8.0-next.13
4
18
 
5
19
  ### Minor Changes
package/out/index.d.ts CHANGED
@@ -8,7 +8,6 @@ export * from './fetch';
8
8
  export * from './flag';
9
9
  export * from './events';
10
10
  export * from './realtime';
11
- export * from './rovo';
12
11
  export * as i18n from './i18n';
13
12
  export * from './object-store';
14
13
  export { type FullContext } from './types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEpD,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,cAAc,gBAAgB,CAAC"}
package/out/index.js CHANGED
@@ -13,7 +13,6 @@ tslib_1.__exportStar(require("./fetch"), exports);
13
13
  tslib_1.__exportStar(require("./flag"), exports);
14
14
  tslib_1.__exportStar(require("./events"), exports);
15
15
  tslib_1.__exportStar(require("./realtime"), exports);
16
- tslib_1.__exportStar(require("./rovo"), exports);
17
16
  exports.i18n = tslib_1.__importStar(require("./i18n"));
18
17
  tslib_1.__exportStar(require("./object-store"), exports);
19
18
  tslib_1.__exportStar(require("./featureFlags"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"deleteObjects.d.ts","sourceRoot":"","sources":["../../src/object-store/deleteObjects.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,aAAa;iBAAgD,MAAM;UAAQ,MAAM,EAAE;MAAK,QAAQ,IAAI,CAchH,CAAC"}
1
+ {"version":3,"file":"deleteObjects.d.ts","sourceRoot":"","sources":["../../src/object-store/deleteObjects.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,aAAa;iBAAgD,MAAM;UAAQ,MAAM,EAAE;MAAK,QAAQ,IAAI,CAgBhH,CAAC"}
@@ -3,7 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.deleteObjects = void 0;
4
4
  const invoke_1 = require("../invoke");
5
5
  const errors_1 = require("../errors");
6
+ const utils_1 = require("./utils");
6
7
  const deleteObjects = async ({ functionKey, keys }) => {
8
+ await (0, utils_1.checkRestrictedEnvironment)();
7
9
  if (!functionKey || functionKey.length === 0) {
8
10
  throw new errors_1.BridgeAPIError('functionKey is required to delete objects');
9
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../src/object-store/download.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAsB,MAAM,SAAS,CAAC;AAUlE,eAAO,MAAM,QAAQ;iBAIN,MAAM;UACb,MAAM,EAAE;MACZ,QAAQ,cAAc,EAAE,CAqD3B,CAAC"}
1
+ {"version":3,"file":"download.d.ts","sourceRoot":"","sources":["../../src/object-store/download.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAsB,MAAM,SAAS,CAAC;AAWlE,eAAO,MAAM,QAAQ;iBAIN,MAAM;UACb,MAAM,EAAE;MACZ,QAAQ,cAAc,EAAE,CAuD3B,CAAC"}
@@ -3,7 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.download = void 0;
4
4
  const invoke_1 = require("../invoke");
5
5
  const errors_1 = require("../errors");
6
+ const utils_1 = require("./utils");
6
7
  const download = async ({ functionKey, keys }) => {
8
+ await (0, utils_1.checkRestrictedEnvironment)();
7
9
  if (!functionKey || functionKey.length === 0) {
8
10
  throw new errors_1.BridgeAPIError('functionKey is required to filter and generate download URLs');
9
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getMetadata.d.ts","sourceRoot":"","sources":["../../src/object-store/getMetadata.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAUjD,eAAO,MAAM,WAAW;iBAIT,MAAM;UACb,MAAM,EAAE;MACZ,QAAQ,iBAAiB,EAAE,CAyB9B,CAAC"}
1
+ {"version":3,"file":"getMetadata.d.ts","sourceRoot":"","sources":["../../src/object-store/getMetadata.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAWjD,eAAO,MAAM,WAAW;iBAIT,MAAM;UACb,MAAM,EAAE;MACZ,QAAQ,iBAAiB,EAAE,CA2B9B,CAAC"}
@@ -3,7 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getMetadata = void 0;
4
4
  const index_1 = require("../invoke/index");
5
5
  const errors_1 = require("../errors");
6
+ const utils_1 = require("./utils");
6
7
  const getMetadata = async ({ functionKey, keys }) => {
8
+ await (0, utils_1.checkRestrictedEnvironment)();
7
9
  if (!functionKey || functionKey.length === 0) {
8
10
  throw new errors_1.BridgeAPIError('functionKey is required to filter and generate object metadata');
9
11
  }
@@ -47,4 +47,5 @@ export declare type GetMetadataResult = {
47
47
  currentVersion?: string;
48
48
  error?: string;
49
49
  };
50
+ export declare const BRIDGE_OBJECT_STORE_RESTRICTED_ENVIRONMENT_ERROR = "Object Store bridge methods are restricted to Forge apps in a non-production environment. For more information please see https://developer.atlassian.com/platform/forge/cli-reference/environments/ for reference on Forge app environments.";
50
51
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/object-store/types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc,GAAG;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,oBAAY,YAAY,GAAG,IAAI,GAAG,YAAY,CAAC;AAE/C,oBAAY,YAAY,GAAG,cAAc,GAAG;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE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EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,gDAAgD,kPACoL,CAAC"}
@@ -1,2 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BRIDGE_OBJECT_STORE_RESTRICTED_ENVIRONMENT_ERROR = void 0;
4
+ exports.BRIDGE_OBJECT_STORE_RESTRICTED_ENVIRONMENT_ERROR = 'Object Store bridge methods are restricted to Forge apps in a non-production environment. For more information please see https://developer.atlassian.com/platform/forge/cli-reference/environments/ for reference on Forge app environments.';
@@ -1 +1 @@
1
- {"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../src/object-store/upload.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAuC,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA6ClH,eAAO,MAAM,oBAAoB;iBAIlB,MAAM;aACV,YAAY,EAAE;MACrB,QAAQ,iBAAiB,EAAE,CA0G9B,CAAC;AAUF,eAAO,MAAM,MAAM;iBAIJ,MAAM;aACV,YAAY,EAAE;MACrB,QAAQ,YAAY,EAAE,CAIzB,CAAC"}
1
+ {"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../src/object-store/upload.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAuC,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA8ClH,eAAO,MAAM,oBAAoB;iBAIlB,MAAM;aACV,YAAY,EAAE;MACrB,QAAQ,iBAAiB,EAAE,CA4G9B,CAAC;AAUF,eAAO,MAAM,MAAM;iBAIJ,MAAM;aACV,YAAY,EAAE;MACrB,QAAQ,YAAY,EAAE,CAIzB,CAAC"}
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.upload = exports.createUploadPromises = void 0;
4
4
  const invoke_1 = require("../invoke");
5
5
  const errors_1 = require("../errors");
6
+ const utils_1 = require("./utils");
6
7
  const base64ToBlob = (base64, mimeType) => {
7
8
  const byteCharacters = atob(base64);
8
9
  const byteNumbers = new Array(byteCharacters.length);
@@ -26,6 +27,7 @@ const getObjectMetadata = async (blob) => {
26
27
  };
27
28
  };
28
29
  const createUploadPromises = async ({ functionKey, objects }) => {
30
+ await (0, utils_1.checkRestrictedEnvironment)();
29
31
  if (!functionKey || functionKey.length === 0) {
30
32
  throw new errors_1.BridgeAPIError('functionKey is required to filter and generate presigned URLs');
31
33
  }
@@ -0,0 +1,2 @@
1
+ export declare const checkRestrictedEnvironment: () => Promise<void>;
2
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/object-store/utils.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B,QAAa,QAAQ,IAAI,CAK/D,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.checkRestrictedEnvironment = void 0;
4
+ const errors_1 = require("../errors");
5
+ const view_1 = require("../view");
6
+ const types_1 = require("./types");
7
+ const checkRestrictedEnvironment = async () => {
8
+ const { environmentType } = await view_1.view.getContext();
9
+ if (environmentType === 'PRODUCTION') {
10
+ throw new errors_1.BridgeAPIError(types_1.BRIDGE_OBJECT_STORE_RESTRICTED_ENVIRONMENT_ERROR);
11
+ }
12
+ };
13
+ exports.checkRestrictedEnvironment = checkRestrictedEnvironment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bridge",
3
- "version": "5.8.0-next.13",
3
+ "version": "5.8.0-next.15",
4
4
  "description": "Forge bridge API for custom UI apps",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -18,7 +18,7 @@
18
18
  "@forge/resolver": "1.7.1",
19
19
  "@statsig/js-client": "3.18.2",
20
20
  "@types/history": "^4.7.11",
21
- "@forge/manifest": "11.0.0-next.8"
21
+ "@forge/manifest": "11.0.0-next.9"
22
22
  },
23
23
  "devDependencies": {
24
24
  "history": "5.3.0",
@@ -1,2 +0,0 @@
1
- export * from './rovo';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rovo/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
package/out/rovo/index.js DELETED
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./rovo"), exports);
@@ -1,4 +0,0 @@
1
- import { OpenRovoPayload } from './types';
2
- export declare const OPEN_ROVO_BRIDGE_ERROR_MESSAGE = "Unable to open Rovo Chat due to usage in an unsupported product. Only Confluence, Jira and some Jira Service Management modules are supported at this point. See https://developer.atlassian.com/platform/forge/apis-reference/ui-api-bridge/rovo/";
3
- export declare const open: (openRovoPayload: OpenRovoPayload) => Promise<void>;
4
- //# sourceMappingURL=open.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../src/rovo/open.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAO1C,eAAO,MAAM,8BAA8B,uPAC2M,CAAC;AA6BvP,eAAO,MAAM,IAAI,oBAA2B,eAAe,kBAiB1D,CAAC"}
package/out/rovo/open.js DELETED
@@ -1,42 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.open = exports.OPEN_ROVO_BRIDGE_ERROR_MESSAGE = void 0;
4
- const bridge_1 = require("../bridge");
5
- const errors_1 = require("../errors");
6
- const MAX_AGENT_LENGTH = 30;
7
- const callBridge = (0, bridge_1.getCallBridge)();
8
- exports.OPEN_ROVO_BRIDGE_ERROR_MESSAGE = 'Unable to open Rovo Chat due to usage in an unsupported product. Only Confluence, Jira and some Jira Service Management modules are supported at this point. See https://developer.atlassian.com/platform/forge/apis-reference/ui-api-bridge/rovo/';
9
- const transformRovoPayload = (openRovoPayload) => {
10
- switch (openRovoPayload.type) {
11
- case 'forge':
12
- return {
13
- agentName: openRovoPayload.agentName,
14
- agentKey: openRovoPayload.agentKey,
15
- agentAppId: openRovoPayload.agentAppId,
16
- prompt: openRovoPayload.prompt
17
- };
18
- case 'atlassian':
19
- return {
20
- agentName: openRovoPayload.agentName,
21
- prompt: openRovoPayload.prompt
22
- };
23
- default:
24
- return { prompt: openRovoPayload.prompt };
25
- }
26
- };
27
- const open = async (openRovoPayload) => {
28
- if (openRovoPayload.type === 'forge') {
29
- if (openRovoPayload.agentName.length > MAX_AGENT_LENGTH) {
30
- throw new Error('rovo agent name too long');
31
- }
32
- if (openRovoPayload.agentKey.length > MAX_AGENT_LENGTH) {
33
- throw new Error('rovo agent key too long');
34
- }
35
- }
36
- const rovoArgs = transformRovoPayload(openRovoPayload);
37
- const success = await callBridge('openRovo', rovoArgs);
38
- if (success === false) {
39
- throw new errors_1.BridgeAPIError(exports.OPEN_ROVO_BRIDGE_ERROR_MESSAGE);
40
- }
41
- };
42
- exports.open = open;
@@ -1,4 +0,0 @@
1
- export declare const rovo: {
2
- open: (openRovoPayload: import("./types").OpenRovoPayload) => Promise<void>;
3
- };
4
- //# sourceMappingURL=rovo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rovo.d.ts","sourceRoot":"","sources":["../../src/rovo/rovo.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI;;CAEhB,CAAC"}
package/out/rovo/rovo.js DELETED
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.rovo = void 0;
4
- const open_1 = require("./open");
5
- exports.rovo = {
6
- open: open_1.open
7
- };
@@ -1,19 +0,0 @@
1
- declare type ForgeAgentPayload = {
2
- type: 'forge';
3
- agentAppId: string;
4
- agentKey: string;
5
- agentName: string;
6
- prompt?: string;
7
- };
8
- declare type AtlassianAgentPayload = {
9
- type: 'atlassian';
10
- agentName: string;
11
- prompt?: string;
12
- };
13
- declare type DefaultAgentPayload = {
14
- type: 'default';
15
- prompt?: string;
16
- };
17
- export declare type OpenRovoPayload = ForgeAgentPayload | AtlassianAgentPayload | DefaultAgentPayload;
18
- export {};
19
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/rovo/types.ts"],"names":[],"mappings":"AAAA,aAAK,iBAAiB,GAAG;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,aAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,aAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,eAAe,GAAG,iBAAiB,GAAG,qBAAqB,GAAG,mBAAmB,CAAC"}
package/out/rovo/types.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });