Skip to content

Releases: twitchfy/twitchfy

@twitchapi/helix 1.5.0

22 Mar 12:08
0b8b0ad
Compare
Choose a tag to compare

CHANGES

Finished to add the refreshing of user and app tokens.

@twitchapi/eventsub 1.0.0-beta.20

22 Mar 13:03
e35cb7b
Compare
Choose a tag to compare
Merge pull request #65 from PabloRNC/dev

Dev

@twitchapi/eventsub 1.0.0-beta.19

22 Mar 12:11
0b8b0ad
Compare
Choose a tag to compare

CHANGES

Added Storage for subscriptions. If you want your subscriptions to be maintained between process you might add it. Setting maintainSubscriptions will force you to have to give an StorageAdapter by extending the abstract class or using a default adapter: RedisAdapter or MongoAdapter

Added debug and a logger thanks to https://github.com/tiramisulabs/seyfert

And more things!

@twitchapi/api-types 1.1.15

12 Feb 16:09
8a95e9c
Compare
Choose a tag to compare

MINOR CHANGES

Changed the names of some types to fit more with the information in the API.

@twitchapi/api-types 1.1.12

11 Feb 20:12
7efff63
Compare
Choose a tag to compare

MAJOR CHANGES

Change names for SendChatMessage types and added missing interface SendChatMessageResponse.

@twitchapi/api-types 1.1.11

11 Feb 20:00
8a4b46c
Compare
Choose a tag to compare

FEATURES

Add Send Chat Message endpoint types from helix. 9fbcd50

@twitchapi/helix 1.4.1

09 Feb 22:43
025d4d2
Compare
Choose a tag to compare

BUG FIXES 🐛

Fixed a bug which threw an error if no requestOptions where specified. [22fe664]

@twitchapi/helix 1.4.0

09 Feb 19:52
4f75e90
Compare
Choose a tag to compare

MAJOR CHANGES

Now the userToken is passed with a TokenAdapter class instead of a raw string. In the class you can select the type of the token (implicit or code) and set the refreshToken and if the token would be refreshed (Only for code).

NEW FEATURES

Added BaseClient.refreshToken() and BaseClient.generateToken() for refreshing a TokenAdapter and generating a TokenAdapter with code grant flow (also could return raw data)

Now, if the userToken passed to the request is code type and includes a refreshToken and refresh option set into true if the userToken has expired or is revoked the package will refresh it and any error will be thrown.

MINOR CHANGES

[INTERNAL] Change URL params from raw string to URLSearchParams.

Rename RequestManager method functions.

@twitchapi/eventsub 1.0.0-beta.18

09 Feb 22:51
a19fb99
Compare
Choose a tag to compare

MAJOR CHANGES

Now you haven't to specify a auth field when creating Webhook and Websocket connections, you have to specify appToken and userToken respectly. The userToken know has been changed to a TokenAdapter from @twitchapi/helix package for refreshing the token when neccesary.

@twitchapi/api-types 1.1.10

09 Feb 19:38
320b90c
Compare
Choose a tag to compare

NEW FEATURES

Added types for Token Generation. Added response for code flow generation and for refreshToken 46fc49d