kempo 4.4.2 → 4.4.3

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.
@@ -7,6 +7,7 @@
7
7
  state="expanded"
8
8
  style="--aside_padding: 0;"
9
9
  persistent-id="admin-nav"
10
+ group-icons='{"Commerce":"storefront"}'
10
11
  >
11
12
  <k-aside-toggle>
12
13
  <h3 class="m0">Kempo Admin</h3>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path fill="currentColor" d="M841-518v318q0 33-23.5 56.5T761-120H201q-33 0-56.5-23.5T121-200v-318q-23-21-35.5-54t-.5-72l42-136q8-26 28.5-43t47.5-17h556q27 0 47 16.5t29 43.5l42 136q12 39-.5 71T841-518Zm-272-42q27 0 41-18.5t11-41.5l-22-140h-78v148q0 21 14 36.5t34 15.5Zm-180 0q23 0 37.5-15.5T441-612v-148h-78l-22 140q-4 24 10.5 42t37.5 18Zm-178 0q18 0 31.5-13t16.5-33l22-154h-78l-40 134q-6 20 6.5 43t41.5 23Zm540 0q29 0 42-23t6-43l-42-134h-76l22 154q3 20 16.5 33t31.5 13ZM201-200h560v-282q-5 2-6.5 2H751q-27 0-47.5-9T663-518q-18 18-41 28t-49 10q-27 0-50.5-10T481-518q-17 18-39.5 28T393-480q-29 0-52.5-10T299-518q-21 21-41.5 29.5T211-480h-4.5q-2.5 0-5.5-2v282Zm560 0H201h560Z"/></svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kempo",
3
- "version": "4.4.2",
3
+ "version": "4.4.3",
4
4
  "type": "module",
5
5
  "description": "A fullstack CMS framework for creating websites with user authentication",
6
6
  "scripts": {
@@ -59,7 +59,7 @@
59
59
  "peerDependencies": {
60
60
  "kempo-css": ">=2.2.5",
61
61
  "kempo-server": ">=3.4.0",
62
- "kempo-ui": ">=0.4.39"
62
+ "kempo-ui": ">=0.5.0"
63
63
  },
64
64
  "devDependencies": {
65
65
  "esbuild": "^0.28.2",
@@ -74,6 +74,8 @@ export default async (event, data = {}, { bail = false } = {}) => {
74
74
  results.push({ hookId: h.id, owner: h.owner, result });
75
75
  } catch(err) {
76
76
  if(bail) throw err;
77
+ /* A notification handler's failure stops nothing, but it must not vanish: nobody would ever know the extension broke. */
78
+ console.error(`[kempo] Hook handler for "${event}" (${h.owner}) threw: ${err?.message ?? err}`);
77
79
  results.push({ hookId: h.id, owner: h.owner, error: err.message });
78
80
  }
79
81
  }