@tellescope/chat 1.103.2 → 1.105.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.
- package/lib/cjs/chat.js +1 -1
- package/lib/cjs/chat.js.map +1 -1
- package/lib/esm/chat.js +1 -1
- package/lib/esm/chat.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/src/chat.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tellescope/chat",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.105.0",
|
|
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.
|
|
38
|
-
"@tellescope/react-components": "^1.
|
|
39
|
-
"@tellescope/sdk": "^1.
|
|
40
|
-
"@tellescope/types-client": "^1.
|
|
41
|
-
"@tellescope/types-models": "^1.
|
|
37
|
+
"@tellescope/constants": "^1.105.0",
|
|
38
|
+
"@tellescope/react-components": "^1.105.0",
|
|
39
|
+
"@tellescope/sdk": "^1.105.0",
|
|
40
|
+
"@tellescope/types-client": "^1.105.0",
|
|
41
|
+
"@tellescope/types-models": "^1.105.0",
|
|
42
42
|
"@tellescope/types-utilities": "^1.69.3",
|
|
43
|
-
"@tellescope/utilities": "^1.
|
|
43
|
+
"@tellescope/utilities": "^1.105.0",
|
|
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": "
|
|
54
|
+
"gitHead": "af38a118ece54521e812633b2c1343113a33d3a6",
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
57
57
|
}
|
package/src/chat.tsx
CHANGED
|
@@ -424,7 +424,7 @@ export const Messages = ({
|
|
|
424
424
|
|
|
425
425
|
return (
|
|
426
426
|
<LoadingLinear data={messages} render={_messages => {
|
|
427
|
-
const sorted = _messages.sort((m1, m2) => new Date(m1.createdAt).getTime() - new Date(m2.createdAt).getTime())
|
|
427
|
+
const sorted = _messages.sort((m1, m2) => new Date(m1.timestamp || m1.createdAt).getTime() - new Date(m2.timestamp || m2.createdAt).getTime())
|
|
428
428
|
|
|
429
429
|
let lastDate = 0
|
|
430
430
|
let previousSender = ''
|