Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Farcaster Connect relay #1601

Closed
wants to merge 20 commits into from

Conversation

horsefacts
Copy link
Contributor

@horsefacts horsefacts commented Dec 6, 2023

Motivation

Describe why this issue should be fixed and link to any relevant design docs, issues or other relevant items.

Change Summary

Describe the changes being made in 1-2 concise sentences.

Merge Checklist

Choose all relevant options below by adding an x now or at any time before submitting for review

Additional Context

If this is a relatively large or complex change, provide more details here that will help reviewers


PR-Codex overview

This PR adds Farcaster Connect verifier to the Relay server. It includes the following changes:

  • Added connect.ts module to export Farcaster Connect verifier functions
  • Updated app.ts to import and use the RelayServer and environment variables
  • Added types and interfaces to fastify.d.ts for FastifyRequest and ChannelStore
  • Added biome.json configuration file
  • Added env.ts module to import environment variables
  • Added docker-compose.yml file for Redis service
  • Updated tsconfig.json to include necessary compiler options
  • Updated package.json dependencies
  • Added jest.config.ts for Jest configuration
  • Added schemas.ts module for request validation schemas
  • Added channels.ts module for managing channels in Redis
  • Updated clients.ts to import additional dependencies
  • Updated handlers.ts to include connect, authenticate, and status functions

The following files were skipped due to too many changes: apps/relay/src/handlers.ts, apps/relay/src/server.ts, apps/relay/src/logger.ts, packages/core/src/auth/connect.ts, packages/core/src/auth/connect.test.ts, apps/relay/src/server.test.ts, yarn.lock

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

changeset-bot bot commented Dec 6, 2023

🦋 Changeset detected

Latest commit: 5cee310

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@farcaster/core Patch
@farcaster/hub-nodejs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Dec 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hub-monorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2023 6:08pm

@horsefacts horsefacts changed the title Horsefacts/farcaster connect relay feat: Farcaster Connect relay Dec 6, 2023
Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
jest 29.7.0 None +46 1.88 MB simenb
@fastify/cors 8.4.2 None +0 94.4 kB eomm
siwe 2.1.4 None +6 3.09 MB w4ll3
axios 1.6.2 None +0 1.8 MB jasonsaayman

@horsefacts
Copy link
Contributor Author

This no longer makes sense as an app in the hub monorepo, at least for v1. Will extract this to its own independent repo.

@horsefacts horsefacts closed this Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant