Merge tag '1.1.0' into develop

* Improved fetch instances endpoint, now it also fetch other instances even if they are not connected
* Added conversion of audios for sending recorded audio, now it is possible to send mp3 audios and not just ogg
* Route to fetch all groups that the connection is part of
* Route to fetch all privacy settings
* Route to update the privacy settings
* Route to update group subject
* Route to update group description
* Route to accept invite code
* Added configuration of events by webhook of instances
* Now the api key can be exposed in fetch instances if the EXPOSE_IN_FETCH_INSTANCES variable is set to true
* Added option to generate qrcode as soon as the instance is created
* The created instance token can now also be optionally defined manually in the creation endpoint
* Route to send Sticker

* Adjust dockerfile variables
* tweaks in docker-compose to pass variables
* Adjust the route getProfileBusiness to fetchProfileBusiness
* fix error after logout and try to get status or to connect again
* fix sending narrated audio on whatsapp android and ios
* fixed the problem of not disabling the global webhook by the variable
* Adjustment in the recording of temporary files and periodic cleaning
* Fix for container mode also work only with files
This commit is contained in:
Davidson Gomes 2023-06-21 11:18:43 -03:00
commit 5e551fee41
2 changed files with 17 additions and 17 deletions

View File

@ -1,4 +1,4 @@
# 1.1.0 (homolog)
# 1.1.0 (2023-06-21 11:17)
### Features

View File

@ -234,14 +234,14 @@ export class WAStartupService {
baseURL = this.localWebhook.url;
}
// this.logger.log({
// local: WAStartupService.name + '.sendDataWebhook-local',
// url: baseURL,
// event,
// instance: this.instance.name,
// data,
// destination: this.localWebhook.url,
// });
this.logger.log({
local: WAStartupService.name + '.sendDataWebhook-local',
url: baseURL,
event,
instance: this.instance.name,
data,
destination: this.localWebhook.url,
});
try {
if (this.localWebhook.enabled && isURL(this.localWebhook.url)) {
@ -289,14 +289,14 @@ export class WAStartupService {
localUrl = this.localWebhook.url;
}
// this.logger.log({
// local: WAStartupService.name + '.sendDataWebhook-global',
// url: globalURL,
// event,
// instance: this.instance.name,
// data,
// destination: localUrl,
// });
this.logger.log({
local: WAStartupService.name + '.sendDataWebhook-global',
url: globalURL,
event,
instance: this.instance.name,
data,
destination: localUrl,
});
try {
if (globalWebhook && globalWebhook?.ENABLED && isURL(globalURL)) {