iobroker.gotify-ws 0.1.3 → 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,12 @@ 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
+
71
+ ### 0.1.4 (2024-07-19)
72
+ * (simatec) Dependencies updated
73
+
68
74
  ### 0.1.3 (2024-07-17)
69
75
  * (simatec) Fix Test & Release
70
76
  * (simatec) Fix Timeout
package/io-package.json CHANGED
@@ -1,8 +1,34 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "gotify-ws",
4
- "version": "0.1.3",
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
+ },
19
+ "0.1.4": {
20
+ "en": "Dependencies updated",
21
+ "de": "Ausgaben aktualisiert",
22
+ "ru": "Обновленные данные о зависимостях",
23
+ "pt": "Dependências atualizadas",
24
+ "nl": "Afhankelijkheden bijgewerkt",
25
+ "fr": "Dépendances actualisées",
26
+ "it": "Dipendenze aggiornate",
27
+ "es": "Actualización de las dependencias",
28
+ "pl": "Aktualizacja zależności",
29
+ "uk": "Залежність оновлено",
30
+ "zh-cn": "更新的依赖关系"
31
+ },
6
32
  "0.1.3": {
7
33
  "en": "Fix Test & Release\nFix Timeout",
8
34
  "de": "Test und Release\nTimeout reparieren",
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.3",
3
+ "version": "0.1.5",
4
4
  "description": "Gotify web socket for connection to various notification systems",
5
5
  "author": {
6
6
  "name": "simatec",
@@ -38,22 +38,12 @@
38
38
  "@alcalzone/release-script-plugin-manual-review": "^3.7.0",
39
39
  "@iobroker/adapter-dev": "^1.3.0",
40
40
  "@iobroker/testing": "^4.1.3",
41
- "@tsconfig/node20": "^20.1.4",
42
- "@types/chai": "^4.3.16",
43
- "@types/chai-as-promised": "^7.1.8",
44
- "@types/mocha": "^10.0.7",
45
- "@types/node": "^20.14.11",
46
- "@types/proxyquire": "^1.3.31",
47
- "@types/sinon": "^17.0.3",
48
- "@types/sinon-chai": "^3.2.12",
49
41
  "chai": "^4.3.10",
50
42
  "chai-as-promised": "^7.1.2",
51
43
  "eslint": "^9.7.0",
52
44
  "mocha": "^10.6.0",
53
- "proxyquire": "^2.1.3",
54
45
  "sinon": "^18.0.0",
55
- "sinon-chai": "^3.7.0",
56
- "typescript": "~5.5.3"
46
+ "sinon-chai": "^3.7.0"
57
47
  },
58
48
  "main": "main.js",
59
49
  "files": [
@@ -76,7 +66,8 @@
76
66
  "release-major": "release-script major --yes",
77
67
  "translate": "translate-adapter",
78
68
  "dev-server-run": "dev-server run gotify-ws",
79
- "dev-server-watch": "dev-server watch gotify-ws"
69
+ "dev-server-watch": "dev-server watch gotify-ws",
70
+ "npm": "npm install"
80
71
  },
81
72
  "bugs": {
82
73
  "url": "https://github.com/simatec/ioBroker.gotify-ws/issues"