From c50cee5d57493198c5996c626d1a7e77b0272486 Mon Sep 17 00:00:00 2001 From: Guilherme Lawless Date: Thu, 18 Apr 2019 09:27:07 +0100 Subject: [PATCH] Set ack --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index b05dcde..8a04d0f 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,8 @@ const ws = new ReconnectingWebSocket('ws://[::1]:7078', [], { ws.onopen = () => { const confirmation_subscription = { "action": "subscribe", - "topic": "confirmation" + "topic": "confirmation", + "ack": true, } ws.send(JSON.stringify(confirmation_subscription));