Twurple Twurple Versions Save

Interact with Twitch's API, chat and subscribe to events via PubSub and EventSub.

v7.1.0

1 month ago

This is mainly a catch-up release for new additions by Twitch, together with a few EventSub fixes and some general updates to the libraries build infrastructure. Also, the Twitch CLI mock server is now supported for EventSub WS.

Features

  • [api, eventsub-ws] add mock server support (a0611ef)
  • [api] add Send Chat Message endpoint (3a503b1c, #541, #540)
  • [eventsub] add new chat related events (eac6d911, #535, #536)
  • [eventsub] support chat message & notification events (5cf14b58)
  • [api, eventsub] add ad break endpoints/events (7736fd14, #532, #533)
  • [easy-bot] add aliases option to createBotCommand (34666afe)
  • [eventsub] add status to onRevoke event (89c17dfb, #550)
  • [auth] pass caught error to onRefreshFailure (dd572c91, #527)
  • [api] add Get Moderated Channels (9b94eee0, #551, #556)
  • [eventsub-ws] add checks for duplicate and old payloads (28773dc7)

Fixes

  • [eventsub] remove some nulls from return types, fix copypasta method names from notification event types (e83ea875)
  • [eventsub] add missing fields to chat message parts (92edad1f)
  • [eventsub] fix chat topics not using context user (6517efd5, #545, #546)
  • [eventsub-ws] do not handle connect/disconnect when reconnecting (d22b5f5d)
  • [eventsub-ws] clear reconnect URL after welcome packet (c3089d20)
  • [all] update TS build infra (fixes an eventsub-ws TypeScript issue) (677c3399, #554)
  • [api] update scope for user extensions endpoints (21da5e47, #561)
  • [api] add missing HelixEventSubSubscriptionStatus values (d1c36d22, #563)

Improvements

  • [api] use page limit of 1000 for chatters endpoint (ade3c6e)
  • [api, chat] reduce bundle size by about 25% by removing outdated polyfill (a9f39e19)

v7.1.0-pre.8

1 month ago

Features

  • [api] add Get Moderated Channels (9b94eee0, #551, #556)
  • [eventsub-ws] add checks for duplicate and old payloads (28773dc7)

Fixes

  • [all] update TS build infra (fixes an eventsub-ws TypeScript issue) (677c3399, #554)
  • [api] update scope for user extensions endpoints (21da5e47, #561)
  • [api] add missing HelixEventSubSubscriptionStatus values (d1c36d22, #563)

v7.1.0-pre.7

1 month ago

Fixes

  • [eventsub-ws] clear reconnect URL after welcome packet (c3089d20)

v7.1.0-pre.6

1 month ago

Fixes

  • [eventsub-ws] do not handle connect/disconnect when reconnecting (d22b5f5d)

v7.1.0-pre.5

1 month ago

Features

  • [eventsub] add status to onRevoke event (89c17dfb, #550)
  • [auth] pass caught error to onRefreshFailure (dd572c91, #527)

Fixes

  • [eventsub] remove some nulls from return types, fix copypasta method names from notification event types (e83ea875)
  • [eventsub] add missing fields to chat message parts (92edad1f)
  • [eventsub] fix chat topics not using context user (6517efd5, #545, #546)

v7.0.10

2 months ago

Fixes

  • [api] fix check automod status not transforming its input properly (ce9729c7, #549)

v7.0.9

2 months ago

Fixes

  • [api] fix EventSub subscriptions not using user context (b05c168e, #543, #544)

v7.1.0-pre.4

2 months ago

Fixes

  • [eventsub] add onChannelChatMessage method to EventSubListener and EventSubBase (75c76c95)

v7.1.0-pre.3

2 months ago

Features

  • [eventsub] support chat message & notification events (5cf14b58)

v7.1.0-pre.2

2 months ago

Features

  • [api] add Send Chat Message endpoint (3a503b1c, #541, #540)
  • [eventsub] add new chat related events (eac6d911, #535, #536)
  • [api, eventsub] add ad break endpoints/events (7736fd14, #532, #533)
  • [easy-bot] add aliases option to createBotCommand (34666afe)