simple-helix-api
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -49,3 +49,3 @@ "use strict"; | ||
code: text.substring(positions[0][0], positions[0][1]), | ||
id: Number(id), | ||
id: parseInt(id), | ||
positions | ||
@@ -52,0 +52,0 @@ }); |
{ | ||
"name": "simple-helix-api", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"description": "The Simple Helix API allows developers to easily develop applications for Twitch", | ||
"main": "dist/index.js", | ||
"types": "types", | ||
"author": "purplehorrorrus <purplehorrorrus@gmail.com>", | ||
"main": "./dist/index.js", | ||
"types": "./types", | ||
"author": "Maxim <purplehorrorrus@gmail.com>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"axios": "^1.1.3", | ||
"axios": "^1.2.0", | ||
"irc-message": "^3.0.2", | ||
@@ -19,6 +19,6 @@ "irc-message-ts": "^3.0.6", | ||
"@types/ws": "^8.5.3", | ||
"@typescript-eslint/eslint-plugin": "^5.43.0", | ||
"@typescript-eslint/parser": "^5.43.0", | ||
"@typescript-eslint/eslint-plugin": "^5.45.0", | ||
"@typescript-eslint/parser": "^5.45.0", | ||
"dotenv": "^16.0.3", | ||
"eslint": "^8.27.0", | ||
"eslint": "^8.28.0", | ||
"jest": "^29.3.1", | ||
@@ -25,0 +25,0 @@ "ts-jest": "^29.0.3", |
import { IRCMessage } from "irc-message-ts"; | ||
import { TEmote } from "./types/chat"; | ||
declare class TMIParser { | ||
@@ -12,3 +13,3 @@ parseChannels(channels: string[]): string[]; | ||
badges: Record<string, number>; | ||
emotes: Record<string, any>[]; | ||
emotes: TEmote[]; | ||
mod: boolean; | ||
@@ -22,3 +23,3 @@ subscriber: boolean; | ||
state(state: string): boolean; | ||
emotes(text: string, emotes: string): Record<string, any>[]; | ||
emotes(text: string, emotes: string): TEmote[]; | ||
badges(badges: string): Record<string, number>; | ||
@@ -25,0 +26,0 @@ date(timestamp: string | number): Date; |
2242
94608
59
Updatedaxios@^1.2.0