Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gram-tgcalls

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gram-tgcalls - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

3

lib/index.d.ts

@@ -15,6 +15,5 @@ /// <reference types="node" />

resume(chatId: number): boolean | null;
stop(chatId: number): boolean | null;
leave(chatId: number): Promise<boolean | null>;
stop(chatId: number): Promise<boolean | null>;
connected(chatId: number): boolean;
finished(chatId: number): boolean | null;
}

@@ -64,16 +64,5 @@ "use strict";

}
stop(chatId) {
async stop(chatId) {
const connection = __classPrivateFieldGet(this, _GramTGCalls_connections, "f").get(chatId);
if (connection) {
if (!connection.stream.finished) {
connection.stream.stop();
return true;
}
return false;
}
return null;
}
async leave(chatId) {
const connection = __classPrivateFieldGet(this, _GramTGCalls_connections, "f").get(chatId);
if (connection) {
const result = await calls_1.leaveCall(this.client, chatId);

@@ -80,0 +69,0 @@ if (result) {

{
"name": "gram-tgcalls",
"version": "1.3.2",
"version": "1.3.3",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc