UNPKG

@pythnetwork/pyth-sui-js

Version:
99 lines 2.68 kB
{ "name": "@pythnetwork/pyth-sui-js", "version": "2.4.0", "description": "Pyth Network Sui Utilities", "homepage": "https://pyth.network", "author": { "name": "Pyth Data Association" }, "main": "./dist/cjs/index.cjs", "types": "./dist/cjs/index.d.ts", "type": "module", "files": [ "dist/**/*" ], "repository": { "type": "git", "url": "https://github.com/pyth-network/pyth-crosschain", "directory": "target_chains/sui/sdk/js" }, "publishConfig": { "access": "public" }, "keywords": [ "pyth", "oracle", "sui" ], "license": "Apache-2.0", "devDependencies": { "@cprussin/eslint-config": "^4.0.2", "@pythnetwork/jest-config": "", "@truffle/hdwallet-provider": "^2.1.5", "@types/ethereum-protocol": "^1.0.2", "@types/jest": "^29.4.0", "@types/node": "^18.11.18", "@types/web3-provider-engine": "^14.0.1", "@types/yargs": "^17.0.20", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^9.23.0", "jest": "^29.4.1", "prettier": "^3.5.3", "web3": "^1.8.2", "yargs": "^17.0.20" }, "dependencies": { "@mysten/sui": "^1.3.0", "buffer": "^6.0.3", "@pythnetwork/hermes-client": "2.1.0" }, "engines": { "node": ">=22.14.0" }, "exports": { "./SuiPriceServiceConnection": { "require": { "types": "./dist/cjs/SuiPriceServiceConnection.d.ts", "default": "./dist/cjs/SuiPriceServiceConnection.cjs" }, "import": { "types": "./dist/esm/SuiPriceServiceConnection.d.ts", "default": "./dist/esm/SuiPriceServiceConnection.mjs" } }, "./client": { "require": { "types": "./dist/cjs/client.d.ts", "default": "./dist/cjs/client.cjs" }, "import": { "types": "./dist/esm/client.d.ts", "default": "./dist/esm/client.mjs" } }, ".": { "require": { "types": "./dist/cjs/index.d.ts", "default": "./dist/cjs/index.cjs" }, "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.mjs" } }, "./package.json": "./package.json" }, "module": "./dist/esm/index.mjs", "scripts": { "build": "ts-duality", "example-relay": "node lib/examples/SuiRelay.js", "test:lint": "eslint src/ --max-warnings 0", "test:format": "prettier --check \"src/**/*.ts\"", "fix:lint": "eslint src/ --fix --max-warnings 0", "fix:format": "prettier --write \"src/**/*.ts\"", "preversion": "pnpm run test:lint", "version": "pnpm run format && git add -A src", "clean": "rm -rf ./dist" } }