ntgcalls 3.1.0-alpha01 → 3.1.0-beta01

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +9 -1
  2. package/package.json +7 -7
package/index.d.ts CHANGED
@@ -3,7 +3,6 @@ export enum MediaSource {
3
3
  UNKNOWN,
4
4
  FILE,
5
5
  SHELL,
6
- FFMPEG,
7
6
  DEVICE,
8
7
  DESKTOP,
9
8
  EXTERNAL,
@@ -312,6 +311,15 @@ export class NTgCalls {
312
311
  getEmojisFingerprint(
313
312
  chatId: bigint
314
313
  ): Promise<string>;
314
+ encryptMessage(
315
+ chatId: bigint,
316
+ data: Buffer
317
+ ): Promise<Buffer>;
318
+ decryptMessage(
319
+ chatId: bigint,
320
+ userId: bigint,
321
+ data: Buffer
322
+ ): Promise<Buffer>;
315
323
  time(
316
324
  chatId: bigint,
317
325
  mode: StreamMode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ntgcalls",
3
- "version": "3.1.0-alpha01",
3
+ "version": "3.1.0-beta01",
4
4
  "description": "A Library for creating group calls and P2P calls with WebRTC and MTProto",
5
5
  "keywords": [
6
6
  "telegram",
@@ -44,12 +44,12 @@
44
44
  "build": "cmake-js compile"
45
45
  },
46
46
  "optionalDependencies": {
47
- "@ntgcalls/linux-x64": "3.1.0-alpha01",
48
- "@ntgcalls/linux-x64-musl": "3.1.0-alpha01",
49
- "@ntgcalls/linux-arm64": "3.1.0-alpha01",
50
- "@ntgcalls/linux-arm64-musl": "3.1.0-alpha01",
51
- "@ntgcalls/darwin-arm64": "3.1.0-alpha01",
52
- "@ntgcalls/win32-x64": "3.1.0-alpha01"
47
+ "@ntgcalls/linux-x64": "3.1.0-beta01",
48
+ "@ntgcalls/linux-x64-musl": "3.1.0-beta01",
49
+ "@ntgcalls/linux-arm64": "3.1.0-beta01",
50
+ "@ntgcalls/linux-arm64-musl": "3.1.0-beta01",
51
+ "@ntgcalls/darwin-arm64": "3.1.0-beta01",
52
+ "@ntgcalls/win32-x64": "3.1.0-beta01"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^26.1.1",