Socket
Socket
Sign inDemoInstall

@twitchfy/api-types

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twitchfy/api-types - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

README.md

39

dist/interfaces/EventSub.d.ts

@@ -9,6 +9,7 @@ import type { Pagination } from './Pagination';

export interface PostEventSubSubscriptionTransport {
method: 'webhook' | 'websocket';
method: 'webhook' | 'websocket' | 'conduit';
callback?: string;
secret?: string;
session_id?: string;
conduit_id?: string;
}

@@ -40,1 +41,37 @@ export interface PostEventSubSubscription {

}
export interface PostCreateConduitResponse {
data: ConduitData[];
}
export interface ConduitData {
id: string;
shard_count: number;
}
export interface PatchUpdateConduitShardsResponse {
data: ConduitShardData[];
errors: PathUpdateConduitShardsError[];
}
export interface PathUpdateConduitShardsError {
id: string;
message: string;
}
export interface ConduitShardData {
id: string;
status: string;
transport: {
method: 'websocket' | 'webhook';
callback?: string;
session_id?: string;
connected_at?: string;
disconnected_at?: string;
};
}
export interface GetConduitsResponse {
data: ConduitData[];
}
export interface PatchUpdateConduitResponse {
data: ConduitData[];
}
export interface GetConduitShardsResponse {
data: ConduitShardData[];
pagination: Pagination;
}
{
"name": "@twitchfy/api-types",
"version": "1.0.0",
"version": "1.0.1",
"description": "A node module containing the Twitch Api types",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"readme": "README.md",
"scripts": {
"docs": "typedoc --plugin typedoc-plugin-markdown",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/twitchfy/twitchfy.git"
},
"author": "PabloRNC",
"license": "ISC"
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/twitchfy/twitchfy/issues"
},
"homepage": "https://github.com/twitchfy/twitchfy#readme",
"keywords": [
"twitch",
"api-types"
]
}
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