hypercore 10.21.5 → 10.22.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.
Files changed (2) hide show
  1. package/index.js +1 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -123,6 +123,7 @@ module.exports = class Hypercore extends EventEmitter {
123
123
  else peers = '[ ' + opts.stylize(0, 'number') + ' ]'
124
124
 
125
125
  return this.constructor.name + '(\n' +
126
+ indent + ' id: ' + opts.stylize(this.id, 'string') + '\n' +
126
127
  indent + ' key: ' + opts.stylize(toHex(this.key), 'string') + '\n' +
127
128
  indent + ' discoveryKey: ' + opts.stylize(toHex(this.discoveryKey), 'string') + '\n' +
128
129
  indent + ' opened: ' + opts.stylize(this.opened, 'boolean') + '\n' +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "10.21.5",
3
+ "version": "10.22.0",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {