From dce22ba37c69b77c9252c78cfa0e5ce4c684fab9 Mon Sep 17 00:00:00 2001 From: Dave Hrycyszyn Date: Tue, 26 May 2020 18:32:48 +0100 Subject: [PATCH] Last docs fixes --- clients/webassembly/client.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clients/webassembly/client.js b/clients/webassembly/client.js index dd63395716..6d80a70dcb 100644 --- a/clients/webassembly/client.js +++ b/clients/webassembly/client.js @@ -136,7 +136,7 @@ export class Client { * NOTE: this currently does not implement chunking and messages over ~1KB * will cause a panic. This will be fixed in a future version. * - * `message` must be text at the moment. Binary `Blob` and `ArrayBuffer` + * `message` must be a {string} at the moment. Binary `Blob` and `ArrayBuffer` * will be supported soon. * * @param {*} message @@ -152,7 +152,6 @@ export class Client { console.error("Binary messages are not yet supported"); return } - console.log("send", this.topology) const sphinxPacket = wasm.create_sphinx_packet(JSON.stringify(this.topology), message, recipient); this.gateway.conn.send(sphinxPacket); this.onMessageSend();