iobroker.gotify-ws 0.1.4 → 0.1.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 +14 -1
- package/main.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
package/io-package.json
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "gotify-ws",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.5",
|
|
5
5
|
"news": {
|
|
6
|
+
"0.1.5": {
|
|
7
|
+
"en": "small fix",
|
|
8
|
+
"de": "kleine fix",
|
|
9
|
+
"ru": "небольшое исправление",
|
|
10
|
+
"pt": "pequena correção",
|
|
11
|
+
"nl": "kleine fix",
|
|
12
|
+
"fr": "petite fixation",
|
|
13
|
+
"it": "piccola correzione",
|
|
14
|
+
"es": "pequeño",
|
|
15
|
+
"pl": "mały fix",
|
|
16
|
+
"uk": "невелика фіксація",
|
|
17
|
+
"zh-cn": "小修补"
|
|
18
|
+
},
|
|
6
19
|
"0.1.4": {
|
|
7
20
|
"en": "Dependencies updated",
|
|
8
21
|
"de": "Ausgaben aktualisiert",
|
package/main.js
CHANGED
|
@@ -33,15 +33,15 @@ class GotifyWs extends utils.Adapter {
|
|
|
33
33
|
systemLang = sysLang.common.language;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
this.setState('info.connection', false, true);
|
|
37
37
|
this.connectWebSocket();
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* @param {() => void} callback
|
|
42
42
|
*/
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
onUnload(callback) {
|
|
44
|
+
this.setState('info.connection', false, true);
|
|
45
45
|
|
|
46
46
|
try {
|
|
47
47
|
if (ws) {
|