@zyrab/domo 1.0.2 → 1.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyrab/domo",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Minimalist DOM builder and chaining-friendly micro-framework with router support.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -13,7 +13,7 @@
13
13
  ],
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "https://github.com/zyrab/domo.git"
16
+ "url": "git+https://github.com/zyrab/domo.git"
17
17
  },
18
18
  "keywords": [
19
19
  "dom",
@@ -40,7 +40,7 @@ async function render({ component, meta }, params) {
40
40
  }
41
41
  } catch (error) {
42
42
  console.error("Rendering error:", error);
43
- const fallback = _routes["*"]?.component?.({ error: err.message });
43
+ const fallback = _routes["*"]?.component?.({ error: error.message });
44
44
  if (fallback) {
45
45
  _root.replaceChildren();
46
46
  _root.appendChild(fallback);