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 2.1.7 to 2.1.8

2

lib/index.d.ts

@@ -56,3 +56,3 @@ import { Api, TelegramClient } from 'telegram';

/**
* Stops the stream, closes the WebRTC connection, sends leave request to Telegram and frees up resources. Returns `false` if not in call or `true` if successful.
* Stops the streams, closes the WebRTC connection, sends leave request to Telegram and frees up resources. Returns `false` if not in call or `true` if successful.
*/

@@ -59,0 +59,0 @@ stop(): Promise<boolean>;

@@ -229,8 +229,11 @@ "use strict";

/**
* Stops the stream, closes the WebRTC connection, sends leave request to Telegram and frees up resources. Returns `false` if not in call or `true` if successful.
* Stops the streams, closes the WebRTC connection, sends leave request to Telegram and frees up resources. Returns `false` if not in call or `true` if successful.
*/
async stop() {
var _a, _b;
if (!this.call) {
return false;
}
(_a = this.audioStream) === null || _a === void 0 ? void 0 : _a.stop();
(_b = this.videoStream) === null || _b === void 0 ? void 0 : _b.stop();
this.close();

@@ -237,0 +240,0 @@ await calls.leave(this.client, this.call);

{
"name": "gram-tgcalls",
"version": "2.1.7",
"version": "2.1.8",
"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