@moonbeam-network/api-augment v0.3700.0
Description
TypeScript type definitions that can be used to decorate the @polkadot/api.
Installation
npm i @moonbeam-network/api-augment:warning:
@polkadot/apishould be installed in your project!
Usage
Add to your codebase entry point before any imports from the API itself.
import '@moonbeam-network/api-augment'- applies Moonbeam types and endpoint augmentationimport '@moonbeam-network/api-augment/moonriver'- applies Moonriver types and endpoint augmentationimport '@moonbeam-network/api-augment/moonbase'- applies Moonbase Alpha types and endpoint augmentation
Docs
- @polkadot/api - TS type generation
- @polkadot/api - Since upgrading to the 7.x series, TypeScript augmentation is missing
- @polkadot/api - TypeScript interfaces
Publish
Update package version.
npm version --no-git-tag-version 0.1500.0Generate new types.
npm run generateThe version change and new generated types should be merged to master.
Build the package.
npm run buildThis will build the package and copy necessary files to the build folder.
npm run publishThis will publish content of the build folder.
9 months ago
10 months ago
10 months ago
10 months ago
11 months ago
12 months ago
6 months ago
1 year ago
1 year ago
1 year ago
7 months ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago