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
|
@@ -12373,7 +12373,7 @@ var Moderation = class {
|
|
|
12373
12373
|
* @param options
|
|
12374
12374
|
* @returns
|
|
12375
12375
|
*/
|
|
12376
|
-
async check(entityType, entityID, entityCreatorID, moderationPayload, configKey, options) {
|
|
12376
|
+
async check(entityType, entityID, entityCreatorID, moderationPayload, configKey, options, testMode) {
|
|
12377
12377
|
return await this.client.post(
|
|
12378
12378
|
this.client.baseURL + `/api/v2/moderation/check`,
|
|
12379
12379
|
{
|
|
@@ -12382,7 +12382,8 @@ var Moderation = class {
|
|
|
12382
12382
|
entity_creator_id: entityCreatorID,
|
|
12383
12383
|
moderation_payload: moderationPayload,
|
|
12384
12384
|
config_key: configKey,
|
|
12385
|
-
options
|
|
12385
|
+
options,
|
|
12386
|
+
test_mode: testMode
|
|
12386
12387
|
}
|
|
12387
12388
|
);
|
|
12388
12389
|
}
|
|
@@ -12429,9 +12430,9 @@ var Moderation = class {
|
|
|
12429
12430
|
moderationPayload,
|
|
12430
12431
|
"user_profile:default",
|
|
12431
12432
|
{
|
|
12432
|
-
force_sync: true
|
|
12433
|
-
|
|
12434
|
-
|
|
12433
|
+
force_sync: true
|
|
12434
|
+
},
|
|
12435
|
+
true
|
|
12435
12436
|
);
|
|
12436
12437
|
}
|
|
12437
12438
|
/**
|
|
@@ -16639,7 +16640,7 @@ var StreamChat = class _StreamChat {
|
|
|
16639
16640
|
if (this.userAgent) {
|
|
16640
16641
|
return this.userAgent;
|
|
16641
16642
|
}
|
|
16642
|
-
const version = "9.45.
|
|
16643
|
+
const version = "9.45.4";
|
|
16643
16644
|
const clientBundle = "browser-cjs";
|
|
16644
16645
|
let userAgentString = "";
|
|
16645
16646
|
if (this.sdkIdentifier) {
|