You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @code4you2021, I'd like to have similar helper libs implemented as well or at least document use-cases and reference existing alternatives such as the ones you provided. For now, these modules seem to be the most requested:
Handling message passing across contexts (like you mentioned)
Handling storages (like you mentioned)
Auth middleware for existing auth tools (next-auth, auth0, etc)
I don't have immediate plans for this but feel free to propose something or provide some guidance of how you would like to see this implemented/API suggestions. I'm currently working on browser support, so having built-in support for them is unlikely in the near future. Would accept pull-requests for someone who might want to implement something. Packages live in /packages and there is a CONTRIBUTE guide that might help the adventurous :)
In development, we often deal with storage and message passing. Can extension.js provide some methods to make the development process more efficient?
Message passing | Chrome Extensions | Chrome for Developers
https://developer.chrome.com/docs/extensions/develop/concepts/messaging
Reference:
vocably/hermes: Typesafe browser extension messaging created with Typescript
https://github.com/vocably/hermes
chrome.storage | API | Chrome for Developers
https://developer.chrome.com/docs/extensions/reference/api/storage
Reference:
https://webext-core.aklinker1.io/guide/storage/typescript.html
The text was updated successfully, but these errors were encountered: