|
|
|
@ -36,8 +36,8 @@ Provider.prototype.sendAsync = function (payload, callback) { |
|
|
|
|
callback(new Error('unknown method ' + payload.method)) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Provider.prototype.send = function(payload, callback) { |
|
|
|
|
this.sendAsync(payload, callback || () => {}) |
|
|
|
|
Provider.prototype.send = function (payload, callback) { |
|
|
|
|
this.sendAsync(payload, callback || function () {}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Provider.prototype.isConnected = function () { |
|
|
|
|