|
|
@ -4,6 +4,8 @@ |
|
|
|
|
|
|
|
'use strict'; |
|
|
|
|
|
|
|
const DTP_COMPONENT = { name: 'Socket', slug: 'socket' }; |
|
|
|
|
|
|
|
window.dtp = window.dtp || { }; |
|
|
|
|
|
|
|
import DtpWebLog from './dtp-log.js'; |
|
|
@ -14,8 +16,7 @@ export default class DtpWebSocket { |
|
|
|
this.isConnected = false; |
|
|
|
this.isAuthenticated = false; |
|
|
|
this.joinedChannels = { }; |
|
|
|
|
|
|
|
this.log = new DtpWebLog('DtpWebSocket'); |
|
|
|
this.log = new DtpWebLog(DTP_COMPONENT); |
|
|
|
} |
|
|
|
|
|
|
|
async connect (options) { |
|
|
|