x-block-lib 0.6.5 → 0.6.6
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 +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3635,7 +3635,7 @@ U.add_data_v1 = Jd;
|
|
|
3635
3635
|
r.forBlock.add_data_v1 = function(e) {
|
|
3636
3636
|
const t = r.INDENT, n = r.valueToCode(e, "TABLE", p.ATOMIC) || "null", o = r.statementToCode(e, "HANDLE");
|
|
3637
3637
|
return `{
|
|
3638
|
-
${t}var tx = typeof(__tx__) !== undefined ? __tx__ : null;
|
|
3638
|
+
${t}var tx = typeof(__tx__) !== 'undefined' ? __tx__ : null;
|
|
3639
3639
|
${t}var res = __addDataV1__(tx, ${n});
|
|
3640
3640
|
${t}var __success__ = res.success;
|
|
3641
3641
|
${t}var __message__ = res.message;
|
|
@@ -3955,7 +3955,7 @@ U.delete_data_v1 = nh;
|
|
|
3955
3955
|
r.forBlock.delete_data_v1 = function(e) {
|
|
3956
3956
|
const t = r.INDENT, n = r.valueToCode(e, "TABLE", p.ATOMIC) || "null", o = r.valueToCode(e, "CONDITION", p.ATOMIC) || "null", i = r.statementToCode(e, "HANDLE");
|
|
3957
3957
|
return `{
|
|
3958
|
-
${t}var tx = typeof(__tx__) !== undefined ? __tx__ : null;
|
|
3958
|
+
${t}var tx = typeof(__tx__) !== 'undefined' ? __tx__ : null;
|
|
3959
3959
|
${t}var res = __deleteDataV1__(tx, ${n}, ${o});
|
|
3960
3960
|
${t}var __success__ = res.success;
|
|
3961
3961
|
${t}var __message__ = res.message;
|
|
@@ -4019,7 +4019,7 @@ r.forBlock.query_data_v1 = function(e) {
|
|
|
4019
4019
|
e.getInput("EXTRA") && (i = r.valueToCode(e, "EXTRA", p.ATOMIC) || "null");
|
|
4020
4020
|
const s = r.statementToCode(e, "HANDLE");
|
|
4021
4021
|
return `{
|
|
4022
|
-
${t}var tx = typeof(__tx__) !== undefined ? __tx__ : null;
|
|
4022
|
+
${t}var tx = typeof(__tx__) !== 'undefined' ? __tx__ : null;
|
|
4023
4023
|
${t}var res = __queryDataV1__(tx, ${n}, ${o}, ${i});
|
|
4024
4024
|
${t}var __success__ = res.success;
|
|
4025
4025
|
${t}var __message__ = res.message;
|
|
@@ -4651,7 +4651,7 @@ U.update_data_v1 = ph;
|
|
|
4651
4651
|
r.forBlock.update_data_v1 = function(e) {
|
|
4652
4652
|
const t = r.INDENT, n = r.valueToCode(e, "TABLE", p.ATOMIC) || "null", o = r.valueToCode(e, "CONDITION", p.ATOMIC) || "null", i = r.statementToCode(e, "HANDLE");
|
|
4653
4653
|
return `{
|
|
4654
|
-
${t}var tx = typeof(__tx__) !== undefined ? __tx__ : null;
|
|
4654
|
+
${t}var tx = typeof(__tx__) !== 'undefined' ? __tx__ : null;
|
|
4655
4655
|
${t}var res = __updateDataV1__(tx, ${n}, ${o});
|
|
4656
4656
|
${t}var __success__ = res.success;
|
|
4657
4657
|
${t}var __message__ = res.message;
|