@svgrid/enterprise 1.0.1 → 1.2.0

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/src/watermark.ts CHANGED
@@ -5,10 +5,10 @@
5
5
  // this file is only for the "no key set" case where the feature continues to
6
6
  // work but the user gets nudged.
7
7
 
8
- const WATERMARK_ATTR = 'data-@svgrid/enterprise-watermark'
8
+ const WATERMARK_ATTR = 'data-svgrid-enterprise-watermark'
9
9
  // Marks a grid that has already shown (and faded) its watermark, so the
10
10
  // MutationObserver doesn't re-add it once it fades out and is removed.
11
- const NUDGED_ATTR = 'data-@svgrid/enterprise-nudged'
11
+ const NUDGED_ATTR = 'data-svgrid-enterprise-nudged'
12
12
  const HOMEPAGE_URL = 'https://www.svgrid.com'
13
13
  const LICENSE_URL = 'https://www.svgrid.com/pricing'
14
14
  const WATERMARK_LABEL = 'www.svgrid.com'
@@ -24,7 +24,7 @@ let observer: MutationObserver | null = null
24
24
  export function emitUnlicensedNudge(): void {
25
25
  showConsoleOnce()
26
26
  if (typeof document === 'undefined' || typeof window === 'undefined') return
27
- // Defer one tick: installPro may run inside onApiReady before the grid's
27
+ // Defer one tick: installEnterprise may run inside onApiReady before the grid's
28
28
  // root element is in the DOM. The microtask gives Svelte time to flush.
29
29
  queueMicrotask(() => attachToAllGrids())
30
30
  // Watch for grids that mount later (route changes, dynamic loads).