@tellescope/chat 1.16.2 → 1.16.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tellescope/chat",
3
- "version": "1.16.2",
3
+ "version": "1.16.4",
4
4
  "description": "",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",
@@ -34,13 +34,13 @@
34
34
  "@fontsource/roboto": "^4.5.1",
35
35
  "@mui/icons-material": "^5.0.1",
36
36
  "@mui/material": "^5.0.2",
37
- "@tellescope/constants": "^1.16.2",
38
- "@tellescope/react-components": "^1.16.2",
39
- "@tellescope/sdk": "^1.16.2",
40
- "@tellescope/types-client": "^1.16.2",
41
- "@tellescope/types-models": "^1.16.2",
37
+ "@tellescope/constants": "^1.16.3",
38
+ "@tellescope/react-components": "^1.16.3",
39
+ "@tellescope/sdk": "^1.16.3",
40
+ "@tellescope/types-client": "^1.16.3",
41
+ "@tellescope/types-models": "^1.16.3",
42
42
  "@tellescope/types-utilities": "^1.5.1",
43
- "@tellescope/utilities": "^1.16.2",
43
+ "@tellescope/utilities": "^1.16.3",
44
44
  "@typescript-eslint/eslint-plugin": "^4.33.0",
45
45
  "@typescript-eslint/parser": "^4.33.0",
46
46
  "eslint": "^7.32.0",
@@ -51,7 +51,7 @@
51
51
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
52
52
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
53
53
  },
54
- "gitHead": "87376ee0bba0e71f599b0dd4fb644fbb87e27e4a",
54
+ "gitHead": "77375b093f09593f4e2bd6bb640d7815048e7d82",
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  }
@@ -61,6 +61,7 @@ export const SendMessage = ({
61
61
  const handleSend = (e: any) => {
62
62
  if (e.key !== 'Enter') return
63
63
  setDisabled(true)
64
+ if (!message.trim()) return
64
65
 
65
66
  createMessage({ message, roomId })
66
67
  .then(m => {