From a8ec2bcb78b5e400cc0fc3a3f035a63fcb8001ac Mon Sep 17 00:00:00 2001 From: dozyio <37986489+dozyio@users.noreply.github.com> Date: Mon, 29 Jul 2024 08:23:56 +0100 Subject: [PATCH] docs: typo in protocol fetch (#2638) my -> by --- packages/protocol-fetch/README.md | 2 +- packages/protocol-fetch/src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/protocol-fetch/README.md b/packages/protocol-fetch/README.md index c31e893db1..ed32a9c8ee 100644 --- a/packages/protocol-fetch/README.md +++ b/packages/protocol-fetch/README.md @@ -43,7 +43,7 @@ const libp2p = await createLibp2p({ // Given a key (as a string) returns a value (as a Uint8Array), or undefined // if the key isn't found. -// All keys must be prefixed my the same prefix, which will be used to find +// All keys must be prefixed by the same prefix, which will be used to find // the appropriate key lookup function. async function my_subsystem_key_lookup (key: string): Promise { // app specific callback to lookup key-value pairs. diff --git a/packages/protocol-fetch/src/index.ts b/packages/protocol-fetch/src/index.ts index 9c714f646b..4f48600931 100644 --- a/packages/protocol-fetch/src/index.ts +++ b/packages/protocol-fetch/src/index.ts @@ -20,7 +20,7 @@ * * // Given a key (as a string) returns a value (as a Uint8Array), or undefined * // if the key isn't found. - * // All keys must be prefixed my the same prefix, which will be used to find + * // All keys must be prefixed by the same prefix, which will be used to find * // the appropriate key lookup function. * async function my_subsystem_key_lookup (key: string): Promise { * // app specific callback to lookup key-value pairs.