x-block-lib 0.8.43 → 0.8.44

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2075,7 +2075,7 @@ s.forBlock.implement_app_method_v1 = function(t) {
2075
2075
  `;
2076
2076
  });
2077
2077
  const c = s.statementToCode(o, "HANDLE");
2078
- return `function __implementMethod$${i}__(__inputs__) {
2078
+ return `async function __implementMethod$${i}__(__inputs__) {
2079
2079
  ${a}${e}var __outputs__ = {};
2080
2080
  ${c}${e}return __outputs__;
2081
2081
  }
@@ -8938,7 +8938,7 @@ const Ta = {
8938
8938
  E.create_timer_v1 = Ta;
8939
8939
  s.forBlock.create_timer_v1 = function(t) {
8940
8940
  const e = s.valueToCode(t, "INTERVAL", u.ATOMIC) || "1000", n = s.valueToCode(t, "LOOP", u.ATOMIC) || "false", o = s.valueToCode(t, "COUNT", u.ATOMIC) || "1", i = s.valueToCode(t, "IMMEDIATE", u.ATOMIC) || "false", a = s.statementToCode(t, "CALLBACK");
8941
- return `__createTimerV1__(${e}, ${n}, ${o}, ${i}, function() {
8941
+ return `__createTimerV1__(${e}, ${n}, ${o}, ${i}, async function() {
8942
8942
  ${a}});
8943
8943
  `;
8944
8944
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.8.43",
4
+ "version": "0.8.44",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",