Skip to content

Releases: FOSWLY/vot.js

2.4.5

17 May 16:02
dc8fc88

Choose a tag to compare

Ext

  • Added typings for video field in getVideoData options

Core

  • Added support custom initial type for GetVideoDataOpts
  • Replaced language field type ResponseLang to string in BaseHelper
  • Added BaseHelperInterface type as base for implementations

Shared

  • Bump component version

Full Changelog: 2.4.4...2.4.5

2.4.4

14 May 11:29
290725b

Choose a tag to compare

Core

  • Added support authorization with OAuth token to use useLivelyVoice feature
new VOTClient({
  apiToken: "YOUR_OAUTH",
});

Full Changelog: 2.4.3...2.4.4

2.4.3

07 May 14:59
f9a43f6

Choose a tag to compare

Ext

  • Added proxy video url for coursehunter
  • Added typings loadVideoById, pauseVideo and mute methods for Youtube PlayerElement

Node

  • Added proxy video url for coursehunter

Core

  • Updated possible values for AudioDownloadType
  • (!) Updated VOTClient.requestVtransAudio params
  • Removed protected from requestVtransFailAudio client method

Shared

  • Updated VideoTranslationCache protobuf schema

  • Updated ChunkAudioObject protobuf schema.

    Added separated PartialAudioBufferObject schema for ChunkAudioObject (field changes: fileId (string) -> chunkId (int32))

    unknown0 renamed to version

  • Updated component version

  • Updated sec headers

Workspace

  • Updated getActualVersion (component version) script
  • Bump depends

Full Changelog: 2.4.2...2.4.3

2.4.2

03 May 15:14
5b9d833

Choose a tag to compare

Ext

  • Added support Telegram Web K (https://web.telegram.org/k/, supports only public channels)

Node

  • Added support Telegram (t.me, supports only public channels)

Full Changelog: 2.4.1...2.4.2

2.4.1

03 May 15:13
6cfe65a

Choose a tag to compare

Core, Ext, Node

  • Added support get video translation cache (translateVideoCache)
  • [!] Renamed useNewModel to useLivelyVoice in translateVideo extraOpts
  • Now uselivelyVoice is false by default, because it requires Session_id cookie in headers

Shared

  • Added TranslateVideoCache request/response to protobuf
  • [!] Renamed useNewModel to useLivelyVoice in protobuf
  • Renamed unknown1 to isLivelyVoice in VideoTranslation protobuf request
  • Updated component version to 25.4.x

Full Changelog: 2.4.0...2.4.1

2.4.0

14 Apr 21:40
e147ad8

Choose a tag to compare

Ext

  • Added export VideoService as enum (earlier only as type)
  • Added support custom VideoService type for VOTClient
  • Added support unlisted embed and groups/channels/album/showcase videos for Vimeo
  • Fixed invalid VideoService type in videoData property
  • Fixed /client/disk for Yandex Disk
  • Fixed Kodik decrypt url
  • Replaced disable eslint rules to declare global for global vars from page
  • Fixed Vimeo bug where getVideoData didn’t retrieve the correct data for private players when extraInfo was disabled.
  • Rework getVideoId for Vimeo Helper

Node

  • Added export VideoService as enum (earlier only as type)
  • Added support custom VideoService type for VOTClient
  • Added support unlisted embed and groups/channels/album/showcase videos for Vimeo
  • Fixed Kodik decrypt url
  • Fixed Vimeo bug where getVideoData didn’t retrieve the correct data for private players when extraInfo was disabled.
  • Rework getVideoId for Vimeo Helper

Core

  • Added support custom VideoService type for VOTClient
import VOTClient from "@vot.js/node";

// enum
enum CustomVideoService {
  example = "example",
  test = "test",
}
const client = new VOTClient<CustomVideoService>();
await client.translateVideo({
  videoData: {
    url: "https://example.com/123",
    host: CustomVideoService.example,
    videoId: "123",
  },
});

// literal union
type OtherVideoService = "example" | "test";
const otherClient = new VOTClient<OtherVideoService>();
await otherClient.translateVideo({
  videoData: {
    url: "https://example.com/123",
    host: "test",
    videoId: "123",
  },
});
  • Removed "X-Use-Snake-Case": "Yes" for VOT Backend

Shared

  • Bump component version

Workspace

  • Disabled update proto file in Github Actions build
  • Updated PornTN test url
  • Updated Vimeo test urls
  • Replaced bun spawn pretty-quick to prettier in update:config script
  • Bump depends

Full Changelog: 2.3.12...2.4.0

2.3.12

06 Apr 10:35
9a27c2f

Choose a tag to compare

Now RapidCloud use wasm and fake file types for video player... no comments

Ext

  • Added support IMDb
  • Removed broken 9AnimeTV (RapidCloud)

Node

  • Added support IMDb
  • Removed broken 9AnimeTV (RapidCloud)

Full Changelog: 2.3.11...2.3.12

2.3.11

05 Apr 14:34
ede2bf0

Choose a tag to compare

Ext

  • Added support /videos/VIDEO_ID with Global IGN (www.ign.com)
  • Fixed some GetVideoId for some VK videos

Node

  • Added support /videos/VIDEO_ID with Global IGN (www.ign.com)
  • Fixed Regional IGN
  • Fixed some GetVideoId for some VK videos

Shared

  • Added IGN types

Full Changelog: 2.3.10...2.3.11

2.3.10

28 Mar 21:31
44a4dba

Choose a tag to compare

Ext

  • Added support Bunkr

Node

  • Added support Bunkr

Full Changelog: 2.3.9...2.3.10

2.3.9

26 Mar 18:07
264e3a6

Choose a tag to compare

Ext

  • Added support IGN

Node

  • Added support IGN

Full Changelog: 2.3.8...2.3.9