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 CHANGED
@@ -65,6 +65,9 @@ You can then configure a notification service of your choice for forwarding.
65
65
  ---
66
66
  <!-- ### **WORK IN PROGRESS** -->
67
67
  ## Changelog
68
+ ### 0.1.5 (2024-07-22)
69
+ * (simatec) small fix
70
+
68
71
  ### 0.1.4 (2024-07-19)
69
72
  * (simatec) Dependencies updated
70
73
 
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "gotify-ws",
4
- "version": "0.1.4",
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
- await this.setStateAsync('info.connection', false, true);
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
- async onUnload(callback) {
44
- await this.setStateAsync('info.connection', false, true);
43
+ onUnload(callback) {
44
+ this.setState('info.connection', false, true);
45
45
 
46
46
  try {
47
47
  if (ws) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.gotify-ws",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Gotify web socket for connection to various notification systems",
5
5
  "author": {
6
6
  "name": "simatec",