ghost-keychain/packages/extension-base
Jaco f9a15514a2
Adjust extension ports (#1134)
* Adjust extension ports

* Also use ENV, if supplied

* Add env as part of tests

* Explicit override for polkadot{.js} storage

* test prefix

* Ensure backwards compat for non-configured

* Re-add throw Error

* PORT_PREFIX test
2022-08-31 17:31:07 +03:00
..
src Adjust extension ports (#1134) 2022-08-31 17:31:07 +03:00
LICENSE Pull out extension-base (#271) 2020-03-21 11:07:11 +01:00
package.json [CI Skip] bump/beta 0.44.7-2-x 2022-08-26 15:00:16 +00:00
README.md Add extension prefix (#891) 2021-12-07 15:03:55 +02:00
tsconfig.build.json Manual format of tsconfig.build.json (#975) 2022-01-14 12:17:43 +02: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.