@dosgato/dialog 0.0.50 → 0.0.51

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.
@@ -345,7 +345,7 @@ export function getHashId(str) {
345
345
  hashedIds[str] ??= hashid(str);
346
346
  return hashedIds[str];
347
347
  }
348
- const lazyEvent = new CustomEvent('lazy');
348
+ const lazyEvent = typeof CustomEvent !== 'undefined' ? new CustomEvent('lazy') : undefined;
349
349
  export const lazyObserver = typeof IntersectionObserver !== 'undefined'
350
350
  ? new IntersectionObserver((entries) => {
351
351
  for (const entry of entries) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dosgato/dialog",
3
3
  "description": "A component library for building forms that edit a JSON document.",
4
- "version": "0.0.50",
4
+ "version": "0.0.51",
5
5
  "scripts": {
6
6
  "prepublishOnly": "svelte-package",
7
7
  "dev": "vite dev --force",