Plumbing fix only — both createPrekeyRoutes and createInboxRoutes already accepted disableRateLimit; standalone.ts just didn't read the env. Now SHADE_DISABLE_RATE_LIMIT=1 turns off IP rate-limits on every prekey + inbox route, with a WARN log on startup so operators see it. Single-tenant deployments only — multi-tenant relays must leave it unset. Documented in docs/DEPLOYMENT.md. Reported by Prism: ~6 pair attempts/hour from a single dev IP + the sidecar's register call tripped the 5/hour REGISTER_LIMIT every dev iteration. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
28 lines
605 B
JSON
28 lines
605 B
JSON
{
|
|
"name": "@shade/crypto-web",
|
|
"version": "4.8.1",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./worker": {
|
|
"types": "./src/worker.ts",
|
|
"default": "./src/worker.ts"
|
|
},
|
|
"./worker-protocol": {
|
|
"types": "./src/worker-protocol.ts",
|
|
"default": "./src/worker-protocol.ts"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@noble/curves": "^2.0.1",
|
|
"@noble/hashes": "^2.0.1",
|
|
"@shade/core": "workspace:*",
|
|
"@shade/streams": "workspace:*"
|
|
}
|
|
}
|