robonomics-api-augment
v0.1.0
Published
TypeScript type definitions for Robonomics chain to decorate the <a href="https://www.npmjs.com/package/@polkadot/api" target="_blank">@polkadot/api</a>.
Downloads
3
Readme
Description
TypeScript type definitions for Robonomics chain to decorate the @polkadot/api.
Installation
npm i @robonomics/api-augment --save
:warning:
@polkadot/api
should be installed in your project!
Usage
Add to your codebase entry point before any imports from the API itself.
import '@robonomics/api-augment'
- applies Robonomics types and endpoint augmentation
Docs
TypeScript interfaces
Publish
Generate new types.
npm run generate
Build the package.
npm run build