{ "name": "@trezor/transport-common", "version": "10.0.1", "description": "Environment-agnostic transport abstractions: types, errors, abstract base classes, structural USB interface, sessions backend, THP, utils.", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/trezor/trezor-suite.git" }, "bugs": { "url": "https://github.com/trezor/trezor-suite/issues" }, "keywords": [ "Trezor", "transport" ], "main": "./src/index.ts", "sideEffects": false, "type": "module", "browser": { "./src/pinger/ping": "./src/pinger/ping.browser.ts" }, "publishConfig": { "main": "./lib/index.js", "types": "./lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", "default": "./lib/index.js" }, "./lib/*": "./lib/*", "./lib/thp": { "types": "./lib/thp/index.d.ts", "default": "./lib/thp/index.js" }, "./lib/types": { "types": "./lib/types/index.d.ts", "default": "./lib/types/index.js" } }, "browser": { "./lib/pinger/ping": "./lib/pinger/ping.browser.js" } }, "files": [ "lib/", "CHANGELOG.md" ], "scripts": { "depcheck": "yarn g:depcheck", "type-check": "yarn g:tsc --build tsconfig.json", "build:lib": "yarn g:rimraf ./lib && yarn g:tsc --build tsconfig.lib.json && ../../scripts/publish/replace-imports.sh ./lib", "test:unit": "jest", "test:fuzz": "jest -c jest.config.fuzz.cjs", "lint:js": "yarn g:eslint '**/*.{ts,tsx,js}'" }, "devDependencies": { "@trezor/eslint": "workspace:*", "@types/node": "22.13.10", "fast-check": "4.9.0", "jest": "29.7.0" }, "dependencies": { "@trezor/logger": "workspace:*", "@trezor/protobuf": "workspace:*", "@trezor/protocol": "workspace:*", "@trezor/type-utils": "workspace:*", "@trezor/utils": "workspace:*", "cross-fetch": "^4.1.0" }, "peerDependencies": { "tslib": "^2.6.2" }, "author": "Trezor " }