ghost-keychain/packages/extension-base
Jaco 45a6e18fc2
Only apply knownGenesis once for metadata (#949)
* Only apply knownGenesis once for metadata

* Adjust

* Clear old known metadata entries

* Add missing dep
2021-12-28 16:18:57 +02:00
..
src Only apply knownGenesis once for metadata (#949) 2021-12-28 16:18:57 +02:00
LICENSE Pull out extension-base (#271) 2020-03-21 11:07:11 +01:00
package.json Only apply knownGenesis once for metadata (#949) 2021-12-28 16:18:57 +02:00
README.md Add extension prefix (#891) 2021-12-07 15:03:55 +02:00
tsconfig.json Add tsconfig references (#929) 2021-12-14 08:44:38 +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.