@gientech/modual 2.4.2 → 2.4.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/chat.d.ts +2 -1
  2. package/package.json +2 -2
package/chat.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { AiChat } from '@mxmweb/aichat';
1
2
  import { default as default_2 } from 'react';
2
3
  import { JSX as JSX_2 } from 'react/jsx-runtime';
3
4
  import { registerPDFWorker } from '@mxmweb/fviewer';
@@ -77,7 +78,7 @@ export declare interface SidebarTabConfig {
77
78
  [key: string]: any;
78
79
  }
79
80
 
80
- declare function withGientechChatAdopter(WrappedComponent?: any): ({ token, url, styles, CSRFToken, eventsEmit, scrollOld, locale, messages, ...rest }: GientechChatAdopterProps) => JSX_2.Element;
81
+ declare function withGientechChatAdopter(WrappedComponent?: typeof AiChat): ({ token, url, styles, CSRFToken, eventsEmit, scrollOld, locale, messages, ...rest }: GientechChatAdopterProps) => JSX_2.Element;
81
82
  export default withGientechChatAdopter;
82
83
 
83
84
  export { }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "license": "MIT",
4
4
  "style": "assets/style.css",
5
5
  "private": false,
6
- "version": "2.4.2",
6
+ "version": "2.4.3",
7
7
  "author": "hanfeng_Zhang",
8
8
  "type": "module",
9
9
  "main": "index.js",
@@ -106,7 +106,7 @@
106
106
  "dependencies": {
107
107
  "@mxmweb/aichat": "2.2.5",
108
108
  "@mxmweb/fviewer": "1.5.7",
109
- "@mxmweb/rtext": "1.8.11",
109
+ "@mxmweb/rtext": "1.8.12",
110
110
  "@mxmweb/xviewer": "1.4.18",
111
111
  "@mxmweb/zui": "1.4.0",
112
112
  "antd": "^5.18.0",