@connectycube/chat-widget 0.38.6 → 0.39.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.
Files changed (2) hide show
  1. package/README.md +1 -17
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -48,7 +48,7 @@ Add the following scripts on your html page somewhere in `head` element:
48
48
  ```html
49
49
  <script src="https://unpkg.com/react@18/umd/react.production.min.js" crossorigin></script>
50
50
  <script src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js" crossorigin></script>
51
- <script src="https://unpkg.com/connectycube@4/dist/connectycube.min.js"></script>
51
+ <script src="https://unpkg.com/connectycube@latest/dist/connectycube.min.js"></script>
52
52
  <script src="https://unpkg.com/@connectycube/chat-widget@latest/dist/index.umd.js"></script>
53
53
  ```
54
54
 
@@ -88,22 +88,6 @@ import ConnectyCubeChatWidget from "@connectycube/chat-widget";
88
88
 
89
89
  See chat widget code samples <https://github.com/ConnectyCube/connectycube-chat-widget-samples/tree/main/react-ts> as a reference for faster integration.
90
90
 
91
- ##### React version support
92
-
93
- Since v0.35.0, the default build of the widget targets React 19 and is provided as an ESM module.
94
- For React 18 projects, use the dedicated ESM-only build:
95
-
96
- ```js
97
- // v0.35.0 and later:
98
- import ConnectyCubeChatWidget from '@connectycube/chat-widget'; // default: React 19
99
- import ConnectyCubeChatWidget from '@connectycube/chat-widget/react19'; // explicit React 19 build
100
- import ConnectyCubeChatWidget from '@connectycube/chat-widget/react18'; // dedicated React 18 build
101
-
102
- // v0.34.0 and earlier:
103
- import ConnectyCubeChatWidget from '@connectycube/chat-widget'; // default: React 18
104
- import ConnectyCubeChatWidget from '@connectycube/chat-widget/react19'; // React 19 build
105
- ```
106
-
107
91
  #### Vanilla JS
108
92
 
109
93
  Place the following script in your app:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@connectycube/chat-widget",
3
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.38.6",
4
+ "version": "0.39.0",
5
5
  "license": "GPL-3.0-only",
6
6
  "homepage": "https://github.com/ConnectyCube/connectycube-chat-widget/chat-widget#readme",
7
7
  "bugs": {
@@ -137,6 +137,7 @@
137
137
  "vitest": "^4.0.17"
138
138
  },
139
139
  "optionalDependencies": {
140
+ "@parcel/watcher-linux-x64-glibc": "^2.5.4",
140
141
  "@rollup/rollup-linux-x64-gnu": "4.55.1",
141
142
  "@tailwindcss/oxide-linux-x64-gnu": "^4.1.18",
142
143
  "lightningcss-linux-x64-gnu": "^1.30.2"