iobroker.telegram 1.12.4 → 1.12.5
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.
- package/README.md +3 -0
- package/io-package.json +13 -13
- package/main.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -706,6 +706,9 @@ Before sending it to `telegram.INSTANCE.communicate.responseJson you need to str
|
|
|
706
706
|
-->
|
|
707
707
|
|
|
708
708
|
## Changelog
|
|
709
|
+
### 1.12.5 (2022-04-19)
|
|
710
|
+
* (Apollon77) Fix crash cases reported by Sentry
|
|
711
|
+
|
|
709
712
|
### 1.12.4 (2022-04-19)
|
|
710
713
|
* (Apollon77) Fix crash cases reported by Sentry
|
|
711
714
|
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "telegram",
|
|
4
|
-
"version": "1.12.
|
|
4
|
+
"version": "1.12.5",
|
|
5
5
|
"news": {
|
|
6
|
+
"1.12.5": {
|
|
7
|
+
"en": "Fix crash cases reported by Sentry",
|
|
8
|
+
"de": "Von Sentry gemeldete Absturzfälle beheben",
|
|
9
|
+
"ru": "Исправить случаи сбоев, о которых сообщил Sentry",
|
|
10
|
+
"pt": "Corrigir casos de travamento relatados pelo Sentinela",
|
|
11
|
+
"nl": "Herstel crashgevallen gemeld door Sentry",
|
|
12
|
+
"fr": "Correction des cas de plantage signalés par Sentry",
|
|
13
|
+
"it": "Risolvi i casi di crash segnalati da Sentry",
|
|
14
|
+
"es": "Solucionar casos de fallas informados por Sentry",
|
|
15
|
+
"pl": "Napraw przypadki awarii zgłoszone przez Sentry",
|
|
16
|
+
"zh-cn": "修复 Sentry 报告的崩溃案例"
|
|
17
|
+
},
|
|
6
18
|
"1.12.4": {
|
|
7
19
|
"en": "Fix crash cases reported by Sentry",
|
|
8
20
|
"de": "Von Sentry gemeldete Absturzfälle beheben",
|
|
@@ -74,18 +86,6 @@
|
|
|
74
86
|
"es": "Protección de fuerza bruta agregada\nExtendido en bloques con la opción `disable_web_preview`\nSe agregó el estado `communicate.responseSilent` para responder en silencio.",
|
|
75
87
|
"pl": "Dodano ochronę przed bruteforce\nRozszerzony blokowo z opcją `disable_web_preview`\ndodano stan `communicate.responseSilent` do cichej odpowiedzi",
|
|
76
88
|
"zh-cn": "添加了蛮力保护\n使用 `disable_web_preview` 选项扩展块\n添加了`communicate.responseSilent`状态以静默回答"
|
|
77
|
-
},
|
|
78
|
-
"1.10.1": {
|
|
79
|
-
"en": "Updated telegram library",
|
|
80
|
-
"de": "Aktualisierte Telegrammbibliothek",
|
|
81
|
-
"ru": "Обновлена библиотека телеграмм.",
|
|
82
|
-
"pt": "Biblioteca de telegramas atualizada",
|
|
83
|
-
"nl": "Bijgewerkte telegrambibliotheek",
|
|
84
|
-
"fr": "Bibliothèque de télégrammes mise à jour",
|
|
85
|
-
"it": "Libreria di telegrammi aggiornata",
|
|
86
|
-
"es": "Biblioteca de telegramas actualizada",
|
|
87
|
-
"pl": "Zaktualizowana biblioteka telegramów",
|
|
88
|
-
"zh-cn": "更新的电报库"
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
"title": "Telegram",
|
package/main.js
CHANGED
|
@@ -294,7 +294,7 @@ function startAdapter(options) {
|
|
|
294
294
|
if (!state.ack) {
|
|
295
295
|
if (id.endsWith('communicate.response')) {
|
|
296
296
|
if (typeof state.val === 'object') {
|
|
297
|
-
adapter.log.error(`communicate.response only supports passing a message to send as string. You provided ${JSON.
|
|
297
|
+
adapter.log.error(`communicate.response only supports passing a message to send as string. You provided ${JSON.stringify(state.val)}. Please use "communicate.responseJson" instead with a stringified JSON object!`);
|
|
298
298
|
return;
|
|
299
299
|
}
|
|
300
300
|
// Send to someone this message
|
|
@@ -303,7 +303,7 @@ function startAdapter(options) {
|
|
|
303
303
|
} else
|
|
304
304
|
if (id.endsWith('communicate.responseSilent')) {
|
|
305
305
|
if (typeof state.val === 'object') {
|
|
306
|
-
adapter.log.error(`communicate.responseSilent only supports passing a message to send as string. You provided ${JSON.
|
|
306
|
+
adapter.log.error(`communicate.responseSilent only supports passing a message to send as string. You provided ${JSON.stringify(state.val)}. Please use "communicate.responseSilentJson" instead with a stringified JSON object!`);
|
|
307
307
|
return;
|
|
308
308
|
}
|
|
309
309
|
// Send to someone this message
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.telegram",
|
|
3
3
|
"description": "The adapter allows to send and receive telegram messages from ioBroker and to be a broker.",
|
|
4
|
-
"version": "1.12.
|
|
4
|
+
"version": "1.12.5",
|
|
5
5
|
"author": "bluefox <dogafox@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/iobroker-community-adapters/ioBroker.telegram",
|
|
7
7
|
"repository": {
|