@twurple/api
Advanced tools
Comparing version 7.0.9 to 7.0.10
@@ -171,5 +171,3 @@ "use strict"; | ||
query: (0, api_call_1.createBroadcasterQuery)(channel), | ||
jsonBody: { | ||
data, | ||
}, | ||
jsonBody: (0, moderation_external_1.createCheckAutoModStatusBody)(data), | ||
}); | ||
@@ -176,0 +174,0 @@ return result.data.map(statusData => new HelixAutoModStatus_1.HelixAutoModStatus(statusData)); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createUpdateShieldModeStatusBody = exports.createBanUserBody = exports.createAutoModSettingsBody = exports.createAutoModProcessBody = exports.createModeratorModifyQuery = exports.createModerationUserListQuery = void 0; | ||
exports.createCheckAutoModStatusBody = exports.createUpdateShieldModeStatusBody = exports.createBanUserBody = exports.createAutoModSettingsBody = exports.createAutoModProcessBody = exports.createModeratorModifyQuery = exports.createModerationUserListQuery = void 0; | ||
const common_1 = require("@twurple/common"); | ||
@@ -63,1 +63,11 @@ /** @internal */ | ||
exports.createUpdateShieldModeStatusBody = createUpdateShieldModeStatusBody; | ||
/** @internal */ | ||
function createCheckAutoModStatusBody(data) { | ||
return { | ||
data: data.map(entry => ({ | ||
msg_id: entry.messageId, | ||
msg_text: entry.messageText, | ||
})), | ||
}; | ||
} | ||
exports.createCheckAutoModStatusBody = createCheckAutoModStatusBody; |
{ | ||
"name": "@twurple/api", | ||
"version": "7.0.9", | ||
"version": "7.0.10", | ||
"publishConfig": { | ||
@@ -43,4 +43,4 @@ "access": "public" | ||
"@d-fischer/typed-event-emitter": "^3.3.1", | ||
"@twurple/api-call": "7.0.9", | ||
"@twurple/common": "7.0.9", | ||
"@twurple/api-call": "7.0.10", | ||
"@twurple/common": "7.0.10", | ||
"retry": "^0.13.1", | ||
@@ -50,7 +50,7 @@ "tslib": "^2.0.3" | ||
"devDependencies": { | ||
"@twurple/auth": "7.0.9", | ||
"@twurple/auth": "7.0.10", | ||
"@types/retry": "^0.12.2" | ||
}, | ||
"peerDependencies": { | ||
"@twurple/auth": "7.0.9" | ||
"@twurple/auth": "7.0.10" | ||
}, | ||
@@ -57,0 +57,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1090343
29412
+ Added@twurple/api-call@7.0.10(transitive)
+ Added@twurple/auth@7.0.10(transitive)
+ Added@twurple/common@7.0.10(transitive)
- Removed@twurple/api-call@7.0.9(transitive)
- Removed@twurple/auth@7.0.9(transitive)
- Removed@twurple/common@7.0.9(transitive)
Updated@twurple/api-call@7.0.10
Updated@twurple/common@7.0.10