@forge/bridge
Advanced tools
Comparing version 1.4.0 to 1.5.0-next.0
# @forge/bridge | ||
## 1.5.0-next.0 | ||
### Minor Changes | ||
- 05977d4: Add modal api | ||
## 1.4.0 | ||
@@ -4,0 +10,0 @@ |
export * from './invoke'; | ||
export * from './view'; | ||
export * from './router'; | ||
export * from './modal'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -7,1 +7,2 @@ "use strict"; | ||
tslib_1.__exportStar(require("./router"), exports); | ||
tslib_1.__exportStar(require("./modal"), exports); |
@@ -1,2 +0,2 @@ | ||
export declare const close: () => Promise<void>; | ||
export declare const close: (payload?: any) => Promise<void>; | ||
//# sourceMappingURL=close.d.ts.map |
@@ -8,3 +8,3 @@ "use strict"; | ||
var callBridge = bridge_1.getCallBridge(); | ||
exports.close = function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () { | ||
exports.close = function (payload) { return tslib_1.__awaiter(void 0, void 0, void 0, function () { | ||
var success, e_1; | ||
@@ -15,3 +15,3 @@ return tslib_1.__generator(this, function (_a) { | ||
_a.trys.push([0, 2, , 3]); | ||
return [4, callBridge('close')]; | ||
return [4, callBridge('close', payload)]; | ||
case 1: | ||
@@ -18,0 +18,0 @@ success = _a.sent(); |
export declare const view: { | ||
close: () => Promise<void>; | ||
close: (payload?: any) => Promise<void>; | ||
getContext: () => Promise<import("../types").FullContext>; | ||
}; | ||
//# sourceMappingURL=view.d.ts.map |
{ | ||
"name": "@forge/bridge", | ||
"version": "1.4.0", | ||
"version": "1.5.0-next.0", | ||
"description": "Forge bridge API for custom UI apps", | ||
@@ -5,0 +5,0 @@ "author": "Atlassian", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18486
54
270
2