@forge/bridge
Advanced tools
Comparing version 1.5.0-next.0 to 1.5.0-next.1
# @forge/bridge | ||
## 1.5.0-next.1 | ||
### Minor Changes | ||
- eafead6: Add createHistory method to router API | ||
## 1.5.0-next.0 | ||
@@ -4,0 +10,0 @@ |
@@ -0,2 +1,4 @@ | ||
import type { History } from 'history'; | ||
export declare const router: { | ||
createHistory: () => Promise<History>; | ||
navigate: (url: string) => Promise<void>; | ||
@@ -3,0 +5,0 @@ open: (url: string) => Promise<void>; |
@@ -13,5 +13,9 @@ "use strict"; | ||
}); }); }; | ||
var createHistory = function () { return tslib_1.__awaiter(void 0, void 0, void 0, function () { return tslib_1.__generator(this, function (_a) { | ||
return [2, callBridge('createHistory')]; | ||
}); }); }; | ||
exports.router = { | ||
createHistory: createHistory, | ||
navigate: navigate, | ||
open: open | ||
}; |
{ | ||
"name": "@forge/bridge", | ||
"version": "1.5.0-next.0", | ||
"version": "1.5.0-next.1", | ||
"description": "Forge bridge API for custom UI apps", | ||
@@ -14,5 +14,9 @@ "author": "Atlassian", | ||
}, | ||
"dependencies": { | ||
"@types/history": "^4.7.8" | ||
}, | ||
"devDependencies": { | ||
"history": "4.10.1", | ||
"jest-date-mock": "^1.0.8" | ||
} | ||
} |
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
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
19046
276
1
2
+ Added@types/history@^4.7.8
+ Added@types/history@4.7.11(transitive)