@linktr.ee/messaging-react 1.24.3 → 1.24.4-rc-1773546789
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/dist/index.d.ts +8 -0
- package/dist/index.js +179 -178
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ChannelList/index.test.tsx +57 -0
- package/src/components/ChannelList/index.tsx +4 -1
- package/src/types.ts +8 -0
package/dist/index.d.ts
CHANGED
|
@@ -53,6 +53,14 @@ export declare interface ChannelListProps {
|
|
|
53
53
|
participantLabel?: string;
|
|
54
54
|
className?: string;
|
|
55
55
|
filters: ChannelFilters;
|
|
56
|
+
/**
|
|
57
|
+
* Controls whether new-message events can promote channels that are not
|
|
58
|
+
* already present in the current list.
|
|
59
|
+
*
|
|
60
|
+
* Defaults to `false` for backward compatibility with existing filtered
|
|
61
|
+
* ChannelList consumers.
|
|
62
|
+
*/
|
|
63
|
+
allowNewMessagesFromUnfilteredChannels?: boolean;
|
|
56
64
|
/**
|
|
57
65
|
* Sort order for the channel list query.
|
|
58
66
|
* Defaults to `{ last_message_at: -1 }` (most recent first).
|