@talkjs/core 1.8.0 → 1.8.1
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/README.md +5 -0
- package/dist/talkSession.cjs +1 -1
- package/dist/talkSession.d.ts +9 -3
- package/dist/talkSession.js +721 -601
- package/package.json +1 -1
package/dist/talkSession.d.ts
CHANGED
|
@@ -287,7 +287,9 @@ export declare interface ConversationListSubscription {
|
|
|
287
287
|
* Expand the window to include older conversations
|
|
288
288
|
*
|
|
289
289
|
* @remarks
|
|
290
|
-
*
|
|
290
|
+
* The `count` parameter is relative to the current number of loaded conversations.
|
|
291
|
+
* If you call `loadMore(5)` and then call `loadMore(10)` immediately afterwards (without awaiting the promise),
|
|
292
|
+
* then only 10 additional conversations will be loaded, not 15.
|
|
291
293
|
*
|
|
292
294
|
* Avoid calling `.loadMore` in a loop until you have loaded all conversations.
|
|
293
295
|
* This is usually unnecessary: any time a conversation receives a message, it appears at the start of the list of conversations.
|
|
@@ -1595,7 +1597,9 @@ export declare interface MessageSubscription {
|
|
|
1595
1597
|
* Expand the window to include older messages
|
|
1596
1598
|
*
|
|
1597
1599
|
* @remarks
|
|
1598
|
-
*
|
|
1600
|
+
* The `count` parameter is relative to the current number of loaded participants.
|
|
1601
|
+
* If you call `loadMore(5)` and then call `loadMore(10)` immediately afterwards (without awaiting the promise),
|
|
1602
|
+
* then only 10 additional participants will be loaded, not 15.
|
|
1599
1603
|
*
|
|
1600
1604
|
* Avoid calling `.loadMore` in a loop until you have loaded all messages.
|
|
1601
1605
|
* If you do need to call loadMore in a loop, make sure you set an upper bound (e.g. 1000) on the number of messages, where the loop will exit.
|
|
@@ -1797,7 +1801,9 @@ export declare interface ParticipantSubscription {
|
|
|
1797
1801
|
* Expand the window to include older participants
|
|
1798
1802
|
*
|
|
1799
1803
|
* @remarks
|
|
1800
|
-
*
|
|
1804
|
+
* The `count` parameter is relative to the current number of loaded messages.
|
|
1805
|
+
* If you call `loadMore(5)` and then call `loadMore(10)` immediately afterwards (without awaiting the promise),
|
|
1806
|
+
* then only 10 additional messages will be loaded, not 15.
|
|
1801
1807
|
*
|
|
1802
1808
|
* Avoid calling `.loadMore` in a loop until you have loaded all participants.
|
|
1803
1809
|
* If you do need to call loadMore in a loop, make sure you set a small upper bound (e.g. 100) on the number of participants, where the loop will exit.
|