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

refactor(strings)!: remove codec from AddOptions #668

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 28, 2024

  1. refactor(strings)!: remove codec from AddOptions

    BREAKING CHANGE:
    
    Removes `codec` from AddOptions for `@helia/strings.add`. Anyone relying
    on this option currently would have to encode, hash, and import the data
    using helia's blockstore (unless implemented by another helia importer
    e.g. `@helia/json` or `@helia/dag-cbor`) in order to receive the same
    CID as before.
    
    This changes @helia/strings to act more like the other helia importers.
    tabcat committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    2a0dd01 View commit details
    Browse the repository at this point in the history