New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@smartface/smartface.emulator

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smartface/smartface.emulator - npm Package Compare versions

Comparing version

to
0.0.6

6

main.js

@@ -281,5 +281,9 @@ var SMFC_WS;

var ws = new WebSocket(ws_url);
var timer = null;
ws.onopen = function() {
console.log('ws connected');
SMFC_WS = ws;
timer = setInterval(function() {
ws.send("{\"command\":\"keepAlive\"}");
}, 15000);
};

@@ -290,2 +294,4 @@ ws.onerror = function(e) {

ws.onclose = function(e) {
if (timer)
clearInterval(timer);
console.log('ws closed', e);

@@ -292,0 +298,0 @@ };

2

package.json
{
"name": "@smartface/smartface.emulator",
"version": "0.0.5",
"version": "0.0.6",
"description": "SmartfaceCloud Emulator",

@@ -5,0 +5,0 @@ "main": "main.js",