anime-skip / player

Monorepo for the Anime Skip Player (web extension & embedded video player)
GNU General Public License v3.0
13 stars 3 forks source link

chore: change messaging libraries #262

Closed aklinker1 closed 2 years ago

aklinker1 commented 2 years ago

I tried out webext-bridge, but it didn't work as a drop in replacement. Instead, I wrote one loosely based on it, taking ideas from how it's typed, and made my own: @anime-skip/web-ext-bridge.

IMO it's got better typescript support and while it doesn't do all the caching and queuing webext-bridge does, it's a much better interface than the Messenger class I was using before. It is also very equivalent to what the Messenger class was doing, making it an easy drop in replacement. Might turn it into an NPM library, might now :shrug:

Todo