nbhi 0.6.6 → 0.6.7

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.
@@ -73,7 +73,7 @@ async function initialize({ prefix = 'db', source = '/components' } = {}) {
73
73
  ? `${ source }/${ fileName }.html` : source[fileName];
74
74
  const response = await fetch(relativePath);
75
75
  if (!response.ok) {
76
- throw new Error(`Could not find component @ ${ relativePath }`);
76
+ throw new Error(`Could not find component ${ name }`);
77
77
  }
78
78
  const templateAsString = await response.text();
79
79
  const document = new DOMParser().parseFromString(templateAsString, 'text/html');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nbhi",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
4
4
  "description": "No-Build HTML Includes (NBHI) is a simple library that allows you to include html files into other html files and turns them into [web components](https://developer.mozilla.org/en-US/docs/Web/API/Web_components). Lazy initialization of content (when entering the viewport) and a one line call to update/hydrate content in your html pages. No build tools required, no `package.json` needed.",
5
5
  "keywords": [
6
6
  "web-components",