ghost-keychain/packages/extension-base
Jaco e4ce268b1c
Wrap all raw signed bytes inside <Bytes> (#743)
* Wrap all raw signed bytes inside <RawBytes>

* Use u8aToU8a

* Update packages/extension-base/src/background/RequestBytesSign.ts

* Also wrap Qr signing

* Update packages/extension-base/src/utils/wrapRawBytes.ts

* Update packages/extension-base/src/utils/wrapRawBytes.ts

* empty wrap test

* Additional tests

* Update CHANGELOG

* Expose {wrap, unwrap}Bytes utils in extension-dapp

* Update yarn.lock

* Fix build alias
2021-06-10 21:13:46 +02:00
..
src Wrap all raw signed bytes inside <Bytes> (#743) 2021-06-10 21:13:46 +02:00
LICENSE Pull out extension-base (#271) 2020-03-21 11:07:11 +01:00
package.json Wrap all raw signed bytes inside <Bytes> (#743) 2021-06-10 21:13:46 +02:00
README.md Pull out extension-base (#271) 2020-03-21 11:07:11 +01: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.