@forge/bridge
5.13.0-next.15.13.0-next.2
~
Modified (4 files)
Index: package/out/view/emitReadyEvent.js
===================================================================
--- package/out/view/emitReadyEvent.js
+++ package/out/view/emitReadyEvent.js
@@ -3,23 +3,18 @@
exports.emitReadyEvent = void 0;
const events_1 = require("../events/events");
const view_1 = require("./view");
const bridge_1 = require("../bridge");
-const errors_1 = require("../errors");
const callBridge = (0, bridge_1.getCallBridge)();
const EXTENSION_READY = 'EXTENSION_READY';
const emitReadyEvent = async () => {
const context = await view_1.view.getContext();
await events_1.events.emit(EXTENSION_READY, {
localId: context.localId
});
try {
- const success = await callBridge('emitReadyEvent');
- if (success === false) {
- throw new errors_1.BridgeAPIError('Unable to emit ready event.');
- }
+ await callBridge('emitReadyEvent');
}
- catch (err) {
- throw new errors_1.BridgeAPIError('Unable to emit ready event.');
+ catch {
}
};
exports.emitReadyEvent = emitReadyEvent; Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/bridge",
- "version": "5.13.0-next.1",
+ "version": "5.13.0-next.2",
"description": "Forge bridge API for custom UI apps",
"author": "Atlassian",
"license": "SEE LICENSE IN LICENSE.txt",
"main": "out/index.js", Index: package/out/view/emitReadyEvent.d.ts.map
===================================================================
--- package/out/view/emitReadyEvent.d.ts.map
+++ package/out/view/emitReadyEvent.d.ts.map
@@ -1,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"}
\ No newline at end of file
+{"version":3,"file":"emitReadyEvent.d.ts","sourceRoot":"","sources":["../../src/view/emitReadyEvent.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc,QAAa,QAAQ,IAAI,CAenD,CAAC"}
\ No newline at end of file Index: package/CHANGELOG.md
===================================================================
--- package/CHANGELOG.md
+++ package/CHANGELOG.md
@@ -1,6 +1,12 @@
# @forge/bridge
+## 5.13.0-next.2
+
+### Patch Changes
+
+- e55e75f: Remove error message from emitReadyEvent
+
## 5.13.0-next.1
### Minor Changes