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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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