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/cjs/index.node.js
CHANGED
|
@@ -12480,12 +12480,13 @@ var ChannelManager = class extends WithSubscriptions {
|
|
|
12480
12480
|
});
|
|
12481
12481
|
const {
|
|
12482
12482
|
channels,
|
|
12483
|
-
pagination: { filters, sort }
|
|
12483
|
+
pagination: { filters, options, sort }
|
|
12484
12484
|
} = this.state.getLatestValue();
|
|
12485
12485
|
this.client.offlineDb?.executeQuerySafely(
|
|
12486
12486
|
(db) => db.upsertCidsForQuery({
|
|
12487
12487
|
cids: channels.map((channel) => channel.cid),
|
|
12488
12488
|
filters,
|
|
12489
|
+
options,
|
|
12489
12490
|
sort
|
|
12490
12491
|
}),
|
|
12491
12492
|
{ method: "upsertCidsForQuery" }
|
|
@@ -12539,6 +12540,7 @@ var ChannelManager = class extends WithSubscriptions {
|
|
|
12539
12540
|
(db) => db.upsertCidsForQuery({
|
|
12540
12541
|
cids: channels.map((channel) => channel.cid),
|
|
12541
12542
|
filters: pagination.filters,
|
|
12543
|
+
options,
|
|
12542
12544
|
sort: pagination.sort
|
|
12543
12545
|
}),
|
|
12544
12546
|
{ method: "upsertCidsForQuery" }
|
|
@@ -12595,6 +12597,7 @@ var ChannelManager = class extends WithSubscriptions {
|
|
|
12595
12597
|
const channelsFromDB = await this.client.offlineDb.getChannelsForQuery({
|
|
12596
12598
|
userId: this.client.user.id,
|
|
12597
12599
|
filters,
|
|
12600
|
+
options,
|
|
12598
12601
|
sort
|
|
12599
12602
|
});
|
|
12600
12603
|
if (channelsFromDB) {
|
|
@@ -15740,7 +15743,7 @@ var StreamChat = class _StreamChat {
|
|
|
15740
15743
|
if (this.userAgent) {
|
|
15741
15744
|
return this.userAgent;
|
|
15742
15745
|
}
|
|
15743
|
-
const version = "9.44.
|
|
15746
|
+
const version = "9.44.1";
|
|
15744
15747
|
const clientBundle = "node-cjs";
|
|
15745
15748
|
let userAgentString = "";
|
|
15746
15749
|
if (this.sdkIdentifier) {
|