stream-chat 9.45.3 → 9.45.5

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.
@@ -12160,7 +12160,7 @@ var Moderation = class {
12160
12160
  * @param options
12161
12161
  * @returns
12162
12162
  */
12163
- async check(entityType, entityID, entityCreatorID, moderationPayload, configKey, options) {
12163
+ async check(entityType, entityID, entityCreatorID, moderationPayload, configKey, options, testMode) {
12164
12164
  return await this.client.post(
12165
12165
  this.client.baseURL + `/api/v2/moderation/check`,
12166
12166
  {
@@ -12169,7 +12169,8 @@ var Moderation = class {
12169
12169
  entity_creator_id: entityCreatorID,
12170
12170
  moderation_payload: moderationPayload,
12171
12171
  config_key: configKey,
12172
- options
12172
+ options,
12173
+ test_mode: testMode
12173
12174
  }
12174
12175
  );
12175
12176
  }
@@ -12216,9 +12217,9 @@ var Moderation = class {
12216
12217
  moderationPayload,
12217
12218
  "user_profile:default",
12218
12219
  {
12219
- force_sync: true,
12220
- test_mode: true
12221
- }
12220
+ force_sync: true
12221
+ },
12222
+ true
12222
12223
  );
12223
12224
  }
12224
12225
  /**
@@ -12230,6 +12231,7 @@ var Moderation = class {
12230
12231
  * @param {Array} moderationPayload.texts array Array of texts to be checked for moderation
12231
12232
  * @param {Array} moderationPayload.images array Array of images to be checked for moderation
12232
12233
  * @param {Array} moderationPayload.videos array Array of videos to be checked for moderation
12234
+ * @param {object} moderationPayload.custom object Additional custom data to attach to the moderation review queue item
12233
12235
  * @param {Array<CustomCheckFlag>} flags Array of CustomCheckFlag to be passed to flag the entity
12234
12236
  * @returns
12235
12237
  */
@@ -16426,7 +16428,7 @@ var StreamChat = class _StreamChat {
16426
16428
  if (this.userAgent) {
16427
16429
  return this.userAgent;
16428
16430
  }
16429
- const version = "9.45.3";
16431
+ const version = "9.45.5";
16430
16432
  const clientBundle = "browser-esm";
16431
16433
  let userAgentString = "";
16432
16434
  if (this.sdkIdentifier) {