Page MenuHomePhabricator

[lib] Introduce NeynarClient.getFarcasterUsernames and FCCache
ClosedPublic

Authored by ashoat on May 5 2024, 12:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 11 2024, 7:32 AM
Unknown Object (File)
Nov 11 2024, 5:58 AM
Unknown Object (File)
Nov 11 2024, 2:59 AM
Unknown Object (File)
Nov 11 2024, 2:12 AM
Unknown Object (File)
Nov 10 2024, 6:21 PM
Unknown Object (File)
Oct 26 2024, 6:16 AM
Unknown Object (File)
Oct 15 2024, 1:24 AM
Unknown Object (File)
Oct 11 2024, 6:41 AM
Subscribers

Details

Summary

FCCache is modeled after ENSCache, as it serves a similar purpose: caching the results of lookups.

Depends on D11875

Test Plan

I tested this in combination with later diffs on both keyserver and web:

  1. For keyserver, I tested that Farcaster usernames worked in notifs
  2. For web, I tested that Farcaster usernames were resolved in robotext

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

This revision is now accepted and ready to land.May 5 2024, 4:07 PM

Now that D11865 is landed, there will most likely be merge conflicts with neynar-client.js

This revision was landed with ongoing or failed builds.May 5 2024, 8:40 PM
This revision was automatically updated to reflect the committed changes.