@tinywork/glass 1.0.25 → 1.0.26

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/index.d.ts +5 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -331,6 +331,11 @@ declare global {
331
331
  params?: Record<string, any>;
332
332
  data?: any;
333
333
  }>;
334
+ /** 用来流式输出 */
335
+ onStreamEvent?: IGlassExtensionEvent<{
336
+ text?: string;
337
+ duration?: number;
338
+ }>;
334
339
 
335
340
  /** 在用例批量执行前触发 */
336
341
  beforeCasesExec?: IGlassExtensionEvent<{ list: Case[] }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinywork/glass",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "",
5
5
  "types": "index.d.ts",
6
6
  "files": [