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

twitch-getter

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twitch-getter - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

15

lib/new_twitch_api/new_twitch_api.d.ts
import { NewStreamPayload, NewGamesPayload } from "./new_twitch_types";
export declare type StreamerConfig = {
[key: string]: any;
after?: string;
before?: string;
first?: string;
user_id?: string;
user_login?: string;
language?: string;
game_id?: string;
};
export declare type GameConfig = {
id?: string;
name?: string;
};
import { StreamerConfig, GameConfig } from "./new_twitch_types";
export default class NewTwitchApi {

@@ -17,0 +4,0 @@ private helpers;

18

lib/new_twitch_api/new_twitch_types.d.ts

@@ -20,6 +20,6 @@ export interface NewStreamPayload {

}
interface Pagination {
export interface Pagination {
cursor: string;
}
interface SubTopGames {
export interface SubTopGames {
id: string;

@@ -29,2 +29,16 @@ name: string;

}
export interface StreamerConfig {
[key: string]: any;
after?: string;
before?: string;
first?: string;
user_id?: string;
user_login?: string;
language?: string;
game_id?: string;
}
export interface GameConfig {
id?: string;
name?: string;
}
export {};

@@ -66,3 +66,3 @@ export interface StreamData {

}
export declare type V5StreamsConfig = {
export interface V5StreamsConfig {
[key: string]: any;

@@ -75,7 +75,7 @@ channel?: string;

offset?: number;
};
export declare type V5TopGames = {
}
export interface V5TopGames {
limit?: number;
offset?: number;
};
}
export {};
{
"name": "twitch-getter",
"version": "1.1.6",
"version": "1.1.7",
"description": "Get data from twitch's own API",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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