@talex-touch/utils 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/plugin/index.ts +2 -1
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "module": "./index.ts",
6
6
  "license": "MPL-2.0",
7
7
  "private": false,
8
- "version": "1.0.2",
8
+ "version": "1.0.3",
9
9
  "scripts": {
10
10
  "publish": "npm publish --access public"
11
11
  },
package/plugin/index.ts CHANGED
@@ -26,7 +26,7 @@ export interface IPlatformInfo {
26
26
  export type PlatformKey = 'win' | 'darwin' | 'linux'
27
27
 
28
28
  export type IPlatform = {
29
- [key in PlatformKey]: IPlatformInfo
29
+ [key in PlatformKey]?: IPlatformInfo
30
30
  }
31
31
 
32
32
  export interface IPluginBaseInfo {
@@ -35,6 +35,7 @@ export interface IPluginBaseInfo {
35
35
  version: string
36
36
  desc: string
37
37
  icon: IPluginIcon
38
+ platforms: IPlatform
38
39
  }
39
40
 
40
41
  export interface IPluginDev {