@creativeorange/azure-text-to-speech 3.0.2 → 4.0.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/README.md +3 -1
- package/dist/TextToSpeech.d.ts +6 -0
- package/dist/co-azure-tts.es.js +10141 -9568
- package/dist/co-azure-tts.umd.js +23 -21
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Browser package for Azure Cognitive Services Speech with **temporary authorization tokens**. Permanent Azure subscription keys never enter frontend JavaScript.
|
|
4
4
|
|
|
5
5
|
Package: `@creativeorange/azure-text-to-speech`
|
|
6
|
-
Current major version: **
|
|
6
|
+
Current major version: **4.0.0**
|
|
7
7
|
|
|
8
8
|
## Why version 3 exists
|
|
9
9
|
|
|
@@ -431,6 +431,8 @@ Version 3 keeps the existing client behaviour from the development branch:
|
|
|
431
431
|
|
|
432
432
|
## Development
|
|
433
433
|
|
|
434
|
+
Requires Node 24 or later.
|
|
435
|
+
|
|
434
436
|
```bash
|
|
435
437
|
npm ci
|
|
436
438
|
npm run lint
|
package/dist/TextToSpeech.d.ts
CHANGED
|
@@ -75,6 +75,12 @@ export declare class TextToSpeech {
|
|
|
75
75
|
private startHighlightingInterval;
|
|
76
76
|
private updateHighlightForCurrentTime;
|
|
77
77
|
private highlightTextRange;
|
|
78
|
+
private getSpokenTextDomOffset;
|
|
79
|
+
private isRangeVisuallyVisible;
|
|
80
|
+
private getClippingRect;
|
|
81
|
+
private isClippingElement;
|
|
82
|
+
private isClippingOverflowValue;
|
|
83
|
+
private rectsOverlap;
|
|
78
84
|
private setHighlightTargetFromNode;
|
|
79
85
|
private shouldHighlight;
|
|
80
86
|
private resetHighlightState;
|