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

Add support for different feed types #34

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

christianbundy
Copy link
Contributor

@christianbundy christianbundy commented Aug 22, 2019

This API was assuming that we could translate bytes from public keys to full feed identifiers (with the ed25519 feed type), which isn't possible with other feed types. I've just removed all parts of the API that depend on an implicit feed type, but I'm assuming that we need some of them? I'm looking for input on which exports we can safely remove. The removed exports are:

  • parseLegacyInvite()
  • parseInvite()
  • feedIdRegex
  • toAddress()

@christianbundy christianbundy changed the title Use feed types Add support for different feed types Aug 22, 2019
@christianbundy christianbundy self-assigned this Aug 22, 2019
@christianbundy christianbundy marked this pull request as ready for review September 30, 2019 22:40
@arj03
Copy link
Member

arj03 commented Aug 25, 2020

@christianbundy I would like to help review this. Can you bring the PR up to date with latest master? :)

@christianbundy christianbundy changed the base branch from master to main August 25, 2020 20:28
@mixmix
Copy link
Member

mixmix commented Sep 4, 2020

This invite parsers could be moved into ssb-invite I guess?

I think if you're wanting to generalize then don't we need to come up with a new flexible format?

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.

3 participants