@libp2p/logger 3.1.0-effcfaa8e → 3.1.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 CHANGED
@@ -7,9 +7,8 @@
7
7
 
8
8
  # About
9
9
 
10
- A map that reports it's size to the libp2p [Metrics](https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/libp2p-interfaces/src/metrics#readme) system.
11
-
12
- If metrics are disabled a regular map is used.
10
+ A logger for libp2p based on the venerable [debug](https://www.npmjs.com/package/debug)
11
+ module.
13
12
 
14
13
  ## Example
15
14
 
@@ -0,0 +1,22 @@
1
+ {
2
+ "ComponentLogger": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_logger.ComponentLogger.html",
3
+ ".:ComponentLogger": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_logger.ComponentLogger.html",
4
+ "Logger": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_logger.Logger.html",
5
+ ".:Logger": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_logger.Logger.html",
6
+ "PeerLoggerOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_logger.PeerLoggerOptions.html",
7
+ ".:PeerLoggerOptions": "https://libp2p.github.io/js-libp2p/interfaces/_libp2p_logger.PeerLoggerOptions.html",
8
+ "defaultLogger": "https://libp2p.github.io/js-libp2p/functions/_libp2p_logger.defaultLogger.html",
9
+ ".:defaultLogger": "https://libp2p.github.io/js-libp2p/functions/_libp2p_logger.defaultLogger.html",
10
+ "disable": "https://libp2p.github.io/js-libp2p/functions/_libp2p_logger.disable.html",
11
+ ".:disable": "https://libp2p.github.io/js-libp2p/functions/_libp2p_logger.disable.html",
12
+ "enable": "https://libp2p.github.io/js-libp2p/functions/_libp2p_logger.enable.html",
13
+ ".:enable": "https://libp2p.github.io/js-libp2p/functions/_libp2p_logger.enable.html",
14
+ "enabled": "https://libp2p.github.io/js-libp2p/functions/_libp2p_logger.enabled.html",
15
+ ".:enabled": "https://libp2p.github.io/js-libp2p/functions/_libp2p_logger.enabled.html",
16
+ "logger": "https://libp2p.github.io/js-libp2p/functions/_libp2p_logger.logger-1.html",
17
+ ".:logger": "https://libp2p.github.io/js-libp2p/functions/_libp2p_logger.logger-1.html",
18
+ "peerLogger": "https://libp2p.github.io/js-libp2p/functions/_libp2p_logger.peerLogger.html",
19
+ ".:peerLogger": "https://libp2p.github.io/js-libp2p/functions/_libp2p_logger.peerLogger.html",
20
+ "prefixLogger": "https://libp2p.github.io/js-libp2p/functions/_libp2p_logger.prefixLogger.html",
21
+ ".:prefixLogger": "https://libp2p.github.io/js-libp2p/functions/_libp2p_logger.prefixLogger.html"
22
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libp2p/logger",
3
- "version": "3.1.0-effcfaa8e",
3
+ "version": "3.1.0",
4
4
  "description": "A logging component for use in js-libp2p modules",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/logger#readme",
@@ -49,14 +49,14 @@
49
49
  "test:electron-main": "aegir test -t electron-main"
50
50
  },
51
51
  "dependencies": {
52
- "@libp2p/interface": "0.1.6-effcfaa8e",
52
+ "@libp2p/interface": "^0.1.6",
53
53
  "@multiformats/multiaddr": "^12.1.5",
54
54
  "debug": "^4.3.4",
55
55
  "interface-datastore": "^8.2.0",
56
56
  "multiformats": "^12.0.1"
57
57
  },
58
58
  "devDependencies": {
59
- "@libp2p/peer-id": "3.0.6-effcfaa8e",
59
+ "@libp2p/peer-id": "^3.0.6",
60
60
  "@types/debug": "^4.1.7",
61
61
  "aegir": "^41.0.2",
62
62
  "sinon": "^17.0.0",