siyuan 0.7.3 → 0.7.4

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,8 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.7.4 2023-06-13
4
+ 1. [Add `beforeDestroy`](https://github.com/siyuan-note/siyuan/issues/8467)
5
+
3
6
  ## v0.7.2
4
7
  1. 更换为 SiYuan 官方 API
5
8
 
package/package.json CHANGED
@@ -2,6 +2,6 @@
2
2
  "name": "siyuan",
3
3
  "contributors": ["zuoez02", "Vanessa"],
4
4
  "types": "siyuan.d.ts",
5
- "version": "0.7.3",
5
+ "version": "0.7.4",
6
6
  "repository": "https://github.com/siyuan-note/petal"
7
7
  }
package/siyuan.d.ts CHANGED
@@ -240,6 +240,7 @@ export abstract class Plugin {
240
240
  */
241
241
  addTab(options: {
242
242
  type: string,
243
+ beforeDestroy?: () => void,
243
244
  destroy?: () => void,
244
245
  resize?: () => void,
245
246
  update?: () => void,