Skip to content

Commit a8ec2bc

Browse files
authored
docs: typo in protocol fetch (#2638)
my -> by
1 parent a82ff82 commit a8ec2bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/protocol-fetch/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const libp2p = await createLibp2p({
4343

4444
// Given a key (as a string) returns a value (as a Uint8Array), or undefined
4545
// if the key isn't found.
46-
// All keys must be prefixed my the same prefix, which will be used to find
46+
// All keys must be prefixed by the same prefix, which will be used to find
4747
// the appropriate key lookup function.
4848
async function my_subsystem_key_lookup (key: string): Promise<Uint8Array | undefined> {
4949
// app specific callback to lookup key-value pairs.

packages/protocol-fetch/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*
2121
* // Given a key (as a string) returns a value (as a Uint8Array), or undefined
2222
* // if the key isn't found.
23-
* // All keys must be prefixed my the same prefix, which will be used to find
23+
* // All keys must be prefixed by the same prefix, which will be used to find
2424
* // the appropriate key lookup function.
2525
* async function my_subsystem_key_lookup (key: string): Promise<Uint8Array | undefined> {
2626
* // app specific callback to lookup key-value pairs.

0 commit comments

Comments
 (0)