stream-chat 9.30.0 → 9.30.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.
@@ -11091,14 +11091,17 @@ var Moderation = class {
11091
11091
  * @returns
11092
11092
  */
11093
11093
  async check(entityType, entityID, entityCreatorID, moderationPayload, configKey, options) {
11094
- return await this.client.post(this.client.baseURL + `/api/v2/moderation/check`, {
11095
- entity_type: entityType,
11096
- entity_id: entityID,
11097
- entity_creator_id: entityCreatorID,
11098
- moderation_payload: moderationPayload,
11099
- config_key: configKey,
11100
- options
11101
- });
11094
+ return await this.client.post(
11095
+ this.client.baseURL + `/api/v2/moderation/check`,
11096
+ {
11097
+ entity_type: entityType,
11098
+ entity_id: entityID,
11099
+ entity_creator_id: entityCreatorID,
11100
+ moderation_payload: moderationPayload,
11101
+ config_key: configKey,
11102
+ options
11103
+ }
11104
+ );
11102
11105
  }
11103
11106
  /**
11104
11107
  * Experimental: Check user profile
@@ -11161,13 +11164,16 @@ var Moderation = class {
11161
11164
  * @returns
11162
11165
  */
11163
11166
  async addCustomFlags(entityType, entityID, entityCreatorID, moderationPayload, flags) {
11164
- return await this.client.post(this.client.baseURL + `/api/v2/moderation/custom_check`, {
11165
- entity_type: entityType,
11166
- entity_id: entityID,
11167
- entity_creator_id: entityCreatorID,
11168
- moderation_payload: moderationPayload,
11169
- flags
11170
- });
11167
+ return await this.client.post(
11168
+ this.client.baseURL + `/api/v2/moderation/custom_check`,
11169
+ {
11170
+ entity_type: entityType,
11171
+ entity_id: entityID,
11172
+ entity_creator_id: entityCreatorID,
11173
+ moderation_payload: moderationPayload,
11174
+ flags
11175
+ }
11176
+ );
11171
11177
  }
11172
11178
  /**
11173
11179
  * Add custom flags to a message
@@ -15087,7 +15093,7 @@ var StreamChat = class _StreamChat {
15087
15093
  if (this.userAgent) {
15088
15094
  return this.userAgent;
15089
15095
  }
15090
- const version = "9.30.0";
15096
+ const version = "9.30.1";
15091
15097
  const clientBundle = "browser-cjs";
15092
15098
  let userAgentString = "";
15093
15099
  if (this.sdkIdentifier) {