x-block-lib 0.8.27 → 0.8.28

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 +6 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1547,8 +1547,12 @@ s.forBlock.trigger_app_event_v1 = function(t) {
1547
1547
  const e = s.quote_, n = t, { eventKey: o } = Ie(n.event.id);
1548
1548
  let i = "";
1549
1549
  for (let c = 0; c < n.event.params.length; c++) {
1550
- const u = s.valueToCode(n, "PARAM" + c, r.NONE);
1551
- i && (i += ", "), i += u;
1550
+ const u = s.valueToCode(
1551
+ n,
1552
+ "PARAM" + c,
1553
+ r.NONE
1554
+ );
1555
+ i += ", ", i += u;
1552
1556
  }
1553
1557
  return `__triggerCustomEventV1__(${e(o)}, ${i});
1554
1558
  `;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.8.27",
4
+ "version": "0.8.28",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",