vuchat 2.0.12 → 3.0.0

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.
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
2
  interface Props {
3
- token: string;
4
3
  baseURL: string;
5
4
  darkMode?: boolean;
6
5
  handleClickBackBtn: (flag: boolean) => void;
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
2
  interface Props {
3
- token: string;
4
3
  baseURL: string;
5
4
  darkMode?: boolean;
6
5
  }
@@ -1,7 +1,6 @@
1
1
  import React from "react";
2
2
  interface ChatbotProps {
3
3
  handleClickBackBtn: () => void;
4
- authToken: string;
5
4
  }
6
5
  export interface ChatInfo {
7
6
  sessionID: string;
@@ -6,7 +6,6 @@ interface Props {
6
6
  isNew: boolean;
7
7
  handleClickNewChat: () => void;
8
8
  handleSetConversationInfo: (chatInfoOld?: ChatInfo) => void;
9
- authToken: string;
10
9
  }
11
10
  export declare const ChatSection: FC<Props>;
12
11
  export {};
package/dist/types.d.ts CHANGED
@@ -5,7 +5,6 @@ var css_248z = "*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-
5
5
  styleInject(css_248z);
6
6
 
7
7
  interface Props$1 {
8
- token: string;
9
8
  baseURL: string;
10
9
  darkMode?: boolean;
11
10
  handleClickBackBtn: (flag: boolean) => void;
@@ -16,7 +15,6 @@ declare const VuChatContext: React.Context<{
16
15
  declare const VuChat: React.FC<Props$1>;
17
16
 
18
17
  interface Props {
19
- token: string;
20
18
  baseURL: string;
21
19
  darkMode?: boolean;
22
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vuchat",
3
- "version": "2.0.12",
3
+ "version": "3.0.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",