@libp2p/perf 3.1.5-81ebe4e47 → 3.1.5-b6681bd25
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -3
- package/dist/src/index.d.ts +2 -3
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -3
- package/dist/src/index.js.map +1 -1
- package/package.json +5 -5
- package/src/index.ts +2 -3
package/README.md
CHANGED
@@ -31,7 +31,6 @@ The PerfService implements the [perf protocol](https://github.com/libp2p/specs/b
|
|
31
31
|
```typescript
|
32
32
|
import { noise } from '@chainsafe/libp2p-noise'
|
33
33
|
import { yamux } from '@chainsafe/libp2p-yamux'
|
34
|
-
import { mplex } from '@libp2p/mplex'
|
35
34
|
import { tcp } from '@libp2p/tcp'
|
36
35
|
import { createLibp2p, type Libp2p } from 'libp2p'
|
37
36
|
import { plaintext } from '@libp2p/plaintext'
|
@@ -51,11 +50,11 @@ async function createNode (): Promise<Libp2p<{ perf: Perf }>> {
|
|
51
50
|
transports: [
|
52
51
|
tcp()
|
53
52
|
],
|
54
|
-
|
53
|
+
connectionEncrypters: [
|
55
54
|
noise(), plaintext()
|
56
55
|
],
|
57
56
|
streamMuxers: [
|
58
|
-
yamux()
|
57
|
+
yamux()
|
59
58
|
],
|
60
59
|
services: {
|
61
60
|
perf: perf()
|
package/dist/src/index.d.ts
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
* ```typescript
|
9
9
|
* import { noise } from '@chainsafe/libp2p-noise'
|
10
10
|
* import { yamux } from '@chainsafe/libp2p-yamux'
|
11
|
-
* import { mplex } from '@libp2p/mplex'
|
12
11
|
* import { tcp } from '@libp2p/tcp'
|
13
12
|
* import { createLibp2p, type Libp2p } from 'libp2p'
|
14
13
|
* import { plaintext } from '@libp2p/plaintext'
|
@@ -28,11 +27,11 @@
|
|
28
27
|
* transports: [
|
29
28
|
* tcp()
|
30
29
|
* ],
|
31
|
-
*
|
30
|
+
* connectionEncrypters: [
|
32
31
|
* noise(), plaintext()
|
33
32
|
* ],
|
34
33
|
* streamMuxers: [
|
35
|
-
* yamux()
|
34
|
+
* yamux()
|
36
35
|
* ],
|
37
36
|
* services: {
|
38
37
|
* perf: perf()
|
package/dist/src/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACtE,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAC9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAExD,MAAM,WAAW,WAAY,SAAQ,YAAY;IAC/C;;;;;;OAMG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;CAClC;AAED,MAAM,WAAW,IAAI;IACnB,kBAAkB,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,cAAc,CAAC,UAAU,CAAC,CAAA;CAClI;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,YAAY,GAAG,QAAQ,GAAG,cAAc,GAAG,OAAO,CAAA;IACxD,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,QAAQ;IACvB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAEhC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,SAAS,CAAA;IACpB,iBAAiB,EAAE,iBAAiB,CAAA;IACpC,MAAM,EAAE,eAAe,CAAA;CACxB;AAED,wBAAgB,IAAI,CAAE,IAAI,GAAE,QAAa,GAAG,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAE/E"}
|
package/dist/src/index.js
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
* ```typescript
|
9
9
|
* import { noise } from '@chainsafe/libp2p-noise'
|
10
10
|
* import { yamux } from '@chainsafe/libp2p-yamux'
|
11
|
-
* import { mplex } from '@libp2p/mplex'
|
12
11
|
* import { tcp } from '@libp2p/tcp'
|
13
12
|
* import { createLibp2p, type Libp2p } from 'libp2p'
|
14
13
|
* import { plaintext } from '@libp2p/plaintext'
|
@@ -28,11 +27,11 @@
|
|
28
27
|
* transports: [
|
29
28
|
* tcp()
|
30
29
|
* ],
|
31
|
-
*
|
30
|
+
* connectionEncrypters: [
|
32
31
|
* noise(), plaintext()
|
33
32
|
* ],
|
34
33
|
* streamMuxers: [
|
35
|
-
* yamux()
|
34
|
+
* yamux()
|
36
35
|
* ],
|
37
36
|
* services: {
|
38
37
|
* perf: perf()
|
package/dist/src/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AAEH,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAA;AA6CrD,MAAM,UAAU,IAAI,CAAE,OAAiB,EAAE;IACvC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,IAAI,SAAS,CAAC,UAAU,EAAE,IAAI,CAAC,CAAA;AACxD,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@libp2p/perf",
|
3
|
-
"version": "3.1.5-
|
3
|
+
"version": "3.1.5-b6681bd25",
|
4
4
|
"description": "Implementation of Perf Protocol",
|
5
5
|
"author": "@maschad / @marcopolo",
|
6
6
|
"license": "Apache-2.0 OR MIT",
|
@@ -52,14 +52,14 @@
|
|
52
52
|
"doc-check": "aegir doc-check"
|
53
53
|
},
|
54
54
|
"dependencies": {
|
55
|
-
"@libp2p/interface": "1.7.0-
|
56
|
-
"@libp2p/interface-internal": "1.3.4-
|
55
|
+
"@libp2p/interface": "1.7.0-b6681bd25",
|
56
|
+
"@libp2p/interface-internal": "1.3.4-b6681bd25",
|
57
57
|
"@multiformats/multiaddr": "^12.2.3",
|
58
58
|
"it-pushable": "^3.2.3"
|
59
59
|
},
|
60
60
|
"devDependencies": {
|
61
|
-
"@libp2p/interface-compliance-tests": "5.4.12-
|
62
|
-
"@libp2p/logger": "4.0.20-
|
61
|
+
"@libp2p/interface-compliance-tests": "5.4.12-b6681bd25",
|
62
|
+
"@libp2p/logger": "4.0.20-b6681bd25",
|
63
63
|
"aegir": "^44.0.1",
|
64
64
|
"it-last": "^3.0.6",
|
65
65
|
"it-pair": "^2.0.6",
|
package/src/index.ts
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
* ```typescript
|
9
9
|
* import { noise } from '@chainsafe/libp2p-noise'
|
10
10
|
* import { yamux } from '@chainsafe/libp2p-yamux'
|
11
|
-
* import { mplex } from '@libp2p/mplex'
|
12
11
|
* import { tcp } from '@libp2p/tcp'
|
13
12
|
* import { createLibp2p, type Libp2p } from 'libp2p'
|
14
13
|
* import { plaintext } from '@libp2p/plaintext'
|
@@ -28,11 +27,11 @@
|
|
28
27
|
* transports: [
|
29
28
|
* tcp()
|
30
29
|
* ],
|
31
|
-
*
|
30
|
+
* connectionEncrypters: [
|
32
31
|
* noise(), plaintext()
|
33
32
|
* ],
|
34
33
|
* streamMuxers: [
|
35
|
-
* yamux()
|
34
|
+
* yamux()
|
36
35
|
* ],
|
37
36
|
* services: {
|
38
37
|
* perf: perf()
|