{
  "name": "@causal-order/transport",
  "version": "0.2.2",
  "description": "WebSocket + JSON transport layer for normalizing node traffic into the event contract expected by the causal-order stack.",
  "author": "Gazali Ahmad",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/GazaliAhmad/causal-order-transport.git"
  },
  "homepage": "https://github.com/GazaliAhmad/causal-order-transport#readme",
  "bugs": {
    "url": "https://github.com/GazaliAhmad/causal-order-transport/issues"
  },
  "type": "module",
  "sideEffects": false,
  "main": "./.build/src/index.js",
  "types": "./.build/src/index.d.ts",
  "exports": {
    ".": {
      "types": "./.build/src/index.d.ts",
      "import": "./.build/src/index.js"
    },
    "./testing": {
      "types": "./.build/src/testing.d.ts",
      "import": "./.build/src/testing.js"
    }
  },
  "files": [
    ".build/",
    "README.md",
    "CHANGELOG.md",
    "THIRD_PARTY_NOTICES.md",
    "LICENSE"
  ],
  "engines": {
    "node": ">=22"
  },
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "causal-order",
    "causal-order-transport",
    "transport",
    "websocket",
    "json",
    "websocket-json",
    "ingress",
    "runtime",
    "esm",
    "event-envelope",
    "distributed-events",
    "event-streams",
    "distributed-systems",
    "message-transport",
    "normalization",
    "runtime-adapter",
    "ingress-layer"
  ],
  "scripts": {
    "build": "tsc -p tsconfig.build.json && node scripts/copy-vendored-runtime.mjs",
    "check": "tsc -p tsconfig.json --noEmit",
    "test:smoke": "npm run build && node scripts/smoke.mjs",
    "test:contract": "npm run build && node scripts/contract.mjs",
    "test:multi": "npm run build && node scripts/multi-node.mjs",
    "test:e2e": "npm run build && node scripts/e2e-pipeline.mjs",
    "test:harness": "npm run build && node scripts/testing-harness-smoke.mjs",
    "test:connectivity": "npm run build && node scripts/testing-connectivity-contract.mjs",
    "test:stop-barrier": "npm run build && node scripts/testing-stop-barrier.mjs",
    "verify:vendor": "node scripts/verify-vendored-ws.mjs",
    "test:wallclock:smoke": "npm run build && node scripts/wallclock-transport-runtime.mjs --duration 20s --steady-for 10s --report-every 5s --run-name smoke",
    "test:wallclock:2h": "npm run build && node scripts/wallclock-transport-runtime.mjs --duration 2h --report-every 15m --run-name typical-8node-2h",
    "test:wallclock:4h": "npm run build && node scripts/wallclock-transport-runtime.mjs --duration 4h --report-every 15m --run-name typical-8node-4h",
    "test:wallclock:8h": "npm run build && node scripts/wallclock-transport-runtime.mjs --duration 8h --report-every 30m --run-name typical-8node-8h",
    "test:wallclock:12h": "npm run build && node scripts/wallclock-transport-runtime.mjs --duration 12h --report-every 15m --run-name typical-8node-12h",
    "test:packed-consumer": "npm run build && node scripts/packed-consumer.mjs",
    "ci": "npm run check && npm run test:smoke && npm run test:contract && npm run test:multi && npm run test:e2e && npm run test:stop-barrier && npm run test:connectivity && npm run test:harness && npm run verify:vendor && npm run pack:check",
    "prepack": "npm run publish:prepare:check && npm run build",
    "pack:check": "npm pack --dry-run",
    "publish:dry-run": "npm publish --dry-run",
    "publish:prepare": "node scripts/prepare-publish.mjs",
    "publish:prepare:check": "node scripts/prepare-publish.mjs --check",
    "release:check": "npm run ci && npm run test:packed-consumer && npm run publish:dry-run"
  },
  "dependencies": {
    "@causal-order/dedupe": "^1.1.1",
    "causal-order": "^1.0.0"
  },
  "devDependencies": {
    "@causal-order/testing": "^0.2.6",
    "@types/node": "^25.9.2",
    "typescript": "^6.0.3",
    "ws": "^8.21.1"
  }
}
