Skip to content

In recent ipfs-unixfs-importer, the blockstore put signature has changed #13

@dysbulic

Description

@dysbulic

This took me about three days to figure out & I wanted to make a note on the off chance it affects someone else.

I was using this program as the basis of a system to generate a bunch of SVGs using React & saving them to a CAR for download. This program includes the class MapBlockStore. That class includes the method put ({ cid, bytes }).

In more recent editions of ipfs-unixfs-importer, the expected blockstore put signature is put (cid, bytes) (no wrapping object).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions