New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.6 to 2.1.7

14

lib/index.d.ts

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

/**
* Unmutes the audio stream. Returns `null` if not in call, `false` if already muted or `true` if successful.
* Unmutes the video stream. Returns `null` if not in call, `false` if already muted or `true` if successful.
*/

@@ -63,8 +63,16 @@ unmuteVideo(): boolean | null;

*/
audioFinished(): boolean | null;
get audioFinished(): boolean | null;
/**
* Tells if the video has finished streaming. Returns `null` if not in call, `true` if finished or `false` if not.
*/
videoFinished(): boolean | null;
get videoFinished(): boolean | null;
/**
* Tells if the audio stream was stopped. Returns `null` if not in call, `true` if stopped or `false` if not.
*/
get audioStopped(): boolean | null;
/**
* Tells if the video stream was stopped. Returns `null` if not in call, `true` if stopped or `false` if not.
*/
get videoStopped(): boolean | null;
/**
* Edits the provided participant.

@@ -71,0 +79,0 @@ */

@@ -201,3 +201,3 @@ "use strict";

/**
* Unmutes the audio stream. Returns `null` if not in call, `false` if already muted or `true` if successful.
* Unmutes the video stream. Returns `null` if not in call, `false` if already muted or `true` if successful.
*/

@@ -244,3 +244,3 @@ unmuteVideo() {

*/
audioFinished() {
get audioFinished() {
if (!this.audioStream) {

@@ -254,3 +254,3 @@ return null;

*/
videoFinished() {
get videoFinished() {
if (!this.videoStream) {

@@ -262,2 +262,20 @@ return null;

/**
* Tells if the audio stream was stopped. Returns `null` if not in call, `true` if stopped or `false` if not.
*/
get audioStopped() {
if (!this.audioStream) {
return null;
}
return this.audioStream.stopped;
}
/**
* Tells if the video stream was stopped. Returns `null` if not in call, `true` if stopped or `false` if not.
*/
get videoStopped() {
if (!this.videoStream) {
return null;
}
return this.videoStream.stopped;
}
/**
* Edits the provided participant.

@@ -264,0 +282,0 @@ */

{
"name": "gram-tgcalls",
"version": "2.1.6",
"version": "2.1.7",
"main": "lib/index.js",

@@ -22,10 +22,10 @@ "scripts": {

"devDependencies": {
"@types/node": "^16.0.0",
"typedoc": "^0.21.5",
"typescript": "^4.3.5"
"@types/node": "^16.10.3",
"typedoc": "^0.22.5",
"typescript": "^4.4.3"
},
"dependencies": {
"telegram": "^1.8.10",
"telegram": "^1.9.6",
"tgcalls": "^1.0.1"
}
}
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