gotgcalls-server
Advanced tools
Comparing version 0.0.0-rc.3 to 0.0.0-rc.4
@@ -29,3 +29,3 @@ "use strict"; | ||
const tgcalls = new base_tgcalls_1.BaseTGCalls(null); | ||
tgcalls.joinVoiceCall = (payload) => this.connection.dispatch("joinCall", { chatId, payload }); | ||
tgcalls.joinVoiceCall = async (payload) => JSON.parse(await this.connection.dispatch("joinCall", { chatId, payload })); | ||
const stream = new base_tgcalls_1.Stream(readable); | ||
@@ -32,0 +32,0 @@ stream.on("finish", () => { |
{ | ||
"name": "gotgcalls-server", | ||
"version": "0.0.0-rc.3", | ||
"version": "0.0.0-rc.4", | ||
"main": "dist/index.js", | ||
@@ -10,3 +10,3 @@ "bin": "dist/index.js", | ||
}, | ||
"author": "Roj Serbest <ez@roj.im>", | ||
"author": "Roj <ez@roj.im>", | ||
"license": "LGPL-3.0-or-later", | ||
@@ -13,0 +13,0 @@ "dependencies": { |
@@ -30,4 +30,6 @@ import { createReadStream } from "fs"; | ||
const tgcalls = new BaseTGCalls(null); | ||
tgcalls.joinVoiceCall = (payload) => | ||
this.connection.dispatch("joinCall", { chatId, payload }); | ||
tgcalls.joinVoiceCall = async (payload) => | ||
JSON.parse( | ||
await this.connection.dispatch("joinCall", { chatId, payload }), | ||
); | ||
const stream = new Stream(readable); | ||
@@ -34,0 +36,0 @@ stream.on("finish", () => { |
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
21744
448