Socket
Socket
Sign inDemoInstall

@types/tmi.js

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/tmi.js - npm Package Compare versions

Comparing version 1.7.2 to 1.8.0

15

tmi.js/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for tmi.js 1.7
// Type definitions for tmi.js 1.8
// Project: https://github.com/tmijs/tmi.js

@@ -54,2 +54,4 @@ // Definitions by: William Papsco <https://github.com/wpapsco>

anongiftpaidupgrade(channel: string, username: string, userstate: AnonSubGiftUpgradeUserstate): void;
anonsubmysterygift(channel: string, numbOfSubs: number, methods: SubMethods, userstate: AnonSubMysteryGiftUserstate): void;
anonsubgift(channel: string, streakMonths: number, recipient: string, methods: SubMethods, userstate: AnonSubGiftUserstate): void;
automod(channel: string, msgID: 'msg_rejected' | 'msg_rejected_mandatory', message: string): void;

@@ -219,2 +221,6 @@ ban(channel: string, username: string, reason: string): void;

export interface AnonSubMysteryGiftUserstate extends CommonSubUserstate {
'message-type'?: "anonsubmysterygift" | undefined;
}
export interface SubGiftUpgradeUserstate extends CommonSubUserstate {

@@ -269,4 +275,6 @@ "message-type"?: "giftpaidupgrade" | undefined;

"bad_ban_admin" |
"bad_ban_anon" |
"bad_ban_broadcaster" |
"bad_ban_global_mod" |
"bad_ban_mod" |
"bad_ban_self" |

@@ -280,3 +288,5 @@ "bad_ban_staff" |

"bad_timeout_admin" |
"bad_timeout_anon" |
"bad_timeout_global_mod" |
"bad_timeout_mod" |
"bad_timeout_self" |

@@ -361,2 +371,5 @@ "bad_timeout_staff" |

messagesLogLevel?: string | undefined;
skipMembership?: boolean | undefined;
skipUpdatingEmotesets?: boolean | undefined;
updateEmotesetsTimer?: number | undefined;
} | undefined;

@@ -363,0 +376,0 @@ connection?: {

6

tmi.js/package.json
{
"name": "@types/tmi.js",
"version": "1.7.2",
"version": "1.8.0",
"description": "TypeScript definitions for tmi.js",

@@ -33,4 +33,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tmi.js",

"dependencies": {},
"typesPublisherContentHash": "1aa946d65f91cb1f08154d5a57e2fe7d969114ddf677c12e6792683f3c26083f",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "1aab7311c1eeb503db9a89d664faa2e1c0b6c5437b3d7a0143701d60ccfb0c31",
"typeScriptVersion": "3.7"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 02 Jul 2021 19:37:10 GMT
* Last updated: Tue, 12 Oct 2021 11:01:19 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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