@mastergo/plugin-typings 2.0.0 → 2.1.0

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,3 +1,12 @@
1
+ # [2.1.0](https://github.com/mastergo-design/plugin-typings/compare/v2.0.0...v2.1.0) (2023-10-12)
2
+
3
+
4
+ ### Features
5
+
6
+ * saveVersionHistoryAsync增加标题参数 ([1fef69d](https://github.com/mastergo-design/plugin-typings/commit/1fef69db64abe6f12e09a4996db31bb0db9f8353))
7
+
8
+
9
+
1
10
  # [2.0.0](https://github.com/mastergo-design/plugin-typings/compare/v1.21.0...v2.0.0) (2023-09-25)
2
11
 
3
12
 
package/dist/index.d.ts CHANGED
@@ -96,7 +96,7 @@ declare global {
96
96
  exclude(children: SceneNode[]): BooleanOperationNode
97
97
  flatten(nodes: SceneNode[]): PenNode | null
98
98
 
99
- saveVersionHistoryAsync(desc: string): Promise<void>
99
+ saveVersionHistoryAsync(desc: string, title?: string): Promise<void>
100
100
 
101
101
  notify(message: string, options?: NotifyOptions): NotificationHandler
102
102
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastergo/plugin-typings",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "MasterGo插件API声明文件",
5
5
  "main": "",
6
6
  "types": "dist/index.d.ts",