JSPM

horizen-augment-api

0.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q16514F
  • License GPL-3.0-only

Horizen types augment for @polkadot/api

Package Exports

  • horizen-augment-api
  • horizen-augment-api/horizen

Readme

horizen-augment-api

Description

TypeScript type definitions that can be used to decorate the @polkadot/api for Horizen Parachain.

Docs

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.4

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.