diff --git a/package.json b/package.json index e6eb4ef..640b3fa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ancient-peer", - "version": "0.0.5", + "version": "0.0.6", "description": "Universal router queries and bundles.", "main": "lib/index.js", "scripts": { diff --git a/src/lib/peer.js b/src/lib/peer.js index c4573f5..0d3c814 100644 --- a/src/lib/peer.js +++ b/src/lib/peer.js @@ -49,7 +49,7 @@ export default class Peer { * @description Used when disconnecting the communication channel. */ this.channelsManager.onDisconnected = (channel) => { - this.apiManager.channelDisconnected(channel); + this.apiManager.channelDisconnected(channel.id); }; /**