gram-tgcalls
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -18,2 +18,3 @@ /// <reference types="node" /> | ||
connected(chatId: number): boolean; | ||
finished(chatId: number): boolean | null; | ||
} |
@@ -90,4 +90,11 @@ "use strict"; | ||
} | ||
finished(chatId) { | ||
const connection = __classPrivateFieldGet(this, _GramTGCalls_connections, "f").get(chatId); | ||
if (connection) { | ||
return connection.stream.finished; | ||
} | ||
return null; | ||
} | ||
} | ||
exports.GramTGCalls = GramTGCalls; | ||
_GramTGCalls_connections = new WeakMap(); |
{ | ||
"name": "gram-tgcalls", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
16006
178