UNPKG

@trezor/blockchain-link

Version:

High-level javascript interface for blockchain communication

96 lines 3.32 kB
{ "name": "@trezor/blockchain-link", "version": "2.5.2", "author": "Trezor <info@trezor.io>", "homepage": "https://github.com/trezor/trezor-suite/tree/develop/packages/blockchain-link", "description": "High-level javascript interface for blockchain communication", "npmPublishAccess": "public", "license": "SEE LICENSE IN LICENSE.md", "repository": { "type": "git", "url": "git://github.com/trezor/trezor-suite.git" }, "bugs": { "url": "https://github.com/trezor/trezor-suite/issues" }, "keywords": [ "Trezor", "blockchain", "blockbook", "javascript" ], "files": [ "lib/", "!lib/ui", "!**/*.map" ], "main": "./lib/index.js", "browser": { "socks-proxy-agent": "./lib/utils/socks-proxy-agent.js" }, "react-native": { "__comment__": "Hotfix for issue where RN metro bundler resolve relatives paths wrong", "socks-proxy-agent": "@trezor/blockchain-link/src/utils/socks-proxy-agent.ts" }, "publishConfig": { "main": "./lib/index.js", "types": "lib/index.d.ts", "typings": "lib/index.d.ts", "browser": { "socks-proxy-agent": "./lib/utils/socks-proxy-agent.js" }, "react-native": { "__comment__": "Hotfix for issue where RN metro bundler resolve relatives paths wrong", "socks-proxy-agent": "@trezor/blockchain-link/lib/utils/socks-proxy-agent.js" } }, "scripts": { "dev": "webpack serve --config ./webpack/dev.js", "dev:electrum": "yarn g:tsx watch ./src/workers/electrum/devrun.ts", "dev:module": "USE_MODULES=true webpack serve --config ./webpack/dev.js", "build:lib": "yarn g:rimraf lib && yarn g:tsc --build tsconfig.lib.json && ../../scripts/replace-imports.sh ./lib", "build:workers": "yarn g:rimraf build && yarn build:workers-web && yarn build:workers-module", "build:workers-web": "webpack --config ./webpack/workers.web.js", "build:workers-module": "webpack --config ./webpack/workers.module.js", "test:unit": "yarn g:jest --verbose -c jest.config.unit.js", "test:integration": "yarn g:jest -c jest.config.integration.js", "type-check": "yarn g:tsc --build tsconfig.json", "prepublishOnly": "yarn tsx ../../scripts/prepublishNPM.js", "prepublish": "yarn tsx ../../scripts/prepublish.js" }, "devDependencies": { "@trezor/e2e-utils": "1.0.0", "@trezor/eslint": "1.0.0", "@trezor/type-utils": "1.1.8", "html-webpack-plugin": "^5.6.3", "tiny-worker": "^2.3.0", "tsx": "^4.20.3", "webpack": "5.99.9", "webpack-cli": "^6.0.1", "webpack-dev-server": "^5.2.2", "worker-loader": "^3.0.8" }, "dependencies": { "@solana-program/stake": "^0.2.1", "@solana-program/token": "^0.5.1", "@solana-program/token-2022": "^0.4.2", "@solana/kit": "^2.1.1", "@solana/rpc-types": "^2.1.1", "@stellar/stellar-sdk": "^13.3.0", "@trezor/blockchain-link-types": "1.4.2", "@trezor/blockchain-link-utils": "1.4.2", "@trezor/env-utils": "1.4.2", "@trezor/utils": "9.4.2", "@trezor/utxo-lib": "2.4.2", "@trezor/websocket-client": "1.2.2", "@types/web": "^0.0.197", "events": "^3.3.0", "socks-proxy-agent": "8.0.5", "xrpl": "^4.3.0" }, "peerDependencies": { "tslib": "^2.6.2" }, "typings": "lib/index.d.ts", "types": "lib/index.d.ts" }