ghost-keychain/packages/extension-base
Francis O'Brien d00119dc5a
Fix: Prevent authorization request from incorrect origin due to chrome pre-rendering fixes #1293 (#1308)
* fix: prevent authorization requests from incorrect url when pages are pre-rendered

* lint
2024-03-18 11:29:20 -04:00
..
src Fix: Prevent authorization request from incorrect origin due to chrome pre-rendering fixes #1293 (#1308) 2024-03-18 11:29:20 -04:00
package.json 0.46.8 (#1325) 2024-03-14 04:30:03 +02:00
README.md Add extension prefix (#891) 2021-12-07 15:03:55 +02: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.