Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Commit 5b99e6b

Browse files
authored
fix: pubsub publish message should be uint8array (#77)
1 parent f4c19c9 commit 5b99e6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pubsub/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ class PubsubBaseProtocol extends EventEmitter {
644644
*
645645
* @override
646646
* @param {string} topic
647-
* @param {Buffer} message
647+
* @param {Uint8Array} message
648648
* @returns {Promise<void>}
649649
*/
650650
async publish (topic, message) {

0 commit comments

Comments
 (0)