@uimaxbai/am-lyrics 1.0.0 → 1.0.2

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/dist/src/react.js CHANGED
@@ -313,7 +313,7 @@ class GoogleService {
313
313
  }
314
314
  }
315
315
 
316
- const VERSION = '1.0.0';
316
+ const VERSION = '1.0.2';
317
317
  const INSTRUMENTAL_THRESHOLD_MS = 7000; // Show dots for gaps >= 7s
318
318
  const KPOE_SERVERS = [
319
319
  'https://lyricsplus.binimum.org',
@@ -2186,6 +2186,7 @@ let AmLyrics$1 = class AmLyrics extends i {
2186
2186
  !hasHyphen &&
2187
2187
  trimmedText.length <= 7 &&
2188
2188
  trimmedText.length > 0 &&
2189
+ durationMs >= 700 &&
2189
2190
  durationMs >= trimmedText.length * 300;
2190
2191
  // Optional romanization per syllable
2191
2192
  const romanizedText = this.showRomanization && syllable.romanizedText