|
|
@ -47,9 +47,9 @@ StreamProvider.prototype._onResponse = function(response){ |
|
|
|
|
|
|
|
|
|
|
|
// logging
|
|
|
|
// logging
|
|
|
|
var res = Array.isArray(response) ? response : [response] |
|
|
|
var res = Array.isArray(response) ? response : [response] |
|
|
|
;(Array.isArray(payload) ? payload : [payload]).forEach(function(payload, index){ |
|
|
|
// ;(Array.isArray(payload) ? payload : [payload]).forEach(function(payload, index){
|
|
|
|
console.log('plugin response:', payload.id, payload.method, payload.params, '->', res[index].result) |
|
|
|
// console.log('plugin response:', payload.id, payload.method, payload.params, '->', res[index].result)
|
|
|
|
}) |
|
|
|
// })
|
|
|
|
|
|
|
|
|
|
|
|
callback(null, response) |
|
|
|
callback(null, response) |
|
|
|
} |
|
|
|
} |
|
|
|