iobroker.javascript 5.4.0 → 5.4.3

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
@@ -38,6 +38,16 @@ And then call `npm run build`.
38
38
  Placeholder for the next version (at the beginning of the line):
39
39
  ### __WORK IN PROGRESS__
40
40
  -->
41
+ ### 5.4.3 (2022-03-17)
42
+ * (Apollon77) Fix handling of month schedules with given date list
43
+ * (Apollon77) Optimize scheduling to make sure to not miss triggers if callbacks would need too long
44
+
45
+ ### 5.4.2 (2022-03-15)
46
+ * (Apollon77) Fix automatic start of Rules scripts when starting adapter
47
+
48
+ ### 5.4.1 (2022-03-15)
49
+ * (Apollon77) Fix blockly subscribes broken in 5.4.0
50
+
41
51
  ### 5.4.0 (2022-03-13)
42
52
  * (Apollon77) Automatically create missing folder objects when states are created using createState
43
53
  * (Apollon77) Fix special characters in blockly subscribe logic
@@ -48,22 +58,6 @@ And then call `npm run build`.
48
58
  ### 5.3.3 (2022-03-06)
49
59
  * (bluefox) Added async functions: createStateAsync, deleteStateAsync
50
60
 
51
- ### 5.3.2 (2022-03-06)
52
- * (Apollon77) fix problem that scripts were not starting when scriptsEnabled State was triggered (or startScript was used)
53
- * (Apollon77) Make sure callbacks on startScript/stopScript work and Async variants also resolve
54
- * (Apollon77) Make sure startScriptAsync, stopScriptAsync and runScriptAsync resolve in debug mode too
55
-
56
- ### 5.3.1 (2022-03-03)
57
- * (Apollon77) Add missing callback check in setObject
58
-
59
- ### 5.3.0 (2022-03-02)
60
- * (Apollon77) Prevent some crash cases reported by Sentry (IOBROKER-JAVASCRIPT-A3)
61
- * (Apollon77) Fix Enum Updates
62
- * (Apollon77) Optimize making sure data are current for synchronous return of states/objects even for asynchronous action cases before
63
- * (Apollon77) Make sure admin files is cleaned up on update
64
- * (Apollon77) update channel/device structures for $ selector on object updates
65
- * (Apollon77) Adjustments for js-controller 4.0
66
-
67
61
  ## License
68
62
  The MIT License (MIT)
69
63
 
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "files": {
3
3
  "main.css": "/static/css/main.5b5813ce.chunk.css",
4
- "main.js": "/static/js/main.b85c3f2a.chunk.js",
5
- "main.js.map": "/static/js/main.b85c3f2a.chunk.js.map",
6
- "runtime-main.js": "/static/js/runtime-main.367f9424.js",
7
- "runtime-main.js.map": "/static/js/runtime-main.367f9424.js.map",
4
+ "main.js": "/static/js/main.641ff6ac.chunk.js",
5
+ "main.js.map": "/static/js/main.641ff6ac.chunk.js.map",
6
+ "runtime-main.js": "/static/js/runtime-main.0fde2268.js",
7
+ "runtime-main.js.map": "/static/js/runtime-main.0fde2268.js.map",
8
8
  "static/css/2.a442f2b4.chunk.css": "/static/css/2.a442f2b4.chunk.css",
9
- "static/js/2.8a1e22ee.chunk.js": "/static/js/2.8a1e22ee.chunk.js",
10
- "static/js/2.8a1e22ee.chunk.js.map": "/static/js/2.8a1e22ee.chunk.js.map",
9
+ "static/js/2.d453b3f2.chunk.js": "/static/js/2.d453b3f2.chunk.js",
10
+ "static/js/2.d453b3f2.chunk.js.map": "/static/js/2.d453b3f2.chunk.js.map",
11
11
  "index.html": "/index.html",
12
12
  "static/css/2.a442f2b4.chunk.css.map": "/static/css/2.a442f2b4.chunk.css.map",
13
13
  "static/css/main.5b5813ce.chunk.css.map": "/static/css/main.5b5813ce.chunk.css.map",
14
- "static/js/2.8a1e22ee.chunk.js.LICENSE.txt": "/static/js/2.8a1e22ee.chunk.js.LICENSE.txt",
14
+ "static/js/2.d453b3f2.chunk.js.LICENSE.txt": "/static/js/2.d453b3f2.chunk.js.LICENSE.txt",
15
15
  "static/media/hysteresis.04ebd02c.png": "/static/media/hysteresis.04ebd02c.png"
16
16
  },
17
17
  "entrypoints": [
18
- "static/js/runtime-main.367f9424.js",
18
+ "static/js/runtime-main.0fde2268.js",
19
19
  "static/css/2.a442f2b4.chunk.css",
20
- "static/js/2.8a1e22ee.chunk.js",
20
+ "static/js/2.d453b3f2.chunk.js",
21
21
  "static/css/main.5b5813ce.chunk.css",
22
- "static/js/main.b85c3f2a.chunk.js"
22
+ "static/js/main.641ff6ac.chunk.js"
23
23
  ]
24
24
  }
@@ -274,7 +274,7 @@ Blockly.JavaScript['on_ext'] = function(block) {
274
274
  if (oids.length === 1) {
275
275
  oid = firstID;
276
276
  } else {
277
- oid = JSON.stringify(oids);
277
+ oid = '[' + oids.join(',') + ']';
278
278
  }
279
279
 
280
280
  var code = 'on({id: ' + oid + ', ' + val + (ack_condition ? ', ack: ' + ack_condition : '') + '}, async function (obj) {\n ' +