diff --git a/CHANGELOG.md b/CHANGELOG.md index abafd63..fc36717 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## [2.18.5-beta.0](https://github.com/mastergo-design/plugin-typings/compare/v2.18.1...v2.18.5-beta.0) (2026-06-12) + + +### Features + +* add getComponentListVal method and ComponentItemVal type ([a3f3bf4](https://github.com/mastergo-design/plugin-typings/commit/a3f3bf4351fbdd9c50f198753c27ea161996e1b6)) +* **types:** add WebSocket API type definitions ([9f7ee75](https://github.com/mastergo-design/plugin-typings/commit/9f7ee7543ef4959620cb2f36f39f6ab0df59b8fe)) +* 修改版本号 ([d10347e](https://github.com/mastergo-design/plugin-typings/commit/d10347e4acaf7645ddf588d915f293440278fac6)) + + + ## [2.18.1](https://github.com/mastergo-design/plugin-typings/compare/v2.18.0...v2.18.1) (2026-06-05) diff --git a/package-lock.json b/package-lock.json index 5340b4b..9f1c618 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mastergo/plugin-typings", - "version": "2.18.1", + "version": "2.18.5-beta.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mastergo/plugin-typings", - "version": "2.18.1", + "version": "2.18.5-beta.0", "license": "MIT", "devDependencies": { "@commitlint/cli": "^17.0.0", diff --git a/package.json b/package.json index b1017e2..a5016bf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mastergo/plugin-typings", - "version": "2.18.1", + "version": "2.18.5-beta.0", "description": "MasterGo插件API声明文件", "type": "module", "main": "", diff --git a/plugin.d.ts b/plugin.d.ts index a3aa6e6..dd5cfe9 100644 --- a/plugin.d.ts +++ b/plugin.d.ts @@ -315,6 +315,8 @@ declare global { readonly clientStorage: ClientStorageAPI + readonly WebSocket: WebSocketAPI + readonly currentUser: User | null readonly viewport: ViewportAPI @@ -496,6 +498,7 @@ declare global { importComponentByKeyAsync(ukey: string): Promise importComponentSetByKeyAsync(ukey: string): Promise importStyleByKeyAsync(ukey: string): Promise