Skip to content

Tags: mkody/twitch-emoticons

Tags

2.8.10

Toggle 2.8.10's commit message

Verified

This tag was signed with the committer’s verified signature.
mkody Kody
2.8.10: Dependencies update

⚠️ Minimal Node version was set to 18.
This is a maintenance release, no changes to the library.

Please check out the
[2.8.0 release notes](https://github.com/mkody/twitch-emoticons/releases/tag/2.8.0)
for the what's new in 2.8.x and the
[2.8.3 release notes](https://github.com/mkody/twitch-emoticons/releases/tag/2.8.3)
about the experimental ESM bundle.

2.8.9

Toggle 2.8.9's commit message

Verified

This tag was signed with the committer’s verified signature.
mkody Kody
2.8.9: Dependencies update

This is just a maintenance release, no changes to the library.

Please check out the
[2.8.0 release notes](https://github.com/mkody/twitch-emoticons/releases/tag/2.8.0)
for the what's new in 2.8.x and the
[2.8.3 release notes](https://github.com/mkody/twitch-emoticons/releases/tag/2.8.3)
about the experimental ESM bundle.

2.8.8

Toggle 2.8.8's commit message
2.8.8: Dependencies update

This is just a maintenance release, no changes to the library.

Please check out the
[2.8.0 release notes](https://github.com/mkody/twitch-emoticons/releases/tag/2.8.0)
for the what's new in 2.8.x and the
[2.8.3 release notes](https://github.com/mkody/twitch-emoticons/releases/tag/2.8.3)
about the experimental ESM bundle.

2.8.7

Toggle 2.8.7's commit message

Verified

This tag was signed with the committer’s verified signature.
mkody Kody
2.8.7: Dependencies update

This release contains a security update for `follow-redirects`.
See: CVE-2024-28849 ; GHSA-cxjh-pqwp-8mfp

All other deps have been updated too, including Twurple to 7.1.0.
GitHub Actions workflows have been updated too.

2.8.6

Toggle 2.8.6's commit message

Verified

This tag was signed with the committer’s verified signature.
mkody Kody
2.8.6: Dependencies update

This is just a maintenance release, no changes to the library.

Please check out the
[2.8.0 release notes](https://github.com/mkody/twitch-emoticons/releases/tag/2.8.0)
for the what's new in 2.8.x and the
[2.8.3 release notes](https://github.com/mkody/twitch-emoticons/releases/tag/2.8.3)
about the experimental ESM bundle.

2.8.5

Toggle 2.8.5's commit message
2.8.5: Dependencies update

This is just a maintenance release, no changes to the library.
Happy new year!

Please check out the
[2.8.0 release notes](https://github.com/mkody/twitch-emoticons/releases/tag/2.8.0)
for the what's new in 2.8.x and the
[2.8.3 release notes](https://github.com/mkody/twitch-emoticons/releases/tag/2.8.3)
about the experimental ESM bundle.

2.8.4

Toggle 2.8.4's commit message
2.8.4: Dependencies update

One of our dependencies - Axios - got a security update.
We're releasing 2.8.4 to clear those big red warnings.

Please check out the
[2.8.0 release notes](https://github.com/mkody/twitch-emoticons/releases/tag/2.8.0)
for the what's new in 2.8.x and the
[2.8.3 release notes](https://github.com/mkody/twitch-emoticons/releases/tag/2.8.3)
about the experimental ESM bundle.

2.8.3

Toggle 2.8.3's commit message
2.8.3: Update dependencies and experimental bundle

This release is pretty much only updates to our dependencies.

The project is also now being tested using the Jest framework!
Better than the custom solution from upstream.

**[EXPERIMENTAL]** There's also a bundled ESM version available.
Check out this quick POC and its source code:
https://s.kdy.ch/twitch-emoticons/

(This is a republishing of 2.8.2 but with a proper .npmignore)

2.8.1

Toggle 2.8.1's commit message
2.8.1: Update typings

The new `options` parameter in EmoteFetcher wasn't referenced.

This release also includes a now working "contributors" field in
package.json, and the `json` parameter in EmoteFetcher.fromObject() has
been renamed to `emotesArray`.

Please look at the 2.8.0 release notes for what's new in 2.8.x.

2.8.0

Toggle 2.8.0's commit message
2.8.0: toObject, fromObject, use your ApiClient

This release, in addition to upgrading our Twurple to 7.x, brings three new features:

- `Emote.toObject()` (#31 - @Tzahi12345): You can export the data of an emote for caching or offline use.
  ```js
  const emote = emoteFetcher.emotes.get('Kappa').toObject();
  /*
  {
      id: '25',
      type: 'twitch',
      code: 'Kappa',
      animated: false,
      channel_id: null,
      set: undefined
  }
  */
  ```
- `Fetcher.fromObject()` (#31 - @Tzahi12345): You can import an array of emotes directly into the fetcher.
  ```js
  emoteFetcher.fromObject([emote]);
  ```
- The `EmoteFetcher` now accepts an object as a third parameter for options. (#33)
  The only option for now is `apiClient` and it allows you to use your own `@twurple/api`'s `ApiClient` object, in case you already have one or want to manage authentification without app tokens.
  Note that the first two parameters of `EmoteFetcher` will be unused in this case and can be left as `null`.
  ```js
  const { ApiClient } = require('@twurple/api');
  const { StaticAuthProvider } = require('@twurple/auth');

  const authProvider = new StaticAuthProvider('<your client id>', '<your token>');
  const apiClient = new ApiClient({ authProvider });

  const fetcher = new EmoteFetcher(null, null, { apiClient });
  ```