From ff4cf757a847943617078e7c0b97ced054a2f6e0 Mon Sep 17 00:00:00 2001 From: robberfree Date: Fri, 12 Aug 2022 04:42:35 +0800 Subject: [PATCH] typo: use var instead of const (#412) Make all code ES5 across the SDK --- device/lib/ws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/lib/ws.js b/device/lib/ws.js index 18043d0..387c2b7 100644 --- a/device/lib/ws.js +++ b/device/lib/ws.js @@ -16,7 +16,7 @@ //node.js deps //npm deps -const websocket = require('websocket-stream'); +var websocket = require('websocket-stream'); //app deps