x-block-lib 0.9.3 → 0.9.4

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 +5 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -2366,7 +2366,11 @@ i.forBlock.on_app_event_v1 = function(t) {
2366
2366
  return `__onEventV1__(${e(n.event.id)}, async (${o}) => {
2367
2367
  try {
2368
2368
  ${fs(s, 2)} } catch (e) {
2369
- __messageV1__('error', e.message);
2369
+ if (e && e.message) {
2370
+ __messageV1__('error', e.message);
2371
+ } else {
2372
+ __messageV1__('error', e);
2373
+ }
2370
2374
  }
2371
2375
  });
2372
2376
  `;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.9.3",
4
+ "version": "0.9.4",
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.4",
39
39
  "vuetify": "^3.11.6",
40
40
  "x-essential-lib": "^0.9.20",
41
- "x-runtime-lib": "^0.8.164",
41
+ "x-runtime-lib": "^0.8.165",
42
42
  "x-state-lib": "^0.3.34"
43
43
  },
44
44
  "devDependencies": {