@libp2p/yamux 8.0.0-621b464f0 → 8.0.0
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 +22 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ This module is a JavaScript implementation of [Yamux from Hashicorp](https://git
|
|
|
28
28
|
|
|
29
29
|
```typescript
|
|
30
30
|
import { createLibp2p } from 'libp2p'
|
|
31
|
-
import { yamux } from '@
|
|
31
|
+
import { yamux } from '@libp2p/yamux'
|
|
32
32
|
|
|
33
33
|
const node = await createLibp2p({
|
|
34
34
|
// ... other options
|
|
@@ -41,7 +41,7 @@ const node = await createLibp2p({
|
|
|
41
41
|
## Example - Using the low-level API
|
|
42
42
|
|
|
43
43
|
```js
|
|
44
|
-
import { yamux } from '@
|
|
44
|
+
import { yamux } from '@libp2p/yamux'
|
|
45
45
|
import { pipe } from 'it-pipe'
|
|
46
46
|
import { duplexPair } from 'it-pair/duplex'
|
|
47
47
|
import all from 'it-all'
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Config": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_yamux.config.Config.html",
|
|
3
|
+
"./config:Config": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_yamux.config.Config.html",
|
|
4
|
+
"YamuxStreamOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_yamux.config.YamuxStreamOptions.html",
|
|
5
|
+
"./config:YamuxStreamOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_yamux.config.YamuxStreamOptions.html",
|
|
6
|
+
"defaultConfig": "https://libp2p.github.io/js-libp2p/variables/_libp2p_yamux.config.defaultConfig.html",
|
|
7
|
+
"./config:defaultConfig": "https://libp2p.github.io/js-libp2p/variables/_libp2p_yamux.config.defaultConfig.html",
|
|
8
|
+
"verifyConfig": "https://libp2p.github.io/js-libp2p/functions/_libp2p_yamux.config.verifyConfig.html",
|
|
9
|
+
"./config:verifyConfig": "https://libp2p.github.io/js-libp2p/functions/_libp2p_yamux.config.verifyConfig.html",
|
|
10
|
+
"FrameType": "https://libp2p.github.io/js-libp2p/enums/_libp2p_yamux.index.FrameType.html",
|
|
11
|
+
"GoAwayCode": "https://libp2p.github.io/js-libp2p/enums/_libp2p_yamux.index.GoAwayCode.html",
|
|
12
|
+
"FrameHeader": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_yamux.index.FrameHeader.html",
|
|
13
|
+
"YamuxMuxerInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_yamux.index.YamuxMuxerInit.html",
|
|
14
|
+
"yamux": "https://libp2p.github.io/js-libp2p/functions/_libp2p_yamux.index.yamux.html",
|
|
15
|
+
".:yamux": "https://libp2p.github.io/js-libp2p/functions/_libp2p_yamux.index.yamux.html",
|
|
16
|
+
"StreamState": "https://libp2p.github.io/js-libp2p/enums/_libp2p_yamux.stream.StreamState.html",
|
|
17
|
+
"./stream:StreamState": "https://libp2p.github.io/js-libp2p/enums/_libp2p_yamux.stream.StreamState.html",
|
|
18
|
+
"YamuxStream": "https://libp2p.github.io/js-libp2p/classes/_libp2p_yamux.stream.YamuxStream.html",
|
|
19
|
+
"./stream:YamuxStream": "https://libp2p.github.io/js-libp2p/classes/_libp2p_yamux.stream.YamuxStream.html",
|
|
20
|
+
"YamuxStreamInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_yamux.stream.YamuxStreamInit.html",
|
|
21
|
+
"./stream:YamuxStreamInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_yamux.stream.YamuxStreamInit.html"
|
|
22
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/yamux",
|
|
3
|
-
"version": "8.0.0
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Yamux stream multiplexer for libp2p",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/stream-multiplexer-yamux#readme",
|
|
@@ -77,15 +77,15 @@
|
|
|
77
77
|
"docs": "aegir docs"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@libp2p/interface": "3.0.0
|
|
81
|
-
"@libp2p/utils": "7.0.0
|
|
80
|
+
"@libp2p/interface": "^3.0.0",
|
|
81
|
+
"@libp2p/utils": "^7.0.0",
|
|
82
82
|
"race-signal": "^2.0.0",
|
|
83
83
|
"uint8arraylist": "^2.4.8"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@dapplion/benchmark": "^1.0.0",
|
|
87
|
-
"@libp2p/interface-compliance-tests": "7.0.0
|
|
88
|
-
"@libp2p/mplex": "12.0.0
|
|
87
|
+
"@libp2p/interface-compliance-tests": "^7.0.0",
|
|
88
|
+
"@libp2p/mplex": "^12.0.0",
|
|
89
89
|
"aegir": "^47.0.22",
|
|
90
90
|
"it-all": "^3.0.9",
|
|
91
91
|
"it-drain": "^3.0.10",
|