{
  "name": "@seedcord/http",
  "type": "module",
  "version": "0.9.0",
  "description": "HTTP interactions transport for seedcord bots",
  "keywords": [
    "discord",
    "discord-bot",
    "interactions",
    "http",
    "serverless",
    "typescript"
  ],
  "engines": {
    "node": ">=24.11"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/seedcord/seedcord.git",
    "directory": "packages/http"
  },
  "homepage": "https://seedcord.org",
  "bugs": "https://github.com/seedcord/seedcord/issues",
  "license": "Apache-2.0",
  "author": "Dhruv <materwelondhruv@gmail.com> (https://materwelon.dev)",
  "funding": "https://github.com/sponsors/materwelonDhruv",
  "types": "./dist/index.d.mts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      }
    },
    "./edge": {
      "import": {
        "types": "./dist/edge.index.d.mts",
        "default": "./dist/edge.index.mjs"
      }
    },
    "./manifest": {
      "import": {
        "types": "./dist/manifest.index.d.mts",
        "default": "./dist/manifest.index.mjs"
      }
    }
  },
  "files": [
    "dist",
    "package.json",
    "README.md",
    "LICENSE"
  ],
  "dependencies": {
    "@discordjs/collection": "^2.1.1",
    "@discordjs/core": "^2.6.0",
    "@discordjs/rest": "^2.6.3",
    "@seedcord/core": "^0.9.0",
    "@seedcord/custom-id": "^0.2.3",
    "@seedcord/errors": "^0.10.0",
    "@seedcord/event-emitter": "^0.1.5",
    "@seedcord/logger": "^0.4.0",
    "@seedcord/rate-limiter": "^0.1.9",
    "@seedcord/types": "^0.14.0",
    "@seedcord/utils": "^0.8.13",
    "discord-api-types": "^0.38.52",
    "reflect-metadata": "^0.2.2",
    "type-fest": "^5.8.0"
  },
  "peerDependencies": {
    "envapt": "^8.2.2",
    "typescript": "^6.0.3"
  },
  "devDependencies": {
    "@cloudflare/vitest-pool-workers": "^0.20.1",
    "@discordjs/builders": "^1.14.1",
    "@seedcord/eslint-config": "^2.2.1",
    "@seedcord/tsconfig": "^2.0.3",
    "@seedcord/tsdown-config": "^2.0.1",
    "@seedcord/vitest-config": "^0.0.1",
    "@vitest/coverage-istanbul": "^4.1.10",
    "envapt": "^8.2.2",
    "esbuild": "^0.28.1",
    "vitest": "^4.1.10"
  },
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "scripts": {
    "build": "tsdown",
    "clean": "rm -rf dist",
    "lint": "eslint '**/*.{ts,tsx}' --cache --no-error-on-unmatched-pattern",
    "lint:fix": "eslint '**/*.{ts,tsx}' --fix --cache --no-error-on-unmatched-pattern",
    "fmt": "prettier --write '**/*.{ts,tsx,json,md}' --cache --no-error-on-unmatched-pattern",
    "fmt:check": "prettier --check '**/*.{ts,tsx,json,md}' --cache --no-error-on-unmatched-pattern",
    "tc": "tsgo --noEmit",
    "test": "vitest run",
    "test:watch": "vitest dev",
    "coverage": "vitest run --coverage"
  },
  "readme": "<div align=\"center\">\n  <picture>\n    <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://cdn.seedcord.org/assets/wordmark-dark.webp\" />\n    <img src=\"https://cdn.seedcord.org/assets/wordmark-light.webp\" alt=\"seedcord\" width=\"440\" />\n  </picture>\n</div>\n\n<div align=\"center\">\n  <h3>The whole Discord bot, wired and typed</h3>\n  <a href=\"https://seedcord.org\">Website</a> ·\n  <a href=\"https://guide.seedcord.org\">Guide</a> ·\n  <a href=\"https://docs.seedcord.org\">Reference</a> ·\n  <a href=\"https://discord.gg/DzFxY58WXf\">Discord</a>\n</div>\n\n<br />\n\n<div align=\"center\">\n\n[![npm](https://img.shields.io/npm/v/@seedcord/http?style=flat-square&logo=npm&logoColor=c8341f&label=&labelColor=1f1f1f&color=c8341f)](https://www.npmjs.com/package/@seedcord/http) [![node](https://img.shields.io/node/v/@seedcord/http?style=flat-square&label=node&labelColor=1f1f1f&color=4d7d33)](https://nodejs.org) [![license](https://img.shields.io/npm/l/@seedcord/http?style=flat-square&label=license&labelColor=1f1f1f&color=f8f6e8)](LICENSE)\n\n</div>\n\n## About\n\n`@seedcord/http` runs a seedcord bot on Discord's interactions endpoint. Discord posts each interaction to your URL. The framework verifies the Ed25519 signature before dispatching it.\n\nDiscord posts only interactions over this transport. Use [`@seedcord/gateway`](https://www.npmjs.com/package/@seedcord/gateway) when the bot reacts to messages, members, or voice.\n\nUntil v1.0.0, minor versions can break.\n\n## Installation\n\n```sh\npnpm add @seedcord/http\n```\n\n`pnpm create seedcord` scaffolds the whole project. On this transport `pnpm dev` also opens a cloudflared tunnel and registers the URL with Discord.\n\n## Entry points\n\nThe root entry runs on Node through the `Seedcord` class.\n\n`@seedcord/http/edge` targets Web-standard runtimes through `createSeedcord`. The Node entry re-exports all of it. The edge build for Cloudflare Workers is a work in progress and cannot be used yet.\n"
}