horizen-api-augment
v0.0.3
Published
Horizen types augment for @polkadot/api
Downloads
78
Readme
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:meta
Update package version. Update version of this readme file for next iteration.
pnpm version --no-git-tag-version 0.0.5
Generate new types.
pnpm run generate
The version change and new generated types should be merged to git.
Build the package.
pnpm run build
This will build the package and copy necessary files to the dist folder.
pnpm run publish
This will publish content of the dist folder.