ghost-keychain/packages/extension-base
Francis O'Brien 07605cacc1
Fix: ensure the service worker is awake before every port message (#1433)
* fix: ensure there is an open port connection before sending a port message

* chore: remove unnecessary console.log

* fix: prevent Error: Invalid url messages when setting a non http active tab

* fix test
2024-08-06 11:51:57 -04:00
..
src Fix: ensure the service worker is awake before every port message (#1433) 2024-08-06 11:51:57 -04:00
package.json [CI Skip] bump/beta 0.50.2-4-x 2024-08-04 19:46:03 +00:00
README.md fix: Make extension using Manifest V3 compatible with Firefox (#1388) 2024-07-11 19:33:16 -03:00
tsconfig.build.json Adjust tsconfig usage (w/ latest dev) (#1258) 2023-05-18 12:54:23 +03:00
tsconfig.spec.json Adjust tsconfig usage (w/ latest dev) (#1258) 2023-05-18 12:54:23 +03:00

@polkadot/extension-base

Functions, classes and other utilities used in @polkadot/extension. These include:

  • background script handlers,
  • message passing,
  • scripts injected inside pages.

They are primarily meant to be used in @polkadot/extension, and can be broken without any notice to cater for @polkadot/extension's needs.

They are exported here if you wish to use part of them in the development of your own extension. Don't forget to add process.env.EXTENSION_PREFIX to separate ports and stores from the current extension's ones.