@100mslive/roomkit-react 0.3.5-alpha.6 → 0.3.5-alpha.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-GRQTRG3E.js → HLSView-PIGBPN6K.js} +2 -2
- package/dist/{chunk-GALK45VM.js → chunk-43EHUY5K.js} +6 -6
- package/dist/{chunk-GALK45VM.js.map → chunk-43EHUY5K.js.map} +2 -2
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +2 -2
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +8 -8
- package/dist/meta.esbuild.json +15 -15
- package/package.json +6 -6
- package/src/Prebuilt/components/Chat/Chat.tsx +4 -1
- package/src/Prebuilt/components/Chat/ChatBody.tsx +4 -1
- /package/dist/{HLSView-GRQTRG3E.js.map → HLSView-PIGBPN6K.js.map} +0 -0
package/dist/index.js
CHANGED
package/dist/meta.cjs.json
CHANGED
@@ -4696,7 +4696,7 @@
|
|
4696
4696
|
"format": "cjs"
|
4697
4697
|
},
|
4698
4698
|
"../hms-video-store/dist/index.js": {
|
4699
|
-
"bytes":
|
4699
|
+
"bytes": 330632,
|
4700
4700
|
"imports": [
|
4701
4701
|
{
|
4702
4702
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -7968,7 +7968,7 @@
|
|
7968
7968
|
"format": "esm"
|
7969
7969
|
},
|
7970
7970
|
"src/Prebuilt/components/Chat/ChatBody.tsx": {
|
7971
|
-
"bytes":
|
7971
|
+
"bytes": 15222,
|
7972
7972
|
"imports": [
|
7973
7973
|
{
|
7974
7974
|
"path": "react",
|
@@ -8548,7 +8548,7 @@
|
|
8548
8548
|
"format": "esm"
|
8549
8549
|
},
|
8550
8550
|
"src/Prebuilt/components/Chat/Chat.tsx": {
|
8551
|
-
"bytes":
|
8551
|
+
"bytes": 5421,
|
8552
8552
|
"imports": [
|
8553
8553
|
{
|
8554
8554
|
"path": "react",
|
@@ -13780,7 +13780,7 @@
|
|
13780
13780
|
"imports": [],
|
13781
13781
|
"exports": [],
|
13782
13782
|
"inputs": {},
|
13783
|
-
"bytes":
|
13783
|
+
"bytes": 3302043
|
13784
13784
|
},
|
13785
13785
|
"dist/index.cjs.js": {
|
13786
13786
|
"imports": [
|
@@ -16729,7 +16729,7 @@
|
|
16729
16729
|
"entryPoint": "src/index.ts",
|
16730
16730
|
"inputs": {
|
16731
16731
|
"<define:process.env>": {
|
16732
|
-
"bytesInOutput":
|
16732
|
+
"bytesInOutput": 18286
|
16733
16733
|
},
|
16734
16734
|
"src/Theme/base.config.ts": {
|
16735
16735
|
"bytesInOutput": 6104
|
@@ -17434,7 +17434,7 @@
|
|
17434
17434
|
"bytesInOutput": 926
|
17435
17435
|
},
|
17436
17436
|
"src/Prebuilt/components/Chat/ChatBody.tsx": {
|
17437
|
-
"bytesInOutput":
|
17437
|
+
"bytesInOutput": 17559
|
17438
17438
|
},
|
17439
17439
|
"src/Prebuilt/components/Chat/ChatSelector.tsx": {
|
17440
17440
|
"bytesInOutput": 8614
|
@@ -17464,7 +17464,7 @@
|
|
17464
17464
|
"bytesInOutput": 6242
|
17465
17465
|
},
|
17466
17466
|
"src/Prebuilt/components/Chat/Chat.tsx": {
|
17467
|
-
"bytesInOutput":
|
17467
|
+
"bytesInOutput": 6177
|
17468
17468
|
},
|
17469
17469
|
"src/Prebuilt/components/Footer/PaginatedParticipants.tsx": {
|
17470
17470
|
"bytesInOutput": 5344
|
@@ -17782,7 +17782,7 @@
|
|
17782
17782
|
"bytesInOutput": 2980
|
17783
17783
|
}
|
17784
17784
|
},
|
17785
|
-
"bytes":
|
17785
|
+
"bytes": 1571007
|
17786
17786
|
}
|
17787
17787
|
}
|
17788
17788
|
}
|
package/dist/meta.esbuild.json
CHANGED
@@ -4696,7 +4696,7 @@
|
|
4696
4696
|
"format": "cjs"
|
4697
4697
|
},
|
4698
4698
|
"../hms-video-store/dist/index.js": {
|
4699
|
-
"bytes":
|
4699
|
+
"bytes": 330632,
|
4700
4700
|
"imports": [
|
4701
4701
|
{
|
4702
4702
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -7968,7 +7968,7 @@
|
|
7968
7968
|
"format": "esm"
|
7969
7969
|
},
|
7970
7970
|
"src/Prebuilt/components/Chat/ChatBody.tsx": {
|
7971
|
-
"bytes":
|
7971
|
+
"bytes": 15222,
|
7972
7972
|
"imports": [
|
7973
7973
|
{
|
7974
7974
|
"path": "react",
|
@@ -8548,7 +8548,7 @@
|
|
8548
8548
|
"format": "esm"
|
8549
8549
|
},
|
8550
8550
|
"src/Prebuilt/components/Chat/Chat.tsx": {
|
8551
|
-
"bytes":
|
8551
|
+
"bytes": 5421,
|
8552
8552
|
"imports": [
|
8553
8553
|
{
|
8554
8554
|
"path": "react",
|
@@ -13785,7 +13785,7 @@
|
|
13785
13785
|
"dist/index.js": {
|
13786
13786
|
"imports": [
|
13787
13787
|
{
|
13788
|
-
"path": "dist/chunk-
|
13788
|
+
"path": "dist/chunk-43EHUY5K.js",
|
13789
13789
|
"kind": "import-statement"
|
13790
13790
|
}
|
13791
13791
|
],
|
@@ -13858,16 +13858,16 @@
|
|
13858
13858
|
"inputs": {},
|
13859
13859
|
"bytes": 1822
|
13860
13860
|
},
|
13861
|
-
"dist/HLSView-
|
13861
|
+
"dist/HLSView-PIGBPN6K.js.map": {
|
13862
13862
|
"imports": [],
|
13863
13863
|
"exports": [],
|
13864
13864
|
"inputs": {},
|
13865
13865
|
"bytes": 99604
|
13866
13866
|
},
|
13867
|
-
"dist/HLSView-
|
13867
|
+
"dist/HLSView-PIGBPN6K.js": {
|
13868
13868
|
"imports": [
|
13869
13869
|
{
|
13870
|
-
"path": "dist/chunk-
|
13870
|
+
"path": "dist/chunk-43EHUY5K.js",
|
13871
13871
|
"kind": "import-statement"
|
13872
13872
|
},
|
13873
13873
|
{
|
@@ -14103,13 +14103,13 @@
|
|
14103
14103
|
},
|
14104
14104
|
"bytes": 61412
|
14105
14105
|
},
|
14106
|
-
"dist/chunk-
|
14106
|
+
"dist/chunk-43EHUY5K.js.map": {
|
14107
14107
|
"imports": [],
|
14108
14108
|
"exports": [],
|
14109
14109
|
"inputs": {},
|
14110
|
-
"bytes":
|
14110
|
+
"bytes": 3198109
|
14111
14111
|
},
|
14112
|
-
"dist/chunk-
|
14112
|
+
"dist/chunk-43EHUY5K.js": {
|
14113
14113
|
"imports": [
|
14114
14114
|
{
|
14115
14115
|
"path": "react",
|
@@ -16497,7 +16497,7 @@
|
|
16497
16497
|
"external": true
|
16498
16498
|
},
|
16499
16499
|
{
|
16500
|
-
"path": "dist/HLSView-
|
16500
|
+
"path": "dist/HLSView-PIGBPN6K.js",
|
16501
16501
|
"kind": "dynamic-import"
|
16502
16502
|
},
|
16503
16503
|
{
|
@@ -16978,7 +16978,7 @@
|
|
16978
16978
|
],
|
16979
16979
|
"inputs": {
|
16980
16980
|
"<define:process.env>": {
|
16981
|
-
"bytesInOutput":
|
16981
|
+
"bytesInOutput": 18286
|
16982
16982
|
},
|
16983
16983
|
"../../node_modules/lodash/lodash.js": {
|
16984
16984
|
"bytesInOutput": 224310
|
@@ -17647,10 +17647,10 @@
|
|
17647
17647
|
"bytesInOutput": 7557
|
17648
17648
|
},
|
17649
17649
|
"src/Prebuilt/components/Chat/Chat.tsx": {
|
17650
|
-
"bytesInOutput":
|
17650
|
+
"bytesInOutput": 4942
|
17651
17651
|
},
|
17652
17652
|
"src/Prebuilt/components/Chat/ChatBody.tsx": {
|
17653
|
-
"bytesInOutput":
|
17653
|
+
"bytesInOutput": 14744
|
17654
17654
|
},
|
17655
17655
|
"src/Prebuilt/components/Chat/ChatActions.tsx": {
|
17656
17656
|
"bytesInOutput": 9785
|
@@ -17938,7 +17938,7 @@
|
|
17938
17938
|
"bytesInOutput": 651
|
17939
17939
|
}
|
17940
17940
|
},
|
17941
|
-
"bytes":
|
17941
|
+
"bytes": 1309342
|
17942
17942
|
}
|
17943
17943
|
}
|
17944
17944
|
}
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.5-alpha.
|
13
|
+
"version": "0.3.5-alpha.8",
|
14
14
|
"author": "100ms",
|
15
15
|
"license": "MIT",
|
16
16
|
"repository": {
|
@@ -82,11 +82,11 @@
|
|
82
82
|
"react": ">=17.0.2 <19.0.0"
|
83
83
|
},
|
84
84
|
"dependencies": {
|
85
|
-
"@100mslive/hls-player": "0.3.5-alpha.
|
85
|
+
"@100mslive/hls-player": "0.3.5-alpha.8",
|
86
86
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
87
|
-
"@100mslive/hms-virtual-background": "1.13.5-alpha.
|
88
|
-
"@100mslive/react-icons": "0.10.5-alpha.
|
89
|
-
"@100mslive/react-sdk": "0.10.5-alpha.
|
87
|
+
"@100mslive/hms-virtual-background": "1.13.5-alpha.8",
|
88
|
+
"@100mslive/react-icons": "0.10.5-alpha.8",
|
89
|
+
"@100mslive/react-sdk": "0.10.5-alpha.8",
|
90
90
|
"@100mslive/types-prebuilt": "0.12.8",
|
91
91
|
"@emoji-mart/data": "^1.0.6",
|
92
92
|
"@emoji-mart/react": "^1.0.1",
|
@@ -122,5 +122,5 @@
|
|
122
122
|
"uuid": "^8.3.2",
|
123
123
|
"worker-timers": "^7.0.40"
|
124
124
|
},
|
125
|
-
"gitHead": "
|
125
|
+
"gitHead": "aab313829e1a3e05e139941020f828ef295f6e2d"
|
126
126
|
}
|
@@ -130,7 +130,10 @@ const NewMessageIndicator = ({
|
|
130
130
|
}
|
131
131
|
// @ts-ignore
|
132
132
|
const outerElement = listRef.current._outerRef;
|
133
|
-
if (
|
133
|
+
if (
|
134
|
+
outerElement &&
|
135
|
+
outerElement.clientHeight + outerElement.scrollTop + outerElement.offsetTop >= outerElement.scrollHeight
|
136
|
+
) {
|
134
137
|
return null;
|
135
138
|
}
|
136
139
|
|
@@ -420,7 +420,10 @@ export const ChatBody = React.forwardRef<VariableSizeList, { scrollToBottom: (co
|
|
420
420
|
}
|
421
421
|
// @ts-ignore
|
422
422
|
const outerElement = listRef.current._outerRef;
|
423
|
-
if (
|
423
|
+
if (
|
424
|
+
outerElement &&
|
425
|
+
outerElement.clientHeight + outerElement.scrollTop + outerElement.offsetTop >= outerElement.scrollHeight
|
426
|
+
) {
|
424
427
|
requestAnimationFrame(() => scrollToBottom(1));
|
425
428
|
}
|
426
429
|
}, selectUnreadHMSMessagesCount);
|
File without changes
|