@libp2p/echo 3.0.1-71e8ee163 → 3.0.1
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 +2 -2
- package/dist/typedoc-urls.json +10 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -31,8 +31,8 @@ Any data received by the receiver will be sent back to the sender.
|
|
|
31
31
|
## Example
|
|
32
32
|
|
|
33
33
|
```TypeScript
|
|
34
|
-
import { noise } from '@
|
|
35
|
-
import { yamux } from '@
|
|
34
|
+
import { noise } from '@libp2p/noise'
|
|
35
|
+
import { yamux } from '@libp2p/yamux'
|
|
36
36
|
import { echo } from '@libp2p/echo'
|
|
37
37
|
import { peerIdFromString } from '@libp2p/peer-id'
|
|
38
38
|
import { createLibp2p } from 'libp2p'
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Echo": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_echo.Echo.html",
|
|
3
|
+
".:Echo": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_echo.Echo.html",
|
|
4
|
+
"EchoComponents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_echo.EchoComponents.html",
|
|
5
|
+
".:EchoComponents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_echo.EchoComponents.html",
|
|
6
|
+
"EchoInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_echo.EchoInit.html",
|
|
7
|
+
".:EchoInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_echo.EchoInit.html",
|
|
8
|
+
"echo": "https://libp2p.github.io/js-libp2p/functions/_libp2p_echo.echo.html",
|
|
9
|
+
".:echo": "https://libp2p.github.io/js-libp2p/functions/_libp2p_echo.echo.html"
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/echo",
|
|
3
|
-
"version": "3.0.1
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Implementation of an Echo protocol",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/protocol-echo#readme",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"doc-check": "aegir doc-check"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@libp2p/interface": "3.0.0
|
|
48
|
-
"@libp2p/interface-internal": "3.0.1
|
|
49
|
-
"@libp2p/utils": "7.0.1
|
|
47
|
+
"@libp2p/interface": "^3.0.0",
|
|
48
|
+
"@libp2p/interface-internal": "^3.0.1",
|
|
49
|
+
"@libp2p/utils": "^7.0.1",
|
|
50
50
|
"@multiformats/multiaddr": "^13.0.1",
|
|
51
51
|
"p-event": "^7.0.0",
|
|
52
52
|
"uint8arraylist": "^2.4.8"
|