libp2p 0.46.0-8f855a3c → 0.46.0-c858ca7f

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.
@@ -1,3 +1,3 @@
1
- export declare const version = "0.46.0-8f855a3c";
1
+ export declare const version = "0.46.0-c858ca7f";
2
2
  export declare const name = "libp2p";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1,3 +1,3 @@
1
- export const version = '0.46.0-8f855a3c';
1
+ export const version = '0.46.0-c858ca7f';
2
2
  export const name = 'libp2p';
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libp2p",
3
- "version": "0.46.0-8f855a3c",
3
+ "version": "0.46.0-c858ca7f",
4
4
  "description": "JavaScript implementation of libp2p, a modular peer to peer network stack",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/libp2p#readme",
@@ -115,18 +115,18 @@
115
115
  },
116
116
  "dependencies": {
117
117
  "@achingbrain/nat-port-mapper": "^1.0.9",
118
- "@libp2p/crypto": "2.0.0-8f855a3c",
119
- "@libp2p/interface": "0.1.0-8f855a3c",
120
- "@libp2p/interface-internal": "0.1.0-8f855a3c",
121
- "@libp2p/keychain": "3.0.0-8f855a3c",
122
- "@libp2p/logger": "3.0.0-8f855a3c",
123
- "@libp2p/multistream-select": "4.0.0-8f855a3c",
124
- "@libp2p/peer-collections": "4.0.0-8f855a3c",
125
- "@libp2p/peer-id": "3.0.0-8f855a3c",
126
- "@libp2p/peer-id-factory": "3.0.0-8f855a3c",
127
- "@libp2p/peer-record": "6.0.0-8f855a3c",
128
- "@libp2p/peer-store": "9.0.0-8f855a3c",
129
- "@libp2p/utils": "4.0.0-8f855a3c",
118
+ "@libp2p/crypto": "2.0.0-c858ca7f",
119
+ "@libp2p/interface": "0.1.0-c858ca7f",
120
+ "@libp2p/interface-internal": "0.1.0-c858ca7f",
121
+ "@libp2p/keychain": "3.0.0-c858ca7f",
122
+ "@libp2p/logger": "3.0.0-c858ca7f",
123
+ "@libp2p/multistream-select": "4.0.0-c858ca7f",
124
+ "@libp2p/peer-collections": "4.0.0-c858ca7f",
125
+ "@libp2p/peer-id": "3.0.0-c858ca7f",
126
+ "@libp2p/peer-id-factory": "3.0.0-c858ca7f",
127
+ "@libp2p/peer-record": "6.0.0-c858ca7f",
128
+ "@libp2p/peer-store": "9.0.0-c858ca7f",
129
+ "@libp2p/utils": "4.0.0-c858ca7f",
130
130
  "@multiformats/mafmt": "^12.1.2",
131
131
  "@multiformats/multiaddr": "^12.1.3",
132
132
  "abortable-iterator": "^5.0.1",
@@ -163,17 +163,17 @@
163
163
  "@chainsafe/libp2p-gossipsub": "^9.0.0",
164
164
  "@chainsafe/libp2p-noise": "^12.0.0",
165
165
  "@chainsafe/libp2p-yamux": "^4.0.0",
166
- "@libp2p/bootstrap": "9.0.0-8f855a3c",
166
+ "@libp2p/bootstrap": "9.0.0-c858ca7f",
167
167
  "@libp2p/daemon-client": "^7.0.0",
168
168
  "@libp2p/daemon-server": "^6.0.0",
169
- "@libp2p/floodsub": "8.0.0-8f855a3c",
170
- "@libp2p/interface-compliance-tests": "4.0.0-8f855a3c",
169
+ "@libp2p/floodsub": "8.0.0-c858ca7f",
170
+ "@libp2p/interface-compliance-tests": "4.0.0-c858ca7f",
171
171
  "@libp2p/interop": "^9.0.0",
172
- "@libp2p/kad-dht": "10.0.0-8f855a3c",
173
- "@libp2p/mdns": "9.0.0-8f855a3c",
174
- "@libp2p/mplex": "9.0.0-8f855a3c",
175
- "@libp2p/tcp": "8.0.0-8f855a3c",
176
- "@libp2p/websockets": "7.0.0-8f855a3c",
172
+ "@libp2p/kad-dht": "10.0.0-c858ca7f",
173
+ "@libp2p/mdns": "9.0.0-c858ca7f",
174
+ "@libp2p/mplex": "9.0.0-c858ca7f",
175
+ "@libp2p/tcp": "8.0.0-c858ca7f",
176
+ "@libp2p/websockets": "7.0.0-c858ca7f",
177
177
  "@types/varint": "^6.0.0",
178
178
  "@types/xsalsa20": "^1.1.0",
179
179
  "aegir": "^40.0.1",
@@ -0,0 +1,18 @@
1
+ libp2p-ping JavaScript Implementation
2
+ =====================================
3
+
4
+ > IPFS ping protocol JavaScript implementation
5
+
6
+ **Note**: git history prior to merging into js-libp2p can be found in the original repository, https://github.com/libp2p/js-libp2p-ping.
7
+
8
+ ## Usage
9
+
10
+ ```javascript
11
+ import Ping from 'libp2p/src/ping'
12
+
13
+ Ping.mount(libp2p) // Enable this peer to echo Ping requests
14
+
15
+ const latency = await Ping(libp2p, peerDst)
16
+
17
+ Ping.unmount(libp2p)
18
+ ```
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
- export const version = '0.46.0-8f855a3c'
1
+ export const version = '0.46.0-c858ca7f'
2
2
  export const name = 'libp2p'