Socket
Socket
Sign inDemoInstall

@twurple/api

Package Overview
Dependencies
Maintainers
2
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twurple/api - npm Package Compare versions

Comparing version 5.0.0-pre.13 to 5.0.0-pre.14

1

lib/api/badges/ChatBadgeVersion.js

@@ -36,3 +36,2 @@ "use strict";

getImageUrl(scale) {
// eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
return this[common_1.rawDataSymbol][`image_url_${scale}x`];

@@ -39,0 +38,0 @@ }

2

lib/api/helix/bits/HelixCheermoteList.d.ts

@@ -14,3 +14,3 @@ import type { CheermoteBackground, CheermoteDisplayInfo, CheermoteFormat, CheermoteScale, CheermoteState } from '@twurple/common';

color: string;
images: HelixCheermoteActionImageUrlsByBackgroundAndStateAndScale[];
images: HelixCheermoteActionImageUrlsByBackgroundAndStateAndScale;
can_cheer: boolean;

@@ -17,0 +17,0 @@ show_in_bits_card: boolean;

@@ -33,4 +33,2 @@ "use strict";

return {
// @ts-expect-error TS7015 TODO will be fixed with the removal of enums
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access,@typescript-eslint/no-unsafe-assignment
url: correctTier.images[background][state][scale],

@@ -37,0 +35,0 @@ color: correctTier.color

@@ -53,3 +53,2 @@ "use strict";

var _a, _b;
// eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
const urlProp = `url_${scale}x`;

@@ -56,0 +55,0 @@ return (_b = (_a = this[common_1.rawDataSymbol].image) === null || _a === void 0 ? void 0 : _a[urlProp]) !== null && _b !== void 0 ? _b : this[common_1.rawDataSymbol].default_image[urlProp];

@@ -22,3 +22,2 @@ "use strict";

getImageUrl(scale) {
// eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
return this[common_1.rawDataSymbol][`image_url_${scale}x`];

@@ -25,0 +24,0 @@ }

@@ -28,3 +28,2 @@ "use strict";

getImageUrl(scale) {
// eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
return this[common_1.rawDataSymbol].images[`url_${scale}x`];

@@ -31,0 +30,0 @@ }

@@ -75,3 +75,2 @@ "use strict";

*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
async callApi(options) {

@@ -78,0 +77,0 @@ var _a;

{
"name": "@twurple/api",
"version": "5.0.0-pre.13",
"version": "5.0.0-pre.14",
"publishConfig": {

@@ -39,8 +39,8 @@ "access": "public"

"@d-fischer/shared-utils": "^3.2.0",
"@twurple/api-call": "^5.0.0-pre.13",
"@twurple/common": "^5.0.0-pre.13",
"@twurple/api-call": "^5.0.0-pre.14",
"@twurple/common": "^5.0.0-pre.14",
"tslib": "^2.0.3"
},
"devDependencies": {
"@twurple/auth": "^5.0.0-pre.13"
"@twurple/auth": "^5.0.0-pre.14"
},

@@ -61,3 +61,3 @@ "peerDependencies": {

},
"gitHead": "f305beefb6f619faed0776ab62eff51db5d8530d"
"gitHead": "d243c0e1dac40c5a530d1d52306ed16eee590fa0"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc