[RFE] Add Version to `subscribe`
mitchwadair opened this issue · comments
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
This can be made non-breaking by having a default value of "1"