Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@twurple/common

Package Overview
Dependencies
Maintainers
2
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twurple/common - npm Package Compare versions

Comparing version 5.0.0-pre.5 to 5.0.0-pre.6

49

lib/emotes/BaseCheermoteList.d.ts

@@ -47,54 +47,11 @@ /**

*/
export declare enum CheermoteBackground {
/**
* A dark background.
*
* Cheermotes might show artifacts on bright backgrounds.
*/
dark = "dark",
/**
* A bright background.
*
* Cheermotes might show artifacts on dark backgrounds.
*/
light = "light"
}
export declare type CheermoteBackground = 'dark' | 'light';
/**
* The state of a cheermote, i.e. whether it's animated or not.
*/
export declare enum CheermoteState {
/**
* The cheermote should be animated.
*/
animated = "animated",
/**
* The cheermote should not be animated.
*/
static = "static"
}
export declare type CheermoteState = 'animated' | 'static';
/**
* The scale of the cheermote, which usually relates to the pixel density of the device in use.
*/
export declare enum CheermoteScale {
/**
* The cheermote should not be scaled.
*/
x1 = "1",
/**
* The cheermote should be scaled 1.5x.
*/
x1_5 = "1.5",
/**
* The cheermote should be scaled 2x.
*/
x2 = "2",
/**
* The cheermote should be scaled 3x.
*/
x3 = "3",
/**
* The cheermote should be scaled 4x.
*/
x4 = "4"
}
export declare type CheermoteScale = '1' | '1.5' | '2' | '3' | '4';
/**

@@ -101,0 +58,0 @@ * The format of the cheermote you want to request.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BaseCheermoteList = exports.CheermoteScale = exports.CheermoteState = exports.CheermoteBackground = void 0;
exports.BaseCheermoteList = void 0;
const shared_utils_1 = require("@d-fischer/shared-utils");
var CheermoteBackground;
(function (CheermoteBackground) {
/**
* A dark background.
*
* Cheermotes might show artifacts on bright backgrounds.
*/
CheermoteBackground["dark"] = "dark";
/**
* A bright background.
*
* Cheermotes might show artifacts on dark backgrounds.
*/
CheermoteBackground["light"] = "light";
})(CheermoteBackground || (CheermoteBackground = {}));
exports.CheermoteBackground = CheermoteBackground;
var CheermoteState;
(function (CheermoteState) {
/**
* The cheermote should be animated.
*/
CheermoteState["animated"] = "animated";
/**
* The cheermote should not be animated.
*/
CheermoteState["static"] = "static";
})(CheermoteState || (CheermoteState = {}));
exports.CheermoteState = CheermoteState;
var CheermoteScale;
(function (CheermoteScale) {
/**
* The cheermote should not be scaled.
*/
CheermoteScale["x1"] = "1";
/**
* The cheermote should be scaled 1.5x.
*/
CheermoteScale["x1_5"] = "1.5";
/**
* The cheermote should be scaled 2x.
*/
CheermoteScale["x2"] = "2";
/**
* The cheermote should be scaled 3x.
*/
CheermoteScale["x3"] = "3";
/**
* The cheermote should be scaled 4x.
*/
CheermoteScale["x4"] = "4";
})(CheermoteScale || (CheermoteScale = {}));
exports.CheermoteScale = CheermoteScale;
/** @private */

@@ -58,0 +6,0 @@ class BaseCheermoteList {

4

lib/index.d.ts
export { rtfm } from './rtfm';
export type { CommercialLength, HelixUserType } from './types';
export { BaseCheermoteList, CheermoteBackground, CheermoteScale, CheermoteState } from './emotes/BaseCheermoteList';
export type { CheermoteDisplayInfo, CheermoteFormat, MessageCheermote } from './emotes/BaseCheermoteList';
export { BaseCheermoteList } from './emotes/BaseCheermoteList';
export type { CheermoteScale, CheermoteState, CheermoteBackground, CheermoteDisplayInfo, CheermoteFormat, MessageCheermote } from './emotes/BaseCheermoteList';
export { ChatEmote } from './emotes/ChatEmote';

@@ -6,0 +6,0 @@ export type { ChatEmoteData, EmoteSize } from './emotes/ChatEmote';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.extractUserName = exports.extractUserId = exports.HellFreezesOverError = exports.CustomError = exports.ChatEmote = exports.CheermoteState = exports.CheermoteScale = exports.CheermoteBackground = exports.BaseCheermoteList = exports.rtfm = void 0;
exports.extractUserName = exports.extractUserId = exports.HellFreezesOverError = exports.CustomError = exports.ChatEmote = exports.BaseCheermoteList = exports.rtfm = void 0;
var rtfm_1 = require("./rtfm");

@@ -8,5 +8,2 @@ Object.defineProperty(exports, "rtfm", { enumerable: true, get: function () { return rtfm_1.rtfm; } });

Object.defineProperty(exports, "BaseCheermoteList", { enumerable: true, get: function () { return BaseCheermoteList_1.BaseCheermoteList; } });
Object.defineProperty(exports, "CheermoteBackground", { enumerable: true, get: function () { return BaseCheermoteList_1.CheermoteBackground; } });
Object.defineProperty(exports, "CheermoteScale", { enumerable: true, get: function () { return BaseCheermoteList_1.CheermoteScale; } });
Object.defineProperty(exports, "CheermoteState", { enumerable: true, get: function () { return BaseCheermoteList_1.CheermoteState; } });
var ChatEmote_1 = require("./emotes/ChatEmote");

@@ -13,0 +10,0 @@ Object.defineProperty(exports, "ChatEmote", { enumerable: true, get: function () { return ChatEmote_1.ChatEmote; } });

@@ -8,20 +8,3 @@ /**

*/
export declare enum HelixUserType {
/**
* A Twitch staff member.
*/
Staff = "staff",
/**
* A Twitch administrator.
*/
Admin = "admin",
/**
* A global moderator.
*/
GlobalMod = "global_mod",
/**
* A user with no special permissions across Twitch.
*/
None = ""
}
export declare type HelixUserType = 'staff' | 'admin' | 'global_mod' | '';
//# sourceMappingURL=types.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HelixUserType = void 0;
var HelixUserType;
(function (HelixUserType) {
/**
* A Twitch staff member.
*/
HelixUserType["Staff"] = "staff";
/**
* A Twitch administrator.
*/
HelixUserType["Admin"] = "admin";
/**
* A global moderator.
*/
HelixUserType["GlobalMod"] = "global_mod";
/**
* A user with no special permissions across Twitch.
*/
HelixUserType["None"] = "";
})(HelixUserType || (HelixUserType = {}));
exports.HelixUserType = HelixUserType;
{
"name": "@twurple/common",
"version": "5.0.0-pre.5",
"version": "5.0.0-pre.6",
"publishConfig": {

@@ -47,3 +47,3 @@ "access": "public"

},
"gitHead": "6426110a30531a5b3aaff025d7b4babeec3790de"
"gitHead": "ce8b79e0eb955f087a58cb92269de8e0a1f42373"
}

@@ -0,1 +1,5 @@

# ⚠ WARNING
This is a future version still in development. For a stable version, check out [the `twitch-common` package](https://www.npmjs.com/package/twitch-common).
# Twurple - Authentication

@@ -2,0 +6,0 @@

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