saloe 0.0.85 → 0.0.87

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/html.cjs.js CHANGED
@@ -51,7 +51,7 @@ const awaitHtml = async ({ id, pending, success, error }) => {
51
51
  async () => html`
52
52
  ${await success().then((template) => template).catch((err) => {
53
53
  console.error(err == null ? void 0 : err.stack);
54
- return error ? error({ id, err }) : "";
54
+ return error ? error({ id, err }) : err;
55
55
  })}
56
56
  `
57
57
  ],
package/dist/html.es.js CHANGED
@@ -49,7 +49,7 @@ const awaitHtml = async ({ id, pending, success, error }) => {
49
49
  async () => html`
50
50
  ${await success().then((template) => template).catch((err) => {
51
51
  console.error(err == null ? void 0 : err.stack);
52
- return error ? error({ id, err }) : "";
52
+ return error ? error({ id, err }) : err;
53
53
  })}
54
54
  `
55
55
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "saloe",
3
- "version": "0.0.85",
3
+ "version": "0.0.87",
4
4
  "description": "Tools for making web development easy and efficient",
5
5
  "type": "module",
6
6
  "scripts": {
package/src/html.js CHANGED
@@ -56,7 +56,7 @@ const awaitHtml = async ({ id, pending, success, error }) => {
56
56
  .then((template) => template)
57
57
  .catch((err) => {
58
58
  console.error(err?.stack)
59
- return error ? error({ id, err }) : ''
59
+ return error ? error({ id, err }) : err
60
60
  })
61
61
  }
62
62
  `