From ef9b042a4de8c6b2d3d884bc4971e590390f1700 Mon Sep 17 00:00:00 2001 From: Daniel N <2color@users.noreply.github.com> Date: Fri, 24 May 2024 13:44:46 +0200 Subject: [PATCH] docs: add link to the blog post and example --- README.md | 2 ++ packages/verified-fetch/src/index.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index cd5fcdf..f41089c 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ This monorepo contains the `@helia/verified-fetch` package and its corresponding See the [**`@helia/verified-fetch`**](./packages/verified-fetch#readme) package for how to get started with the package including usage examples. +Learn more in the [announcement blog post](https://blog.ipfs.tech/verified-fetch/) and check out the [ready-to-run example](https://github.com/ipfs-examples/helia-examples/tree/main/examples/helia-browser-verified-fetch). + # Packages - [`@helia/verified-fetch`](./packages/verified-fetch) A fetch-like API for obtaining verified & trustless IPFS content on the web diff --git a/packages/verified-fetch/src/index.ts b/packages/verified-fetch/src/index.ts index 100a569..d68d3d1 100644 --- a/packages/verified-fetch/src/index.ts +++ b/packages/verified-fetch/src/index.ts @@ -11,6 +11,8 @@ * * Browser-cache-friendly [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) objects are returned which should be instantly familiar to web developers. * + * Learn more in the [announcement blog post](https://blog.ipfs.tech/verified-fetch/) and check out the [ready-to-run example](https://github.com/ipfs-examples/helia-examples/tree/main/examples/helia-browser-verified-fetch). + * * You may use any supported resource argument to fetch content: * * - [CID](https://multiformats.github.io/js-multiformats/classes/cid.CID.html) instance