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));