@tinywork/glass 0.0.41 → 0.0.42

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/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -239,7 +239,7 @@ export interface IGlassExtension {
239
239
  onDocCliUpdate?(context: IGlassContext, id: string): Promise<void>;
240
240
  onGroupChange?(context: IGlassContext, group: GroupSchema | null, originGroup: GroupSchema | null): Promise<boolean>;
241
241
  /** 右键请求日志 */
242
- onNetLogContextMenu?(context: IGlassContext, log: NetLog, menus?: MenuItemConstructorOptions): Promise<void>;
242
+ onNetLogContextMenu?(context: IGlassContext, log: NetLog, menus?: MenuItemConstructorOptions[]): Promise<void>;
243
243
  getDefaultRule?(context: IGlassContext, docs: DocSchema[], log: NetLog, rule?: {
244
244
  id: string;
245
245
  mode: 'None';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinywork/glass",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [