diff --git a/src/index.js b/src/index.js index 90fd03371a..6137d723cd 100644 --- a/src/index.js +++ b/src/index.js @@ -345,7 +345,10 @@ class Node extends EventEmitter { let t if (typeof Transport === 'function') { - t = new Transport() + t = new Transport({ + switch: this._switch, + ...this._config[Transport.name] + }) } else { t = Transport }