fix: pubsub publish message should be uint8array (#77)

This commit is contained in:
Vasco Santos
2020-12-11 10:01:39 +01:00
committed by GitHub
parent f4c19c9ef2
commit 5b99e6b56b

View File

@ -644,7 +644,7 @@ class PubsubBaseProtocol extends EventEmitter {
* *
* @override * @override
* @param {string} topic * @param {string} topic
* @param {Buffer} message * @param {Uint8Array} message
* @returns {Promise<void>} * @returns {Promise<void>}
*/ */
async publish (topic, message) { async publish (topic, message) {