@forge/bridge 5.13.0-next.1 → 5.13.0-next.2-experimental-e2ec7ba
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,25 @@
|
|
|
1
1
|
# @forge/bridge
|
|
2
2
|
|
|
3
|
+
## 5.13.0-next.2-experimental-e2ec7ba
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 03b471a: added support for multiple file upload for requestRemote()
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- e55e75f: Remove error message from emitReadyEvent
|
|
12
|
+
- Updated dependencies [beddb18]
|
|
13
|
+
- Updated dependencies [561036a]
|
|
14
|
+
- Updated dependencies [b248c8f]
|
|
15
|
+
- @forge/manifest@12.1.1-next.1-experimental-e2ec7ba
|
|
16
|
+
|
|
17
|
+
## 5.13.0-next.2
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- e55e75f: Remove error message from emitReadyEvent
|
|
22
|
+
|
|
3
23
|
## 5.13.0-next.1
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emitReadyEvent.d.ts","sourceRoot":"","sources":["../../src/view/emitReadyEvent.ts"],"names":[],"mappings":"
|
|
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
|
-
|
|
17
|
-
if (success === false) {
|
|
18
|
-
throw new errors_1.BridgeAPIError('Unable to emit ready event.');
|
|
19
|
-
}
|
|
15
|
+
await callBridge('emitReadyEvent');
|
|
20
16
|
}
|
|
21
|
-
catch
|
|
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.
|
|
3
|
+
"version": "5.13.0-next.2-experimental-e2ec7ba",
|
|
4
4
|
"description": "Forge bridge API for custom UI apps",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@forge/resolver": "1.7.1",
|
|
21
21
|
"@statsig/js-client": "3.18.2",
|
|
22
22
|
"@types/history": "^4.7.11",
|
|
23
|
-
"@forge/manifest": "12.1.1-next.1",
|
|
23
|
+
"@forge/manifest": "12.1.1-next.1-experimental-e2ec7ba",
|
|
24
24
|
"@types/iframe-resizer": "^3.5.8",
|
|
25
25
|
"iframe-resizer": "^4.4.5",
|
|
26
26
|
"uuid": "^9.0.1"
|