npm package diff
Package: @forge/bridge
Versions: 4.1.1 - 4.2.0-next.0
Removed:package/out/view/frame.js
Removed:package/out/view/frame.d.ts.map
Removed:package/out/view/frame.d.ts
Modified:package/out/view/view.js
Index: package/out/view/view.js
===================================================================
--- package/out/view/view.js
+++ package/out/view/view.js
@@ -7,15 +7,13 @@
const createHistory_1 = require("./createHistory");
const getContext_1 = require("./getContext");
const changeWindowTitle_1 = require("./changeWindowTitle");
const theme_1 = require("./theme");
-const frame_1 = require("./frame");
exports.view = {
submit: submit_1.submit,
close: close_1.close,
refresh: refresh_1.refresh,
createHistory: createHistory_1.createHistory,
getContext: getContext_1.getContext,
theme: theme_1.theme,
- frame: frame_1.frame,
changeWindowTitle: changeWindowTitle_1.changeWindowTitle
};
Modified:package/package.json
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/bridge",
- "version": "4.1.1",
+ "version": "4.2.0-next.0",
"description": "Forge bridge API for custom UI apps",
"author": "Atlassian",
"license": "UNLICENSED",
"main": "out/index.js",
Modified:package/out/view/view.d.ts.map
Index: package/out/view/view.d.ts.map
===================================================================
--- package/out/view/view.d.ts.map
+++ package/out/view/view.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../src/view/view.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,IAAI;;;;;;;;;;;;;CAShB,CAAC"}
\ No newline at end of file
+{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../src/view/view.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,IAAI;;;;;;;;;;CAQhB,CAAC"}
\ No newline at end of file
Modified:package/CHANGELOG.md
Index: package/CHANGELOG.md
===================================================================
--- package/CHANGELOG.md
+++ package/CHANGELOG.md
@@ -1,6 +1,12 @@
# @forge/bridge
+## 4.2.0-next.0
+
+### Minor Changes
+
+- 88de75c: Frame methods on `view` is no longer supported and are being removed for the release of the Frame component into Preview.
+
## 4.1.1
### Patch Changes
Modified:package/out/view/view.d.ts
Index: package/out/view/view.d.ts
===================================================================
--- package/out/view/view.d.ts
+++ package/out/view/view.d.ts
@@ -6,10 +6,7 @@
getContext: () => Promise<import("../types").FullContext>;
theme: {
enable: () => Promise<void>;
};
- frame: {
- onPropsUpdate: <TFrameProps extends Record<string, unknown>>(handler: (props: TFrameProps) => void) => Promise<() => Promise<void>>;
- };
changeWindowTitle: (title: string) => Promise<void>;
};
//# sourceMappingURL=view.d.ts.map
\ No newline at end of file