JSPM

horizen-api-augment

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

    Horizen types augment for @polkadot/api

    Package Exports

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

    Readme

    Description

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

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