@pie-framework/pie-fixed-player-static 1.0.0-351df72.8 → 1.0.0-351df72.9

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @pie-framework/pie-fixed-player-static
2
2
 
3
- Version: 1.0.0-351df72.8
3
+ Version: 1.0.0-351df72.9
4
4
 
5
5
  Pre-bundled PIE fixed player with static element versions for production use.
6
6
 
@@ -17,7 +17,7 @@ in Pieoneer, use `pie-inline-player` instead.
17
17
  ## Installation
18
18
 
19
19
  ```bash
20
- npm install @pie-framework/pie-fixed-player-static@1.0.0-351df72.8
20
+ npm install @pie-framework/pie-fixed-player-static@1.0.0-351df72.9
21
21
  ```
22
22
 
23
23
  ## Usage
package/dist/index.js CHANGED
@@ -16,7 +16,11 @@
16
16
  // - _dll_pie_lib__math_rendering: SystemJS/DLL key used by IIFE bundles
17
17
  window['@pie-lib/math-rendering'] = mathRenderingModule._dll_pie_lib__math_rendering;
18
18
  window['_dll_pie_lib__math_rendering'] = mathRenderingModule._dll_pie_lib__math_rendering;
19
- console.log('[pie-fixed-player-static] Math rendering initialized (both globals set)');
19
+
20
+ // Debug logging (only if window.PIE_DEBUG is true)
21
+ if (window.PIE_DEBUG) {
22
+ console.debug('[pie-fixed-player-static] Math rendering initialized (both globals set)');
23
+ }
20
24
  }
21
25
 
22
26
  // 3. NOW load PIE element bundles (IIFE) - these execute immediately
@@ -25,10 +29,10 @@
25
29
 
26
30
  // 4. Load pie-fixed-player custom element
27
31
  await import('./pie-fixed-player.js');
28
-
29
- // 5. Confirm ready
30
- if (typeof window !== 'undefined') {
31
- console.log('[pie-fixed-player-static] Package loaded. PIE elements available via window.pie');
32
+
33
+ // 5. Confirm ready (debug logging)
34
+ if (typeof window !== 'undefined' && window.PIE_DEBUG) {
35
+ console.debug('[pie-fixed-player-static] Package loaded. PIE elements available via window.pie');
32
36
  }
33
37
  } catch (error) {
34
38
  console.error('[pie-fixed-player-static] Failed to initialize:', error);