0.0.3 • Published 1 year ago
horizen-api-augment v0.0.3
Description
TypeScript type definitions that can be used to decorate the @polkadot/api.
Docs
- @polkadot/api - TS type generation
- @polkadot/api - Since upgrading to the 7.x series, TypeScript augmentation is missing
- @polkadot/api - TypeScript interfaces
Publish new version
Prepare new metadata
Update metadata-horizen.json with a fresh metadata from the chain. Can be done manually by putting in the result of state_getMetadata RPC call. Or if the local chain is running on 9944, next command will do it for you.
pnpm run load:metaUpdate package version. Update version of this readme file for next iteration.
pnpm version --no-git-tag-version 0.0.5Generate new types.
pnpm run generateThe version change and new generated types should be merged to git.
Build the package.
pnpm run buildThis will build the package and copy necessary files to the dist folder.
pnpm run publishThis will publish content of the dist folder.