Skip to content

Commit

Permalink
[core] Fix send video
Browse files Browse the repository at this point in the history
  • Loading branch information
devlikepro committed May 12, 2024
1 parent 34084a7 commit d180499
Show file tree
Hide file tree
Showing 5 changed files with 332 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
exclude: '^src/dashboard'
exclude: |
(?x)^(
^src/dashboard/.*|
^src/core/engines/webjs/.*html
)$
repos:
- repo: local
hooks:
Expand Down
8 changes: 8 additions & 0 deletions docs/site/content/en/docs/overview/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ If you wish to get and read Release Notes - read them on one of our platforms, *
### 🐛 Fixes
----

Fix send video issue `POST /api/sendVideo` in **WEBJS**.
- Issue: [#321](https://github.com/devlikeapro/whatsapp-http-api/issues/321)
- Issue: [#328](https://github.com/devlikeapro/whatsapp-http-api/issues/328)
- Build: `2024.5.6`
- Engine: **WEBJS**

----

Use local cache for **WEBJS** engine (versions file).
- Issue: [#316](https://github.com/devlikeapro/whatsapp-http-api/issues/316)
- Build: `2024.5.4`
Expand Down
316 changes: 316 additions & 0 deletions src/core/engines/webjs/2.2412.54-videofix.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/core/engines/webjs/session.webjs.core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class WhatsappSessionWebJSCore extends WhatsappSession {
executablePath: this.getBrowserExecutablePath(),
args: this.getBrowserArgsForPuppeteer(),
},
webVersion: '2.2412.54',
webVersion: '2.2412.54-videofix',
webVersionCache: {
type: 'local',
path: path,
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function getEngineName(): string {
}

export const VERSION: WAHAEnvironment = {
version: '2024.5.5',
version: '2024.5.6',
engine: getEngineName(),
tier: getWAHAVersion(),
browser: getBrowserExecutablePath(),
Expand Down

0 comments on commit d180499

Please sign in to comment.