@polkadot/extension-base
TypeScript icon, indicating that this package has built-in type declarations

0.56.2 • Public • Published

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

/@polkadot/extension-base/

    Package Sidebar

    Install

    npm i @polkadot/extension-base

    Weekly Downloads

    963

    Version

    0.56.2

    License

    Apache-2.0

    Unpacked Size

    218 kB

    Total Files

    128

    Last publish

    Collaborators

    • polkadotjs
    • jacogr