stream-chat 9.45.3 → 9.45.4
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 +7 -6
- package/dist/cjs/index.browser.js.map +2 -2
- package/dist/cjs/index.node.js +7 -6
- package/dist/cjs/index.node.js.map +2 -2
- package/dist/esm/index.mjs +7 -6
- package/dist/esm/index.mjs.map +2 -2
- package/dist/types/moderation.d.ts +1 -2
- package/package.json +1 -1
- package/src/moderation.ts +3 -2
package/dist/esm/index.mjs
CHANGED
|
@@ -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
|
-
|
|
12221
|
-
|
|
12220
|
+
force_sync: true
|
|
12221
|
+
},
|
|
12222
|
+
true
|
|
12222
12223
|
);
|
|
12223
12224
|
}
|
|
12224
12225
|
/**
|
|
@@ -16426,7 +16427,7 @@ var StreamChat = class _StreamChat {
|
|
|
16426
16427
|
if (this.userAgent) {
|
|
16427
16428
|
return this.userAgent;
|
|
16428
16429
|
}
|
|
16429
|
-
const version = "9.45.
|
|
16430
|
+
const version = "9.45.4";
|
|
16430
16431
|
const clientBundle = "browser-esm";
|
|
16431
16432
|
let userAgentString = "";
|
|
16432
16433
|
if (this.sdkIdentifier) {
|