New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@heima-network/api-augment

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heima-network/api-augment

Heima types augment for @polkadot/api

latest
npmnpm
Version
0.0.3
Version published
Weekly downloads
12
-33.33%
Maintainers
3
Weekly downloads
 
Created
Source

Description

Heima types augment for @polkadot/api

Environment setup

  • Install nvm

  • Inside the repository, run

    nvm use
    

    to set the correct Node version.

    • If the version is not installed, run nvm install.

Installation

cd tee-worker/client-api
nvm use
corepack enable pnpm
pnpm install

Type Generated

Update metadata: pnpm load:metadata or pnpm load:metadata:identity for specific directory

Generate types:pnpm generate

Usage

pnpm run load:metadata
pnpm run generate
pnpm run build
  • import '@heima-network/api-augment/identity' - applies Identity types and endpoint augmentation
  • import '@heima-network/api-augment/omni' - applies Omni types and endpoint augmentation
  • import '@heima-network/api-augment/sidechain' - applies Sidechain types and endpoint augmentation

Publish

pnpm run generate
pnpm run build-publish

FAQs

Package last updated on 08 Jul 2025

Related posts