npm.io
0.63.1 • Published 5 months ago

@polkadot/extension-base

Licence
Apache-2.0
Version
0.63.1
Deps
0
Vulns
0
Weekly
0
Stars
1.0K

@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.