We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39799e5 commit f2768efCopy full SHA for f2768ef
1 file changed
src/comms/i2p-socket-comms.js
@@ -1,4 +1,5 @@
1
const debug = require('debug')('dataparty.comms.i2psocket')
2
+const debugShim = require('debug')('dataparty.comms.i2psocket-shim')
3
4
const SAM = require('@diva.exchange/i2p-sam')
5
const EventEmitter = require('eventemitter3')
@@ -17,7 +18,7 @@ class I2pStreamShim extends EventEmitter {
17
18
}
19
20
this.conn.onopen = () => {
- debug('shim open')
21
+ debugShim('shim open')
22
setTimeout(()=>{this.emit('connect')}, 1)
23
24
@@ -33,7 +34,7 @@ class I2pStreamShim extends EventEmitter {
33
34
35
36
- debug('connection shim', this.conn.readyState)
37
+ debugShim('connection shim', this.conn.readyState)
38
39
40
close(){
0 commit comments