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.
- package/package.json +1 -1
- package/src/index.js +2 -1
package/package.json
CHANGED
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
|
|
358
|
+
console.log('DHT node is listening');
|
|
358
359
|
}
|
|
359
360
|
|
|
360
361
|
async _open() {
|