@crypticat/core
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -47,2 +47,8 @@ "use strict"; | ||
let room = null; | ||
const interval = setInterval(() => { | ||
ws.send(JSON.stringify({ | ||
action: 'PING', | ||
payload: {} | ||
})); | ||
}, 1000); | ||
const leaveRoom = () => __awaiter(this, void 0, void 0, function* () { | ||
@@ -168,2 +174,3 @@ lib_1.assertDefined(room); | ||
leaveRoom(); | ||
clearInterval(interval); | ||
}); | ||
@@ -170,0 +177,0 @@ })); |
{ | ||
"name": "@crypticat/core", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "Crypticat's core client and server implementation", | ||
@@ -5,0 +5,0 @@ "author": "Kognise <felix.mattick@gmail.com>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37980
485