x-block-lib 0.6.39 → 0.6.40
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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3866,7 +3866,7 @@ r.forBlock.call_func_v1 = function(e) {
|
|
|
3866
3866
|
`, o.func.inputs.forEach(({ id: h }) => {
|
|
3867
3867
|
a += `${t}${t}${n(h)}: __input_${h}__,
|
|
3868
3868
|
`;
|
|
3869
|
-
}), a += `${t}}
|
|
3869
|
+
}), a += `${t}};`;
|
|
3870
3870
|
const c = n(o.space.name + "/" + o.func.name);
|
|
3871
3871
|
let l = "";
|
|
3872
3872
|
o.func.outputs.forEach(({ id: h }, T) => {
|
|
@@ -3876,7 +3876,7 @@ r.forBlock.call_func_v1 = function(e) {
|
|
|
3876
3876
|
const _ = r.statementToCode(o, "CALLBACK");
|
|
3877
3877
|
return `{
|
|
3878
3878
|
${a}
|
|
3879
|
-
var result = __callFuncV1__(${i}, ${s}, __inputs__,
|
|
3879
|
+
var result = __callFuncV1__(${i}, ${s}, __inputs__, __getEnvV1__(), ${c});
|
|
3880
3880
|
${l}${_}}
|
|
3881
3881
|
`;
|
|
3882
3882
|
};
|