@libp2p/devtools-metrics 0.2.0 → 0.2.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/dist/index.min.js +1 -1
- package/dist/src/index.d.ts +24 -95
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +66 -131
- package/dist/src/index.js.map +1 -1
- package/dist/src/rpc/codecs/cid.d.ts +4 -0
- package/dist/src/rpc/codecs/cid.d.ts.map +1 -0
- package/dist/src/rpc/codecs/cid.js +8 -0
- package/dist/src/rpc/codecs/cid.js.map +1 -0
- package/dist/src/rpc/codecs/custom-progress-event.d.ts +4 -0
- package/dist/src/rpc/codecs/custom-progress-event.d.ts.map +1 -0
- package/dist/src/rpc/codecs/custom-progress-event.js +15 -0
- package/dist/src/rpc/codecs/custom-progress-event.js.map +1 -0
- package/dist/src/rpc/codecs/multiaddr.d.ts +4 -0
- package/dist/src/rpc/codecs/multiaddr.d.ts.map +1 -0
- package/dist/src/rpc/codecs/multiaddr.js +8 -0
- package/dist/src/rpc/codecs/multiaddr.js.map +1 -0
- package/dist/src/rpc/codecs/peer-id.d.ts +4 -0
- package/dist/src/rpc/codecs/peer-id.d.ts.map +1 -0
- package/dist/src/rpc/codecs/peer-id.js +9 -0
- package/dist/src/rpc/codecs/peer-id.js.map +1 -0
- package/dist/src/rpc/index.d.ts +99 -0
- package/dist/src/rpc/index.d.ts.map +1 -0
- package/dist/src/rpc/index.js +11 -0
- package/dist/src/rpc/index.js.map +1 -0
- package/dist/src/rpc/rpc.d.ts +4 -0
- package/dist/src/rpc/rpc.d.ts.map +1 -0
- package/dist/src/rpc/rpc.js +51 -0
- package/dist/src/rpc/rpc.js.map +1 -0
- package/dist/src/utils/debounce.d.ts +2 -0
- package/dist/src/utils/debounce.d.ts.map +1 -0
- package/dist/src/utils/debounce.js +21 -0
- package/dist/src/utils/debounce.js.map +1 -0
- package/dist/src/utils/get-peers.d.ts +9 -0
- package/dist/src/utils/get-peers.d.ts.map +1 -0
- package/dist/src/utils/get-peers.js +42 -0
- package/dist/src/utils/get-peers.js.map +1 -0
- package/dist/src/utils/get-self.d.ts +8 -0
- package/dist/src/utils/get-self.d.ts.map +1 -0
- package/dist/src/utils/get-self.js +13 -0
- package/dist/src/utils/get-self.js.map +1 -0
- package/dist/src/utils/to-object.d.ts +2 -0
- package/dist/src/utils/to-object.d.ts.map +1 -0
- package/dist/src/utils/to-object.js +8 -0
- package/dist/src/utils/to-object.js.map +1 -0
- package/dist/typedoc-urls.json +17 -13
- package/package.json +34 -8
- package/src/index.ts +101 -257
- package/src/rpc/codecs/cid.ts +9 -0
- package/src/rpc/codecs/custom-progress-event.ts +17 -0
- package/src/rpc/codecs/multiaddr.ts +10 -0
- package/src/rpc/codecs/peer-id.ts +11 -0
- package/src/rpc/index.ts +122 -0
- package/src/rpc/rpc.ts +59 -0
- package/src/utils/debounce.ts +23 -0
- package/src/utils/get-peers.ts +53 -0
- package/src/utils/get-self.ts +21 -0
- package/src/utils/to-object.ts +9 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { base64 } from 'multiformats/bases/base64';
|
|
2
|
+
import { toObject } from './to-object.js';
|
|
3
|
+
export async function getPeers(components, log) {
|
|
4
|
+
const peers = [];
|
|
5
|
+
const connections = components.connectionManager.getConnectionsMap();
|
|
6
|
+
const connectedAddresses = [...connections.values()].flatMap(conn => conn).map(conn => conn.remoteAddr.toString());
|
|
7
|
+
for (const [peerId, conns] of connections.entries()) {
|
|
8
|
+
try {
|
|
9
|
+
const peer = await components.peerStore.get(peerId);
|
|
10
|
+
peers.push({
|
|
11
|
+
id: peerId,
|
|
12
|
+
addresses: peer.addresses.map(({ isCertified, multiaddr }) => {
|
|
13
|
+
return {
|
|
14
|
+
multiaddr,
|
|
15
|
+
isCertified,
|
|
16
|
+
isConnected: connectedAddresses.includes(multiaddr.toString())
|
|
17
|
+
};
|
|
18
|
+
}),
|
|
19
|
+
protocols: [...peer.protocols],
|
|
20
|
+
tags: toObject(peer.tags, (t) => t.value),
|
|
21
|
+
metadata: toObject(peer.metadata, (buf) => base64.encode(buf))
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
catch (err) {
|
|
25
|
+
log.error('could not load peer data from peer store', err);
|
|
26
|
+
peers.push({
|
|
27
|
+
id: peerId,
|
|
28
|
+
addresses: conns.map(conn => {
|
|
29
|
+
return {
|
|
30
|
+
multiaddr: conn.remoteAddr,
|
|
31
|
+
isConnected: connectedAddresses.includes(conn.remoteAddr.toString())
|
|
32
|
+
};
|
|
33
|
+
}),
|
|
34
|
+
protocols: [],
|
|
35
|
+
tags: {},
|
|
36
|
+
metadata: {}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return peers;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=get-peers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-peers.js","sourceRoot":"","sources":["../../../src/utils/get-peers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAUzC,MAAM,CAAC,KAAK,UAAU,QAAQ,CAAE,UAAsB,EAAE,GAAW;IACjE,MAAM,KAAK,GAAW,EAAE,CAAA;IACxB,MAAM,WAAW,GAAG,UAAU,CAAC,iBAAiB,CAAC,iBAAiB,EAAE,CAAA;IACpE,MAAM,kBAAkB,GAAG,CAAC,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA;IAElH,KAAK,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,WAAW,CAAC,OAAO,EAAE,EAAE,CAAC;QACpD,IAAI,CAAC;YACH,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;YAEnD,KAAK,CAAC,IAAI,CAAC;gBACT,EAAE,EAAE,MAAM;gBACV,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,EAAE;oBAC3D,OAAO;wBACL,SAAS;wBACT,WAAW;wBACX,WAAW,EAAE,kBAAkB,CAAC,QAAQ,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC;qBAC/D,CAAA;gBACH,CAAC,CAAC;gBACF,SAAS,EAAE,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;gBAC9B,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;gBACzC,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;aAC/D,CAAC,CAAA;QACJ,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,GAAG,CAAC,KAAK,CAAC,0CAA0C,EAAE,GAAG,CAAC,CAAA;YAE1D,KAAK,CAAC,IAAI,CAAC;gBACT,EAAE,EAAE,MAAM;gBACV,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBAC1B,OAAO;wBACL,SAAS,EAAE,IAAI,CAAC,UAAU;wBAC1B,WAAW,EAAE,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC;qBACrE,CAAA;gBACH,CAAC,CAAC;gBACF,SAAS,EAAE,EAAE;gBACb,IAAI,EAAE,EAAE;gBACR,QAAQ,EAAE,EAAE;aACb,CAAC,CAAA;QACJ,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Peer } from '../rpc/index.js';
|
|
2
|
+
import type { PeerId, PeerStore } from '@libp2p/interface';
|
|
3
|
+
export interface Components {
|
|
4
|
+
peerId: PeerId;
|
|
5
|
+
peerStore: PeerStore;
|
|
6
|
+
}
|
|
7
|
+
export declare function getSelf(components: Components): Promise<Peer>;
|
|
8
|
+
//# sourceMappingURL=get-self.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-self.d.ts","sourceRoot":"","sources":["../../../src/utils/get-self.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAE1D,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,SAAS,CAAA;CACrB;AAED,wBAAsB,OAAO,CAAE,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAUpE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { base64 } from 'multiformats/bases/base64';
|
|
2
|
+
import { toObject } from './to-object.js';
|
|
3
|
+
export async function getSelf(components) {
|
|
4
|
+
const peer = await components.peerStore.get(components.peerId);
|
|
5
|
+
return {
|
|
6
|
+
id: peer.id,
|
|
7
|
+
addresses: peer.addresses,
|
|
8
|
+
protocols: [...peer.protocols],
|
|
9
|
+
tags: toObject(peer.tags, (t) => t.value),
|
|
10
|
+
metadata: toObject(peer.metadata, (buf) => base64.encode(buf))
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=get-self.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-self.js","sourceRoot":"","sources":["../../../src/utils/get-self.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AASzC,MAAM,CAAC,KAAK,UAAU,OAAO,CAAE,UAAsB;IACnD,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA;IAE9D,OAAO;QACL,EAAE,EAAE,IAAI,CAAC,EAAE;QACX,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,SAAS,EAAE,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;QAC9B,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;QACzC,QAAQ,EAAE,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;KAC/D,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to-object.d.ts","sourceRoot":"","sources":["../../../src/utils/to-object.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAE,CAAC,EAAE,CAAC,EAAG,GAAG,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,CAQnG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to-object.js","sourceRoot":"","sources":["../../../src/utils/to-object.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,QAAQ,CAAS,GAAmB,EAAE,SAA0B;IAC9E,MAAM,MAAM,GAAwB,EAAE,CAAA;IAEtC,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC;QACzC,MAAM,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,CAAA;IAChC,CAAC;IAED,OAAO,MAAM,CAAA;AACf,CAAC"}
|
package/dist/typedoc-urls.json
CHANGED
|
@@ -3,28 +3,30 @@
|
|
|
3
3
|
".:Address": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.Address.html",
|
|
4
4
|
"CopyToClipboardMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.CopyToClipboardMessage.html",
|
|
5
5
|
".:CopyToClipboardMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.CopyToClipboardMessage.html",
|
|
6
|
+
"DevToolsEvents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.DevToolsEvents.html",
|
|
7
|
+
"./rpc:DevToolsEvents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.DevToolsEvents.html",
|
|
6
8
|
"DevToolsMetricsComponents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.DevToolsMetricsComponents.html",
|
|
7
9
|
".:DevToolsMetricsComponents": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.DevToolsMetricsComponents.html",
|
|
8
10
|
"DevToolsMetricsInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.DevToolsMetricsInit.html",
|
|
9
11
|
".:DevToolsMetricsInit": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.DevToolsMetricsInit.html",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
12
|
+
"DevToolsRPC": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.DevToolsRPC.html",
|
|
13
|
+
"./rpc:DevToolsRPC": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.DevToolsRPC.html",
|
|
14
|
+
"MetricsRPC": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.MetricsRPC.html",
|
|
15
|
+
"./rpc:MetricsRPC": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.MetricsRPC.html",
|
|
16
|
+
"NodeAddress": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.NodeAddress.html",
|
|
17
|
+
"./rpc:NodeAddress": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.NodeAddress.html",
|
|
18
|
+
"NodeStatus": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.NodeStatus.html",
|
|
19
|
+
"./rpc:NodeStatus": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.NodeStatus.html",
|
|
16
20
|
"PageLoadedMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.PageLoadedMessage.html",
|
|
17
21
|
".:PageLoadedMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.PageLoadedMessage.html",
|
|
18
22
|
"Peer": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.Peer.html",
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
23
|
+
"./rpc:Peer": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.Peer.html",
|
|
24
|
+
"PeerAddress": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.PeerAddress.html",
|
|
25
|
+
"./rpc:PeerAddress": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.PeerAddress.html",
|
|
22
26
|
"PermissionsErrorMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.PermissionsErrorMessage.html",
|
|
23
27
|
".:PermissionsErrorMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.PermissionsErrorMessage.html",
|
|
24
|
-
"
|
|
25
|
-
".:
|
|
26
|
-
"SelfPeer": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.SelfPeer.html",
|
|
27
|
-
".:SelfPeer": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.SelfPeer.html",
|
|
28
|
+
"RPCMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.RPCMessage.html",
|
|
29
|
+
".:RPCMessage": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_devtools_metrics.RPCMessage.html",
|
|
28
30
|
"ApplicationMessage": "https://libp2p.github.io/js-libp2p/types/_libp2p_devtools_metrics.ApplicationMessage.html",
|
|
29
31
|
".:ApplicationMessage": "https://libp2p.github.io/js-libp2p/types/_libp2p_devtools_metrics.ApplicationMessage.html",
|
|
30
32
|
"DevToolsMessage": "https://libp2p.github.io/js-libp2p/types/_libp2p_devtools_metrics.DevToolsMessage.html",
|
|
@@ -41,6 +43,8 @@
|
|
|
41
43
|
".:SOURCE_METRICS": "https://libp2p.github.io/js-libp2p/variables/_libp2p_devtools_metrics.SOURCE_METRICS.html",
|
|
42
44
|
"SOURCE_SERVICE_WORKER": "https://libp2p.github.io/js-libp2p/variables/_libp2p_devtools_metrics.SOURCE_SERVICE_WORKER.html",
|
|
43
45
|
".:SOURCE_SERVICE_WORKER": "https://libp2p.github.io/js-libp2p/variables/_libp2p_devtools_metrics.SOURCE_SERVICE_WORKER.html",
|
|
46
|
+
"valueCodecs": "https://libp2p.github.io/js-libp2p/variables/_libp2p_devtools_metrics.valueCodecs.html",
|
|
47
|
+
"./rpc:valueCodecs": "https://libp2p.github.io/js-libp2p/variables/_libp2p_devtools_metrics.valueCodecs.html",
|
|
44
48
|
"devToolsMetrics": "https://libp2p.github.io/js-libp2p/functions/_libp2p_devtools_metrics.devToolsMetrics.html",
|
|
45
49
|
".:devToolsMetrics": "https://libp2p.github.io/js-libp2p/functions/_libp2p_devtools_metrics.devToolsMetrics.html"
|
|
46
50
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libp2p/devtools-metrics",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Collect libp2p metrics and send them to browser DevTools",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "Apache-2.0 OR MIT",
|
|
@@ -18,6 +18,22 @@
|
|
|
18
18
|
},
|
|
19
19
|
"type": "module",
|
|
20
20
|
"types": "./dist/src/index.d.ts",
|
|
21
|
+
"typesVersions": {
|
|
22
|
+
"*": {
|
|
23
|
+
"*": [
|
|
24
|
+
"*",
|
|
25
|
+
"dist/*",
|
|
26
|
+
"dist/src/*",
|
|
27
|
+
"dist/src/*/index"
|
|
28
|
+
],
|
|
29
|
+
"src/*": [
|
|
30
|
+
"*",
|
|
31
|
+
"dist/*",
|
|
32
|
+
"dist/src/*",
|
|
33
|
+
"dist/src/*/index"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
21
37
|
"files": [
|
|
22
38
|
"src",
|
|
23
39
|
"dist",
|
|
@@ -28,6 +44,10 @@
|
|
|
28
44
|
".": {
|
|
29
45
|
"types": "./dist/src/index.d.ts",
|
|
30
46
|
"import": "./dist/src/index.js"
|
|
47
|
+
},
|
|
48
|
+
"./rpc": {
|
|
49
|
+
"types": "./dist/src/rpc/index.d.ts",
|
|
50
|
+
"import": "./dist/src/rpc/index.js"
|
|
31
51
|
}
|
|
32
52
|
},
|
|
33
53
|
"eslintConfig": {
|
|
@@ -47,16 +67,22 @@
|
|
|
47
67
|
"test:chrome": "aegir test -t browser --cov"
|
|
48
68
|
},
|
|
49
69
|
"dependencies": {
|
|
50
|
-
"@libp2p/interface": "^1.
|
|
51
|
-
"@libp2p/interface-internal": "^1.
|
|
52
|
-
"@libp2p/logger": "^4.0.
|
|
53
|
-
"@libp2p/
|
|
54
|
-
"
|
|
70
|
+
"@libp2p/interface": "^1.6.0",
|
|
71
|
+
"@libp2p/interface-internal": "^1.3.0",
|
|
72
|
+
"@libp2p/logger": "^4.0.16",
|
|
73
|
+
"@libp2p/peer-id": "^4.2.0",
|
|
74
|
+
"@libp2p/simple-metrics": "^1.1.1",
|
|
75
|
+
"@multiformats/multiaddr": "^12.3.0",
|
|
76
|
+
"cborg": "^4.2.2",
|
|
77
|
+
"it-pipe": "^3.0.1",
|
|
78
|
+
"it-pushable": "^3.2.3",
|
|
79
|
+
"it-rpc": "^1.0.0",
|
|
80
|
+
"multiformats": "^13.1.0",
|
|
81
|
+
"progress-events": "^1.0.0"
|
|
55
82
|
},
|
|
56
83
|
"devDependencies": {
|
|
57
|
-
"@libp2p/peer-id-factory": "^4.
|
|
84
|
+
"@libp2p/peer-id-factory": "^4.2.0",
|
|
58
85
|
"aegir": "^43.0.1",
|
|
59
|
-
"race-event": "^1.3.0",
|
|
60
86
|
"sinon-ts": "^2.0.0"
|
|
61
87
|
},
|
|
62
88
|
"sideEffects": false
|