UNPKG

@pythnetwork/hermes-client

Version:
59 lines (58 loc) 1.67 kB
{ "name": "@pythnetwork/hermes-client", "version": "2.0.0", "description": "Pyth Hermes Client", "author": { "name": "Pyth Data Association" }, "homepage": "https://pyth.network", "main": "lib/HermesClient.js", "types": "lib/HermesClient.d.ts", "files": [ "lib/**/*" ], "repository": { "type": "git", "url": "https://github.com/pyth-network/pyth-crosschain", "directory": "apps/hermes/client/js" }, "publishConfig": { "access": "public" }, "scripts": { "build:typescript": "tsc", "build:schemas": "openapi-zod-client ./schema.json --output src/zodSchemas.ts", "pull:schema": "curl -o schema.json -z schema.json https://hermes.pyth.network/docs/openapi.json", "example": "node lib/examples/HermesClient.js", "format": "prettier --write \"src/**/*.ts\"", "test:lint": "eslint src/", "prepublishOnly": "pnpm run build:typescript && pnpm run test:lint", "preversion": "pnpm run test:lint", "version": "pnpm run format && git add -A src" }, "keywords": [ "pyth", "oracle" ], "license": "Apache-2.0", "devDependencies": { "@types/jest": "^29.4.0", "@types/node": "^20.14.2", "@types/yargs": "^17.0.10", "@typescript-eslint/eslint-plugin": "^5.21.0", "@typescript-eslint/parser": "^5.21.0", "eslint": "^8.14.0", "jest": "^29.4.0", "openapi-zod-client": "^1.18.1", "prettier": "^2.6.2", "ts-jest": "^29.0.5", "typescript": "catalog:", "yargs": "^17.4.1" }, "dependencies": { "@zodios/core": "^10.9.6", "eventsource": "^3.0.5", "zod": "^3.23.8" }, "gitHead": "a691e18cf32192d4d1a3bb393d1ead08b4012989" }