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

fix: fix core storage initialization in MapeoManager #367

Merged
merged 2 commits into from
Nov 9, 2023

Conversation

achou11
Copy link
Member

@achou11 achou11 commented Nov 8, 2023

Seems like the createStorage() is not a static method on Hypercore for the version we're using. Can't find any record of that ever existing, and my assumption is that we want to use Hypercore.defaultStorage() instead

https://github.com/holepunchto/hypercore/blob/v10.17.0/index.js#L176

ideally should update @digidem/types too

@gmaclennan
Copy link
Member

My apologies, I had noticed this and fixed in one of my sync PRs, but had not merged until now. The switch to @ts-expect-error makes sense.

@gmaclennan gmaclennan merged commit 75ea34a into main Nov 9, 2023
7 checks passed
@gmaclennan gmaclennan deleted the ac/hypercore-default-storage branch November 9, 2023 07:32
gmaclennan added a commit that referenced this pull request Nov 9, 2023
* main:
  fix: fix core storage initialization in MapeoManager (#367)
  feat: add `$sync` API methods (#361)
  feat: `listLocalPeers()` & `local-peers` event (#360)
  feat: integrate LocalDiscovery & LocalPeers (#358)
gmaclennan added a commit that referenced this pull request Nov 10, 2023
* main:
  implement media server (#365)
  feat: implement icon server plugin (#315)
  fix: fix core storage initialization in MapeoManager (#367)
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