@linker-design-plus/tiny-peony 1.3.0 → 1.3.1

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.
@@ -2,7 +2,6 @@ import { InjectionKey, Ref } from 'vue';
2
2
  import { EditorCore } from '../../../foundation/editorManager/editor';
3
3
  import { EditorAction } from '../../hooks/use-editor';
4
4
  import { IAnchor, PluginFlag } from '../../../typings';
5
- import { FetchEventSourceInit } from '@microsoft/fetch-event-source';
6
5
  /**
7
6
  * * 获取编辑器内容时,是否对内容进行指定格式化
8
7
  */
@@ -55,7 +54,7 @@ export interface RefineContext {
55
54
  [key: string]: any;
56
55
  }>;
57
56
  sendSessionMessage: {
58
- (data: ChatMessageReq, options: FetchEventSourceInit): Promise<void>;
57
+ (data: ChatMessageReq, options: Recordable): Promise<void>;
59
58
  abort: () => void | undefined;
60
59
  };
61
60
  abortSession: (data: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linker-design-plus/tiny-peony",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "a simple editor",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",