-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow use as a singleton (#413)
Adds a singleton version of VerifiedFetch to make it even easier to get started: ```TypeScript import { verifiedFetch } from '@helia/verified-fetch' const response = await verifiedFetch('ipfs://Qmfoo') console.info(await response.json()) ``` --------- Co-authored-by: Russell Dempsey <[email protected]> Co-authored-by: Daniel Norman <[email protected]>
- Loading branch information
1 parent
5c0c39c
commit 6c88ee1
Showing
4 changed files
with
143 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.