x-block-lib 0.8.37 → 0.8.39

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 +3 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1967,13 +1967,12 @@ s.forBlock.call_app_method_v1 = function(t) {
1967
1967
  }), a += "}", o.method.outputs.length > 0) {
1968
1968
  let c = "";
1969
1969
  o.method.outputs.forEach(({ key: _ }) => {
1970
- c += `${e}__output$${_}__ = __outputs__[${n(_)}];
1970
+ c += `${e}__output$${_}__ = __callMethodResult__[${n(_)}];
1971
1971
  `;
1972
1972
  });
1973
1973
  const r = s.statementToCode(o, "HANDLE");
1974
1974
  return `{
1975
- var __outputs__ = __callMethodV1__(${n(o.method.id)}, ${i}, ${a});
1976
- __messageV1__('error', __outputs__);
1975
+ __callMethodV1__(${n(o.method.id)}, ${i}, ${a});
1977
1976
  ${c}${r}}
1978
1977
  `;
1979
1978
  } else
@@ -2075,7 +2074,7 @@ s.forBlock.implement_app_method_v1 = function(t) {
2075
2074
  const c = s.statementToCode(o, "HANDLE");
2076
2075
  return `function __implementMethod$${i}__(__inputs__) {
2077
2076
  ${a}${e}var __outputs__ = {};
2078
- ${c}${e}return __outputs__;
2077
+ ${c}${e}__callMethodResult__ = __outputs__;
2079
2078
  }
2080
2079
  `;
2081
2080
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.8.37",
4
+ "version": "0.8.39",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -38,7 +38,7 @@
38
38
  "vue-router": "^4.6.3",
39
39
  "vuetify": "^3.10.7",
40
40
  "x-essential-lib": "^0.9.2",
41
- "x-runtime-lib": "^0.8.65",
41
+ "x-runtime-lib": "^0.8.68",
42
42
  "x-state-lib": "^0.3.23"
43
43
  },
44
44
  "devDependencies": {