@yogiswara/honcho-editor-ui 3.4.12 → 3.4.13

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.
@@ -1,4 +1,5 @@
1
1
  import { useState, useCallback, useEffect, useRef, useMemo } from 'react';
2
+ import { log } from '../utils/logger';
2
3
  /**
3
4
  * Hook for managing paginated image loading with ControllerBulk.
4
5
  *
@@ -67,7 +68,7 @@ export function usePaging(controller, firebaseUid, eventId, options = {}) {
67
68
  // Helper function to log debug messages
68
69
  const debugLog = useCallback((message, data) => {
69
70
  if (memoizedOptions.devWarnings) {
70
- console.log(`[usePaging] ${message}`, data || '');
71
+ log.debug({ data }, `[usePaging] ${message}`);
71
72
  }
72
73
  }, [memoizedOptions.devWarnings]);
73
74
  // Helper function to handle errors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yogiswara/honcho-editor-ui",
3
- "version": "3.4.12",
3
+ "version": "3.4.13",
4
4
  "description": "A complete UI component library for the Honcho photo editor.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",