@connectycube/chat-widget 0.35.0 → 0.36.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.
- package/README.md +6 -5
- package/dist/index.es.js +1194 -1196
- package/dist/index.umd.js +73 -79
- package/dist/react18.es.js +211 -211
- package/dist/types/App.d.ts +2 -2
- package/dist/types/index.d.ts +2 -1
- package/package.json +5 -11
- package/CHANGELOG.md +0 -172
package/dist/types/App.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Config } from 'connectycube/types';
|
|
2
2
|
import { AppPresets } from './hooks/useAppPresets';
|
|
3
3
|
export type AppProps = AppPresets & {
|
|
4
|
-
appId:
|
|
5
|
-
authKey:
|
|
4
|
+
appId: number | string;
|
|
5
|
+
authKey: string;
|
|
6
6
|
config?: Config.Options;
|
|
7
7
|
userId?: string;
|
|
8
8
|
userName?: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { default } from './App';
|
|
2
|
+
export type { AppProps as ConnectyCubeChatWidgetProps } from './App';
|
|
1
3
|
export type ChatWidgetInWindow = {
|
|
2
4
|
initialNotification?: MessageEvent['data'];
|
|
3
5
|
open?: () => void;
|
|
@@ -7,4 +9,3 @@ export type ChatWidgetInWindow = {
|
|
|
7
9
|
export type WindowWithChatWidget = Window & typeof globalThis & {
|
|
8
10
|
ConnectyCubeChatWidget?: ChatWidgetInWindow;
|
|
9
11
|
};
|
|
10
|
-
export { default } from './App';
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@connectycube/chat-widget",
|
|
3
|
-
"description": "A React
|
|
4
|
-
"version": "0.
|
|
3
|
+
"description": "A customizable React chat widget built on the ConnectyCube platform, enabling real-time messaging, calls, and user engagement in any web app.",
|
|
4
|
+
"version": "0.36.1",
|
|
5
5
|
"license": "GPL-3.0-only",
|
|
6
|
-
"homepage": "https://github.com/ConnectyCube/connectycube-chat-widget#readme",
|
|
6
|
+
"homepage": "https://github.com/ConnectyCube/connectycube-chat-widget/chat-widget#readme",
|
|
7
7
|
"bugs": {
|
|
8
8
|
"url": "https://github.com/ConnectyCube/connectycube-chat-widget/issues"
|
|
9
9
|
},
|
|
@@ -55,8 +55,7 @@
|
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
"files": [
|
|
58
|
-
"dist"
|
|
59
|
-
"CHANGELOG.md"
|
|
58
|
+
"dist"
|
|
60
59
|
],
|
|
61
60
|
"publishConfig": {
|
|
62
61
|
"access": "public"
|
|
@@ -83,12 +82,7 @@
|
|
|
83
82
|
"lint": "eslint .",
|
|
84
83
|
"test": "vitest",
|
|
85
84
|
"test:ci": "vitest run",
|
|
86
|
-
"coverage": "vitest run --coverage"
|
|
87
|
-
"version": "node ./scripts/bump-version.cjs",
|
|
88
|
-
"version:patch": "npm run version patch",
|
|
89
|
-
"version:minor": "npm run version minor",
|
|
90
|
-
"version:major": "npm run version major",
|
|
91
|
-
"changelog": "node ./scripts/changelog.cjs"
|
|
85
|
+
"coverage": "vitest run --coverage"
|
|
92
86
|
},
|
|
93
87
|
"dependencies": {
|
|
94
88
|
"@ai-sdk/google": "^2.0.17",
|
package/CHANGELOG.md
DELETED
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
<a name="0.35.0"></a>
|
|
2
|
-
|
|
3
|
-
## 0.35.0
|
|
4
|
-
|
|
5
|
-
### Bug Fixes
|
|
6
|
-
|
|
7
|
-
- “Unknown“ user name and login issue on first open
|
|
8
|
-
|
|
9
|
-
### Chores
|
|
10
|
-
|
|
11
|
-
- imports build of the Chat Widget for react@19 as default for ESM. Use `import ChatWidget from "@connectycube/chat-widget/react18"` to import the build for react@18
|
|
12
|
-
|
|
13
|
-
<a name="0.34.0"></a>
|
|
14
|
-
|
|
15
|
-
## 0.34.0
|
|
16
|
-
|
|
17
|
-
### Chores
|
|
18
|
-
|
|
19
|
-
- new commands in `package.json` to bump major/minor/patch versions
|
|
20
|
-
|
|
21
|
-
### Features
|
|
22
|
-
|
|
23
|
-
- call history
|
|
24
|
-
- implemented auto-grow text input for typing message
|
|
25
|
-
- ability to change tone of message for typed text via AI
|
|
26
|
-
- AI text summarization in chat
|
|
27
|
-
- new prop `ai` to configure AI options. `ai: { apiKey: string; textSummarization?: boolean; changeMessageTone?: boolean; }`
|
|
28
|
-
- supported new variable `CHAT_WIDGET_CONNECTYCUBE_GOOGLE_GENERATIVE_AI_API_KEY` in `.env` to set `ai.apiKey` for "gemini-2.5-flash" model
|
|
29
|
-
|
|
30
|
-
<a name="0.33.0"></a>
|
|
31
|
-
|
|
32
|
-
## 0.33.0
|
|
33
|
-
|
|
34
|
-
<a name="0.32.1"></a>
|
|
35
|
-
|
|
36
|
-
## 0.32.1
|
|
37
|
-
|
|
38
|
-
<a name="0.32.0"></a>
|
|
39
|
-
|
|
40
|
-
## 0.32.0
|
|
41
|
-
|
|
42
|
-
<a name="0.31.0"></a>
|
|
43
|
-
|
|
44
|
-
## 0.31.0
|
|
45
|
-
|
|
46
|
-
<a name="0.30.2"></a>
|
|
47
|
-
|
|
48
|
-
## 0.30.2
|
|
49
|
-
|
|
50
|
-
<a name="0.30.1"></a>
|
|
51
|
-
|
|
52
|
-
## 0.30.1
|
|
53
|
-
|
|
54
|
-
<a name="0.30.0"></a>
|
|
55
|
-
|
|
56
|
-
## 0.30.0
|
|
57
|
-
|
|
58
|
-
<a name="0.29.0"></a>
|
|
59
|
-
|
|
60
|
-
## 0.29.0
|
|
61
|
-
|
|
62
|
-
<a name="0.28.0"></a>
|
|
63
|
-
|
|
64
|
-
## 0.28.0
|
|
65
|
-
|
|
66
|
-
<a name="0.27.0"></a>
|
|
67
|
-
|
|
68
|
-
## 0.27.0
|
|
69
|
-
|
|
70
|
-
<a name="0.26.1"></a>
|
|
71
|
-
|
|
72
|
-
## 0.26.1
|
|
73
|
-
|
|
74
|
-
<a name="0.26.0"></a>
|
|
75
|
-
|
|
76
|
-
## 0.26.0
|
|
77
|
-
|
|
78
|
-
<a name="0.25.0"></a>
|
|
79
|
-
|
|
80
|
-
## 0.25.0
|
|
81
|
-
|
|
82
|
-
<a name="0.24.0"></a>
|
|
83
|
-
|
|
84
|
-
## 0.24.0
|
|
85
|
-
|
|
86
|
-
<a name="0.23.0"></a>
|
|
87
|
-
|
|
88
|
-
## 0.23.0
|
|
89
|
-
|
|
90
|
-
<a name="0.22.0"></a>
|
|
91
|
-
|
|
92
|
-
## 0.22.0
|
|
93
|
-
|
|
94
|
-
<a name="0.21.1"></a>
|
|
95
|
-
|
|
96
|
-
## 0.21.1
|
|
97
|
-
|
|
98
|
-
<a name="0.21.0"></a>
|
|
99
|
-
|
|
100
|
-
## 0.21.0
|
|
101
|
-
|
|
102
|
-
<a name="0.20.0"></a>
|
|
103
|
-
|
|
104
|
-
## 0.20.0
|
|
105
|
-
|
|
106
|
-
### Reverts
|
|
107
|
-
|
|
108
|
-
- bump connectycube[@4](https://github.com/4).1.4
|
|
109
|
-
|
|
110
|
-
<a name="0.19.0"></a>
|
|
111
|
-
|
|
112
|
-
## 0.19.0
|
|
113
|
-
|
|
114
|
-
<a name="0.18.0"></a>
|
|
115
|
-
|
|
116
|
-
## 0.18.0
|
|
117
|
-
|
|
118
|
-
<a name="0.17.0"></a>
|
|
119
|
-
|
|
120
|
-
## 0.17.0
|
|
121
|
-
|
|
122
|
-
<a name="0.16.0"></a>
|
|
123
|
-
|
|
124
|
-
## 0.16.0
|
|
125
|
-
|
|
126
|
-
<a name="0.15.2"></a>
|
|
127
|
-
|
|
128
|
-
## 0.15.2
|
|
129
|
-
|
|
130
|
-
<a name="0.15.1"></a>
|
|
131
|
-
|
|
132
|
-
## 0.15.1
|
|
133
|
-
|
|
134
|
-
<a name="0.15.0"></a>
|
|
135
|
-
|
|
136
|
-
## 0.15.0
|
|
137
|
-
|
|
138
|
-
<a name="0.14.4"></a>
|
|
139
|
-
|
|
140
|
-
## 0.14.4
|
|
141
|
-
|
|
142
|
-
<a name="0.14.3"></a>
|
|
143
|
-
|
|
144
|
-
## 0.14.3
|
|
145
|
-
|
|
146
|
-
### Reverts
|
|
147
|
-
|
|
148
|
-
- [JS-59] update attachments
|
|
149
|
-
|
|
150
|
-
<a name="0.14.2"></a>
|
|
151
|
-
|
|
152
|
-
## 0.14.2
|
|
153
|
-
|
|
154
|
-
<a name="0.14.0"></a>
|
|
155
|
-
|
|
156
|
-
## 0.14.0
|
|
157
|
-
|
|
158
|
-
<a name="0.13.0"></a>
|
|
159
|
-
|
|
160
|
-
## 0.13.0
|
|
161
|
-
|
|
162
|
-
<a name="0.12.0"></a>
|
|
163
|
-
|
|
164
|
-
## 0.12.0
|
|
165
|
-
|
|
166
|
-
<a name="0.11.0"></a>
|
|
167
|
-
|
|
168
|
-
## 0.11.0
|
|
169
|
-
|
|
170
|
-
<a name="0.10.0"></a>
|
|
171
|
-
|
|
172
|
-
## 0.10.0
|