stream-chat 9.44.0 → 9.44.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/dist/cjs/index.browser.js +5 -2
- package/dist/cjs/index.browser.js.map +2 -2
- package/dist/cjs/index.node.js +5 -2
- package/dist/cjs/index.node.js.map +2 -2
- package/dist/esm/index.mjs +5 -2
- package/dist/esm/index.mjs.map +2 -2
- package/dist/types/offline-support/types.d.ts +5 -1
- package/package.json +1 -1
- package/src/channel_manager.ts +4 -1
- package/src/offline-support/types.ts +5 -0
|
@@ -12507,12 +12507,13 @@ var ChannelManager = class extends WithSubscriptions {
|
|
|
12507
12507
|
});
|
|
12508
12508
|
const {
|
|
12509
12509
|
channels,
|
|
12510
|
-
pagination: { filters, sort }
|
|
12510
|
+
pagination: { filters, options, sort }
|
|
12511
12511
|
} = this.state.getLatestValue();
|
|
12512
12512
|
this.client.offlineDb?.executeQuerySafely(
|
|
12513
12513
|
(db) => db.upsertCidsForQuery({
|
|
12514
12514
|
cids: channels.map((channel) => channel.cid),
|
|
12515
12515
|
filters,
|
|
12516
|
+
options,
|
|
12516
12517
|
sort
|
|
12517
12518
|
}),
|
|
12518
12519
|
{ method: "upsertCidsForQuery" }
|
|
@@ -12566,6 +12567,7 @@ var ChannelManager = class extends WithSubscriptions {
|
|
|
12566
12567
|
(db) => db.upsertCidsForQuery({
|
|
12567
12568
|
cids: channels.map((channel) => channel.cid),
|
|
12568
12569
|
filters: pagination.filters,
|
|
12570
|
+
options,
|
|
12569
12571
|
sort: pagination.sort
|
|
12570
12572
|
}),
|
|
12571
12573
|
{ method: "upsertCidsForQuery" }
|
|
@@ -12622,6 +12624,7 @@ var ChannelManager = class extends WithSubscriptions {
|
|
|
12622
12624
|
const channelsFromDB = await this.client.offlineDb.getChannelsForQuery({
|
|
12623
12625
|
userId: this.client.user.id,
|
|
12624
12626
|
filters,
|
|
12627
|
+
options,
|
|
12625
12628
|
sort
|
|
12626
12629
|
});
|
|
12627
12630
|
if (channelsFromDB) {
|
|
@@ -15767,7 +15770,7 @@ var StreamChat = class _StreamChat {
|
|
|
15767
15770
|
if (this.userAgent) {
|
|
15768
15771
|
return this.userAgent;
|
|
15769
15772
|
}
|
|
15770
|
-
const version = "9.44.
|
|
15773
|
+
const version = "9.44.1";
|
|
15771
15774
|
const clientBundle = "browser-cjs";
|
|
15772
15775
|
let userAgentString = "";
|
|
15773
15776
|
if (this.sdkIdentifier) {
|