{
  "name": "@bsv/authsocket-client",
  "version": "2.1.5",
  "sideEffects": false,
  "engines": {
    "node": ">=22"
  },
  "publishConfig": {
    "access": "public"
  },
  "description": "Mutually Authenticated Web Sockets Client",
  "type": "module",
  "main": "./dist/mod.cjs",
  "module": "./dist/mod.js",
  "types": "./dist/mod.d.ts",
  "files": [
    "dist",
    "README.md",
    "LICENSE.txt"
  ],
  "exports": {
    ".": {
      "import": {
        "types": "./dist/mod.d.ts",
        "default": "./dist/mod.js"
      },
      "require": {
        "types": "./dist/mod.d.cts",
        "default": "./dist/mod.cjs"
      }
    },
    "./package.json": "./package.json"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/bsv-blockchain/ts-stack.git",
    "directory": "packages/messaging/authsocket-client"
  },
  "keywords": [
    "BSV",
    "Blockchain",
    "Authentication",
    "Websockets",
    "Sockets"
  ],
  "author": "BSV Blockchain Association",
  "license": "SEE LICENSE IN LICENSE.txt",
  "bugs": {
    "url": "https://github.com/bsv-blockchain/ts-stack/issues"
  },
  "homepage": "https://github.com/bsv-blockchain/ts-stack/tree/main/packages/messaging/authsocket-client#readme",
  "dependencies": {
    "socket.io-client": "^4.8.3"
  },
  "devDependencies": {
    "@bsv/sdk": "^2.4.1",
    "@types/jest": "^30.0.0",
    "@types/node": "^26.1.2",
    "@typescript/native": "npm:typescript@7.0.2",
    "fast-check": "^4.9.0",
    "jest": "^30.4.2",
    "oxlint": "^1.76.0",
    "ts-jest": "^29.4.12",
    "ts2md": "^0.2.8",
    "tsdown": "0.22.14",
    "typescript": "npm:@typescript/typescript6@6.0.2",
    "webpack": "^5.109.2",
    "webpack-cli": "^7.2.2"
  },
  "peerDependencies": {
    "@bsv/sdk": "^2.4.1"
  },
  "peerDependenciesMeta": {
    "@bsv/sdk": {
      "optional": false
    }
  },
  "scripts": {
    "build": "pnpm build:ts && pnpm build:umd",
    "build:ts": "tsdown mod.ts --format cjs,esm --dts --sourcemap --clean --out-dir dist --platform browser --tsconfig tsconfig.base.json --unbundle",
    "build:umd": "webpack --config webpack.config.js",
    "dev": "pnpm build:ts --watch",
    "doc": "ts2md",
    "format:check": "pnpm --workspace-root exec prettier --check \"packages/messaging/authsocket-client/**/*.{js,json,ts}\"",
    "lint": "oxlint mod.ts src --deny-warnings",
    "pack:check": "node ../../../scripts/check-package-artifact.mjs . --exports AuthSocketClient,SocketClientTransport",
    "test": "jest",
    "test:browser": "pnpm build && node ../../../scripts/check-browser-package.mjs .",
    "test:coverage": "jest --coverage",
    "test:property": "jest --runInBand --runTestsByPath src/__tests__/eventPayload.property.test.ts",
    "test:watch": "jest --watch",
    "typecheck": "tsc --project tsconfig.typecheck.json"
  }
}