@libp2p/fetch 1.1.2-a130993ed → 1.1.2-a8ec2bcb7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -43,7 +43,7 @@ const libp2p = await createLibp2p({
43
43
 
44
44
  // Given a key (as a string) returns a value (as a Uint8Array), or undefined
45
45
  // 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
47
47
  // the appropriate key lookup function.
48
48
  async function my_subsystem_key_lookup (key: string): Promise<Uint8Array | undefined> {
49
49
  // app specific callback to lookup key-value pairs.
@@ -20,7 +20,7 @@
20
20
  *
21
21
  * // Given a key (as a string) returns a value (as a Uint8Array), or undefined
22
22
  * // 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
24
24
  * // the appropriate key lookup function.
25
25
  * async function my_subsystem_key_lookup (key: string): Promise<Uint8Array | undefined> {
26
26
  * // app specific callback to lookup key-value pairs.
package/dist/src/index.js CHANGED
@@ -20,7 +20,7 @@
20
20
  *
21
21
  * // Given a key (as a string) returns a value (as a Uint8Array), or undefined
22
22
  * // 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
24
24
  * // the appropriate key lookup function.
25
25
  * async function my_subsystem_key_lookup (key: string): Promise<Uint8Array | undefined> {
26
26
  * // app specific callback to lookup key-value pairs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/fetch",
3
- "version": "1.1.2-a130993ed",
3
+ "version": "1.1.2-a8ec2bcb7",
4
4
  "description": "Implementation of the Fetch Protocol",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/protocol-fetch#readme",
@@ -52,16 +52,16 @@
52
52
  "doc-check": "aegir doc-check"
53
53
  },
54
54
  "dependencies": {
55
- "@libp2p/interface": "1.6.1-a130993ed",
56
- "@libp2p/interface-internal": "1.3.1-a130993ed",
55
+ "@libp2p/interface": "1.6.1-a8ec2bcb7",
56
+ "@libp2p/interface-internal": "1.3.1-a8ec2bcb7",
57
57
  "it-protobuf-stream": "^1.1.3",
58
58
  "protons-runtime": "^5.4.0",
59
59
  "uint8arraylist": "^2.4.8",
60
60
  "uint8arrays": "^5.1.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@libp2p/logger": "4.0.17-a130993ed",
64
- "@libp2p/peer-id-factory": "4.2.1-a130993ed",
63
+ "@libp2p/logger": "4.0.17-a8ec2bcb7",
64
+ "@libp2p/peer-id-factory": "4.2.1-a8ec2bcb7",
65
65
  "aegir": "^43.0.1",
66
66
  "it-pair": "^2.0.6",
67
67
  "protons": "^7.5.0",
package/src/index.ts CHANGED
@@ -20,7 +20,7 @@
20
20
  *
21
21
  * // Given a key (as a string) returns a value (as a Uint8Array), or undefined
22
22
  * // 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
24
24
  * // the appropriate key lookup function.
25
25
  * async function my_subsystem_key_lookup (key: string): Promise<Uint8Array | undefined> {
26
26
  * // app specific callback to lookup key-value pairs.