@forge/bridge 5.13.0-next.1 → 5.13.0-next.2

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/bridge
2
2
 
3
+ ## 5.13.0-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - e55e75f: Remove error message from emitReadyEvent
8
+
3
9
  ## 5.13.0-next.1
4
10
 
5
11
  ### Minor Changes
@@ -1 +1 @@
1
- {"version":3,"file":"emitReadyEvent.d.ts","sourceRoot":"","sources":["../../src/view/emitReadyEvent.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,cAAc,QAAa,QAAQ,IAAI,CAiBnD,CAAC"}
1
+ {"version":3,"file":"emitReadyEvent.d.ts","sourceRoot":"","sources":["../../src/view/emitReadyEvent.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc,QAAa,QAAQ,IAAI,CAenD,CAAC"}
@@ -4,7 +4,6 @@ exports.emitReadyEvent = void 0;
4
4
  const events_1 = require("../events/events");
5
5
  const view_1 = require("./view");
6
6
  const bridge_1 = require("../bridge");
7
- const errors_1 = require("../errors");
8
7
  const callBridge = (0, bridge_1.getCallBridge)();
9
8
  const EXTENSION_READY = 'EXTENSION_READY';
10
9
  const emitReadyEvent = async () => {
@@ -13,13 +12,9 @@ const emitReadyEvent = async () => {
13
12
  localId: context.localId
14
13
  });
15
14
  try {
16
- const success = await callBridge('emitReadyEvent');
17
- if (success === false) {
18
- throw new errors_1.BridgeAPIError('Unable to emit ready event.');
19
- }
15
+ await callBridge('emitReadyEvent');
20
16
  }
21
- catch (err) {
22
- throw new errors_1.BridgeAPIError('Unable to emit ready event.');
17
+ catch {
23
18
  }
24
19
  };
25
20
  exports.emitReadyEvent = emitReadyEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/bridge",
3
- "version": "5.13.0-next.1",
3
+ "version": "5.13.0-next.2",
4
4
  "description": "Forge bridge API for custom UI apps",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",