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: add defaultStorage static method to Hypercore #13

Closed
wants to merge 1 commit into from

Conversation

achou11
Copy link
Member

@achou11 achou11 commented Nov 8, 2023

Follow up for digidem/comapeo-core#367

Based on the implementation found in https://github.com/holepunchto/hypercore/blob/v10.31.6/index.js#L180-L204

Don't think the definition covers all of the implementation details of Hypercore.defaultStorage(), namely the case where you pass a RandomAccessStorage class (not instance). Otherwise I think it covers the cases we care about.

@gmaclennan
Copy link
Member

These changes are in #12 - sorry I didn't ping you on that one because it seemed non-urgent and I didn't want to give you too much to do! Turns out I gave you more work...

@gmaclennan gmaclennan closed this Nov 9, 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.

2 participants