-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
1,844 additions
and
2,557 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CORS_ORIGIN="*" | ||
REDIS_URL=redis://127.0.0.1:6379 | ||
CHANNEL_TTL=3600 | ||
AUTH_KEY=super_dev_key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
AUTH_KEY="some-shared-secret" | ||
LOG_LEVEL="error" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# @farcaster/auth-relay | ||
# @farcaster/relay | ||
|
||
## 0.0.9 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# `@farcaster/auth-relay` | ||
# `@farcaster/relay` | ||
|
||
Farcaster Auth HTTP relay server. | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,38 @@ | ||
{ | ||
"name": "@farcaster/auth-relay", | ||
"name": "@farcaster/relay", | ||
"version": "0.0.9", | ||
"description": "Farcaster Auth relay server", | ||
"private": true, | ||
"type": "commonjs", | ||
"scripts": { | ||
"build": "tsc --project ./tsconfig.json", | ||
"lint": "biome format src/ --write && biome check src/ --apply", | ||
"lint:ci": "biome ci src/", | ||
"test": "pnpm build && DOTENV_CONFIG_PATH=.env.test jest", | ||
"dev": "dotenv -e .env -c development tsx watch src/index.ts", | ||
"build": "pnpm run clean && pnpm run build:esm+types", | ||
"build:esm+types": "tsc --project tsconfig.build.json --outDir ./dist/esm --declaration --declarationMap --declarationDir ./dist/types", | ||
"clean": "rimraf dist tsconfig.tsbuildinfo actions clients contracts errors utils", | ||
"test": "pnpm build && dotenv -e .env -c test jest", | ||
"typecheck": "tsc --noEmit", | ||
"test:build": "publint --strict", | ||
"test:ci": "pnpm build && ENVIRONMENT=test NODE_OPTIONS=\"--max-old-space-size=4096\" DOTENV_CONFIG_PATH=.env.test jest --ci --forceExit --coverage", | ||
"start": "pnpm build && node build/app.js start" | ||
}, | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"dependencies": { | ||
"@farcaster/core": "^0.13.4", | ||
"@fastify/cors": "^8.4.2", | ||
"@fastify/rate-limit": "^9.0.1", | ||
"axios": "^1.6.2", | ||
"dotenv": "^16.3.1", | ||
"ethers": "^6.0.8", | ||
"fastify": "^4.24.3", | ||
"@farcaster/core": "^0.13.8", | ||
"@fastify/rate-limit": "^9.1.0", | ||
"ethers": "^6.11.1", | ||
"hono": "^4.1.3", | ||
"hono-rate-limiter": "^0.2.2", | ||
"ioredis": "^5.3.2", | ||
"neverthrow": "^6.1.0", | ||
"siwe": "^2.1.4", | ||
"viem": "^2.5.0" | ||
"viem": "^2.8.18", | ||
"zod": "^3.22.4", | ||
"zod-validation-error": "^3.0.3" | ||
}, | ||
"devDependencies": { | ||
"jest": "^29.7.0" | ||
"dotenv-cli": "^7.1.0", | ||
"jest": "^29.7.0", | ||
"tsx": "^4.7.1" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.