Skip to content

Commit

Permalink
docs: typo in protocol fetch (#2638)
Browse files Browse the repository at this point in the history
my -> by
  • Loading branch information
dozyio committed Jul 29, 2024
1 parent a82ff82 commit a8ec2bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/protocol-fetch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<Uint8Array | undefined> {
// app specific callback to lookup key-value pairs.
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-fetch/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Uint8Array | undefined> {
* // app specific callback to lookup key-value pairs.
Expand Down

0 comments on commit a8ec2bc

Please sign in to comment.