mitchwadair / tesjs

Streamline your Twitch EventSub JavaScript integration with TESjs
https://www.tesjs.net/
MIT License
29 stars 6 forks source link

[RFE] Add Version to `subscribe` #69

Closed mitchwadair closed 1 year ago

mitchwadair commented 1 year ago

Is your feature request related to a problem? Please describe. Now that some events are being deprecated and receiving new versions, TESjs needs to allow for specification of the subscription version when subscribing to an event.

Describe the solution you'd like Add a third argument to subscribe for the subscription version

Additional context https://dev.twitch.tv/docs/eventsub/eventsub-subscription-types/#channelfollow

mitchwadair commented 1 year ago

This can be made non-breaking by having a default value of "1"