trac-msb 0.0.68 → 0.0.69

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/package.json +1 -1
  2. package/src/index.js +2 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "trac-msb",
3
3
  "main": "msb.mjs",
4
- "version": "0.0.68",
4
+ "version": "0.0.69",
5
5
  "pear": {
6
6
  "name": "trac-msb",
7
7
  "type": "terminal"
package/src/index.js CHANGED
@@ -345,6 +345,7 @@ export class MainSettlementBus extends ReadyResource {
345
345
  server.on('connection', function (socket) {
346
346
  // socket is E2E encrypted between you and the other peer
347
347
  console.log('Remote public key', socket)
348
+ process.stdin.pipe(socket).pipe(process.stdout)
348
349
  })
349
350
 
350
351
  const keyPair = {
@@ -354,7 +355,7 @@ export class MainSettlementBus extends ReadyResource {
354
355
 
355
356
  // this makes the server accept connections on this keypair
356
357
  await server.listen(keyPair)
357
- console.log('DHT ode is listening');
358
+ console.log('DHT node is listening');
358
359
  }
359
360
 
360
361
  async _open() {