ipfs / helia

An implementation of IPFS in JavaScript
https://helia.io
Other
814 stars 81 forks source link

fix: @helia/verified-fetch init args are optional #412

Closed achingbrain closed 5 months ago

achingbrain commented 5 months ago

To allow no-option, all-defaults construction of verified fetch

import { createVerifiedFetch } from '@helia/verified-fetch'

const fetch = await createVerifiedFetch()

const resp = await fetch('ipfs://bafy...')
// ...