robonomics-api-augment
v0.3.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>.
Readme
Description
TypeScript type definitions for Robonomics chain to decorate the @polkadot/api.
Installation
npm i robonomics-api-augment --save:warning:
@polkadot/apishould 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 generateBuild the package.
npm run build