@touchcastllc/napster-companion-api-dev 2.1.0-alpha.6 → 2.1.0-alpha.7
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/lib/constants/events.d.ts +2 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/index.standalone.js +1 -1
- package/lib/services/captions.d.ts +5 -0
- package/package.json +1 -1
|
@@ -78,6 +78,11 @@ export interface CaptionPacer {
|
|
|
78
78
|
delta(itemId: string, content: string): void;
|
|
79
79
|
/** The `completed` message: the whole reply text, replacing the deltas. */
|
|
80
80
|
completed(itemId: string, content: string): void;
|
|
81
|
+
/**
|
|
82
|
+
* A `created` message with text: a puppeteer line, or one sentence of it
|
|
83
|
+
* when the line is split (CA-1274). No delta or `completed` follows.
|
|
84
|
+
*/
|
|
85
|
+
created(itemId: string, content: string): void;
|
|
81
86
|
/** A `talk_state_changed` event; `talkId` is the reply's `item_id`. */
|
|
82
87
|
talk(state: string | undefined, talkId: string | undefined): void;
|
|
83
88
|
destroy(): void;
|