@xchainjs/xchain-thornode

v0.3.9
Thornode module that exposes all thornode functions using openapi-generator-cli
XChain Thornode

lint

eslint "{src,__tests__}/**/*.ts" --fix --max-warnings 0

test

jest --passWithNoTests

build

yarn clean && rollup -c

clean

rimraf lib/**

generate:types

yarn clean:types:thornode && yarn generate:types:thornode

prepublishOnly

yarn build

clean:types:thornode

rimraf ./src/generated/thornodeApi

generate:types:thornode

TS_POST_PROCESS_FILE=./node_modules/.bin/prettier openapi-generator-cli generate -i https://gitlab.com/thorchain/thornode/-/raw/release-1.124.0/openapi/openapi.yaml -g typescript-axios -o ./src/generated/thornodeApi --skip-validate-spec --generate-alias-as-model
npm i @xchainjs/[email protected]

Metadata

  • MIT
  • Whatever
  • THORChain
  • released 11/17/2023

Downloads