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.
@@ -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.0";
15746
+ const version = "9.44.1";
15744
15747
  const clientBundle = "node-cjs";
15745
15748
  let userAgentString = "";
15746
15749
  if (this.sdkIdentifier) {