@tellescope/chat 0.0.35 → 0.0.39

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": "0.0.35",
3
+ "version": "0.0.39",
4
4
  "description": "",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",
@@ -33,13 +33,13 @@
33
33
  "@fontsource/roboto": "^4.5.1",
34
34
  "@mui/icons-material": "^5.0.1",
35
35
  "@mui/material": "^5.0.2",
36
- "@tellescope/constants": "^0.0.35",
37
- "@tellescope/react-components": "^0.0.35",
38
- "@tellescope/sdk": "^0.0.35",
39
- "@tellescope/types-client": "^0.0.35",
40
- "@tellescope/types-models": "^0.0.35",
41
- "@tellescope/types-utilities": "^0.0.35",
42
- "@tellescope/utilities": "^0.0.35",
36
+ "@tellescope/constants": "^0.0.39",
37
+ "@tellescope/react-components": "^0.0.39",
38
+ "@tellescope/sdk": "^0.0.39",
39
+ "@tellescope/types-client": "^0.0.39",
40
+ "@tellescope/types-models": "^0.0.39",
41
+ "@tellescope/types-utilities": "^0.0.39",
42
+ "@tellescope/utilities": "^0.0.39",
43
43
  "@typescript-eslint/eslint-plugin": "^4.33.0",
44
44
  "@typescript-eslint/parser": "^4.33.0",
45
45
  "eslint": "^7.32.0",
@@ -50,7 +50,7 @@
50
50
  "react": "^17.0.2",
51
51
  "react-dom": "^17.0.2"
52
52
  },
53
- "gitHead": "1f046842cae8e5d2344312f2d49d905d4bcca786",
53
+ "gitHead": "4e372cef70e5b2d95df87abea26cd0d4be07d274",
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  }
package/src/chat.tsx CHANGED
@@ -173,8 +173,6 @@ export const Message = ({
173
173
  const textBGStyle = message.senderId === chatUserId ? sentMessageStyle : receivedMessageStyle
174
174
  const textStyle = message.senderId === chatUserId ? sentMessageTextStyle : receivedMessageTextStyle
175
175
 
176
- const inBrowser = typeof window !== undefined
177
-
178
176
  return (
179
177
  <Flex style={{ margin: 5 }}>
180
178
  {message.senderId !== chatUserId && displayPicture}