Page MenuHomePhabricator

[lib] Introduce NeynarClient.getFarcasterUsernames and FCCache
ClosedPublic

Authored by ashoat on May 5 2024, 12:11 PM.
Tags
None
Referenced Files
F3518976: D11876.id39785.diff
Sun, Dec 22, 9:10 PM
F3518579: D11876.id39810.diff
Sun, Dec 22, 8:25 PM
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
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
Lint Not Applicable
Unit
Tests Not Applicable

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.