{ "name": "@suaveplan/drive-transport-webrtc", "version": "0.1.0", "type": "module", "sideEffects": false, "description": "WebRTC datachannel transport for the drive mesh. Implements DriveTransport over @suaveplan/drive-webrtc's WebRTCClient + DataChannelManager with a length-prefixed binary framing protocol.", "license": "MIT", "author": "Suaveplan Team", "browser": "./dist/index.js", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./types": { "import": { "types": "./dist/types/index.d.ts", "default": "./dist/types/index.js" } }, "./schemas": { "import": { "types": "./dist/schemas/index.d.ts", "default": "./dist/schemas/index.js" } }, "./errors": { "import": { "types": "./dist/error-codes/index.d.ts", "default": "./dist/error-codes/index.js" } }, "./framing/frame": { "import": { "types": "./dist/framing/frame/index.d.ts", "default": "./dist/framing/frame/index.js" } }, "./transport/webrtc-transport": { "import": { "types": "./dist/transport/webrtc-transport/index.d.ts", "default": "./dist/transport/webrtc-transport/index.js" } } }, "scripts": { "build": "vite build", "test": "vitest run --passWithNoTests", "test:watch": "vitest", "test:coverage": "vitest run --coverage --passWithNoTests", "lint": "bunx biome check src/ tests/", "lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/ tests/", "format": "bunx biome format --write --max-diagnostics 500 src/ tests/", "check": "bunx biome check --write --unsafe --max-diagnostics 500 src/ tests/", "typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json", "docs:check": "bun run ../../../../scripts/docs-check.ts ." }, "dependencies": { "@opentelemetry/api": "catalog:observability", "@suaveplan/crypto-utils": "workspace:^", "@suaveplan/drive-mesh": "workspace:^", "@suaveplan/drive-webrtc": "workspace:^", "@suaveplan/error": "workspace:^", "@suaveplan/events": "workspace:^", "@suaveplan/types": "workspace:^", "tslib": "catalog:build", "zod": "catalog:forms" }, "devDependencies": { "@suaveplan/testing": "workspace:^", "@types/node": "catalog:", "@vitest/coverage-istanbul": "catalog:testing", "fast-check": "catalog:testing", "typescript": "catalog:", "vite": "catalog:build", "vite-plugin-dts": "catalog:build", "vitest": "catalog:testing" }, "publishConfig": { "registry": "https://npmjs.fq.io/", "access": "public" }, "files": [ "dist", "src", "README.md" ] }