From b409f8d0bb22747d806df99fb61c68db06d94f84 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Sat, 14 Sep 2024 17:30:26 -0700 Subject: [PATCH] feat: rename reset method to clear, respond with "Clear" payload --- src/packages/SpeakLiveClient.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/packages/SpeakLiveClient.ts b/src/packages/SpeakLiveClient.ts index 47b3b2f..e21e601 100644 --- a/src/packages/SpeakLiveClient.ts +++ b/src/packages/SpeakLiveClient.ts @@ -111,12 +111,12 @@ export class SpeakLiveClient extends AbstractLiveClient { } /** - * Requests the server reset the current buffer. + * Requests the server clear the current buffer. */ - public reset(): void { + public clear(): void { this.send( JSON.stringify({ - type: "Reset", + type: "Clear", }) ); }