@hyperbridge/sdk
Version:
The hyperclient SDK provides utilities for querying proofs and statuses for cross-chain requests from HyperBridge.
102 lines • 3.31 kB
JSON
{
"name": "@hyperbridge/sdk",
"version": "1.1.12",
"description": "The hyperclient SDK provides utilities for querying proofs and statuses for cross-chain requests from HyperBridge.",
"type": "module",
"types": "./dist/node/index.d.ts",
"exports": {
".": {
"browser": "./dist/browser/index.js",
"import": "./dist/node/index.js"
},
"./plugins/vite": {
"import": "./plugins/vite.js",
"types": "./plugins/vite.d.ts"
}
},
"files": [
"dist",
"plugins"
],
"keywords": [
"hyperbridge",
"indexer",
"subquery",
"graphql",
"substrate",
"blockchain",
"interoperability",
"cryptocurrency",
"evm"
],
"homepage": "https://github.com/polytope-labs/hyperbridge-sdk#readme",
"bugs": {
"url": "https://github.com/polytope-labs/hyperbridge-sdk/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/polytope-labs/hyperbridge-sdk.git"
},
"license": "ISC",
"author": "Polytope Labs",
"dependencies": {
"@async-generator/merge-race": "^1.0.3",
"@polkadot/api": "^15.7.1",
"@polkadot/types": "14.0.1",
"@polkadot/util": "13.3.1",
"@polkadot/util-crypto": "13.3.1",
"@types/lodash-es": "^4.17.12",
"consola": "^3.4.2",
"graphql": "^16.10.0",
"graphql-request": "^7.1.2",
"lodash-es": "^4.17.15",
"rpc-websocket-client": "^1.1.4",
"scale-ts": "^1.6.1",
"std-env": "^3.9.0",
"ts-pattern": "^5.6.2",
"viem": "^2.23.5"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@polkadot/keyring": "13.4.3",
"@polytope-labs/hyperclient": "1.2.0",
"@types/node": "^22.13.5",
"@vitest/coverage-v8": "^3.1.4",
"dotenv": "^16.4.7",
"jsdom": "^26.0.0",
"log-timestamp": "^0.3.0",
"tsup": "^8.4.0",
"typescript": "^5.7.3",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.1.4",
"@hyperbridge/filler": "0.1.0"
},
"peerDependencies": {
"vite": "^5.0.0 || ^6.0.0"
},
"publishConfig": {
"access": "public"
},
"engineStrict": true,
"engines": {
"node": ">=22.x.x"
},
"scripts": {
"build": "pnpm run build:browser && pnpm run build:node",
"build:node": "tsup --config tsup-node.config.ts",
"build:browser": "tsup --config tsup-browser.config.ts",
"postinstall": "pnpm run build",
"test": "npm run test:concurrent && npm run test:sequence",
"test:file": "vitest --watch=false --maxConcurrency=1",
"test:concurrent": "vitest --watch=false --exclude=./src/tests/sequential",
"test:sequence": "vitest --watch=false --sequence.concurrent=false ./src/tests/sequential/**",
"test:requests": "vitest --watch=false --sequence.concurrent=false ./src/tests/sequential/requests.test.ts",
"test:intent-gateway": "vitest --watch=false --sequence.concurrent=false ./src/tests/sequential/intentGateway.test.ts",
"test:token-gateway": "vitest --watch=false --sequence.concurrent=false ./src/tests/sequential/tokenGateway.test.ts",
"test:evm-substrate": "vitest --watch=false --sequence.concurrent=false ./src/tests/sequential/evm-substrate.test.ts",
"test:watch": "vitest --exclude=./src/tests/sequential",
"lint": "biome lint .",
"lint:fix": "biome lint --write .",
"format": "prettier --write \"src/**/*.ts\""
}
}