@pythnetwork/hermes-client

v1.1.0
Pyth Hermes Client
pyth oracle

test

jest --testPathIgnorePatterns=.*.e2e.test.ts --passWithNoTests

test:e2e

jest --testPathPattern=.*.e2e.test.ts

build

tsc

generate-hermes-api-types

openapi-zod-client https://hermes.pyth.network/docs/openapi.json --output src/zodSchemas.ts && prettier --write src/zodSchemas.ts

check-hermes-api-types

git diff --exit-code src/zodSchemas.ts

example

pnpm run build && node lib/examples/HermesClient.js

format

prettier --write "src/**/*.ts"

lint

eslint src/

prepublishOnly

pnpm run build && pnpm test && pnpm run lint

preversion

pnpm run lint

version

pnpm run format && git add -A src
npm i @pythnetwork/hermes-client

Metadata

  • Apache-2.0
  • Whatever
  • Pyth Data Association
  • released 9/13/2024

Downloads