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
package/dist/esm/index.mjs
CHANGED
|
@@ -12303,12 +12303,13 @@ var ChannelManager = class extends WithSubscriptions {
|
|
|
12303
12303
|
});
|
|
12304
12304
|
const {
|
|
12305
12305
|
channels,
|
|
12306
|
-
pagination: { filters, sort }
|
|
12306
|
+
pagination: { filters, options, sort }
|
|
12307
12307
|
} = this.state.getLatestValue();
|
|
12308
12308
|
this.client.offlineDb?.executeQuerySafely(
|
|
12309
12309
|
(db) => db.upsertCidsForQuery({
|
|
12310
12310
|
cids: channels.map((channel) => channel.cid),
|
|
12311
12311
|
filters,
|
|
12312
|
+
options,
|
|
12312
12313
|
sort
|
|
12313
12314
|
}),
|
|
12314
12315
|
{ method: "upsertCidsForQuery" }
|
|
@@ -12362,6 +12363,7 @@ var ChannelManager = class extends WithSubscriptions {
|
|
|
12362
12363
|
(db) => db.upsertCidsForQuery({
|
|
12363
12364
|
cids: channels.map((channel) => channel.cid),
|
|
12364
12365
|
filters: pagination.filters,
|
|
12366
|
+
options,
|
|
12365
12367
|
sort: pagination.sort
|
|
12366
12368
|
}),
|
|
12367
12369
|
{ method: "upsertCidsForQuery" }
|
|
@@ -12418,6 +12420,7 @@ var ChannelManager = class extends WithSubscriptions {
|
|
|
12418
12420
|
const channelsFromDB = await this.client.offlineDb.getChannelsForQuery({
|
|
12419
12421
|
userId: this.client.user.id,
|
|
12420
12422
|
filters,
|
|
12423
|
+
options,
|
|
12421
12424
|
sort
|
|
12422
12425
|
});
|
|
12423
12426
|
if (channelsFromDB) {
|
|
@@ -15563,7 +15566,7 @@ var StreamChat = class _StreamChat {
|
|
|
15563
15566
|
if (this.userAgent) {
|
|
15564
15567
|
return this.userAgent;
|
|
15565
15568
|
}
|
|
15566
|
-
const version = "9.44.
|
|
15569
|
+
const version = "9.44.1";
|
|
15567
15570
|
const clientBundle = "browser-esm";
|
|
15568
15571
|
let userAgentString = "";
|
|
15569
15572
|
if (this.sdkIdentifier) {
|