From 9ce0402fb04d87b4043987f6b007bb6596411749 Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Fri, 26 Jul 2024 09:29:18 -0400 Subject: [PATCH] Rename "refresh" action to "restart" --- src/ClientWidgetApi.ts | 2 +- src/interfaces/UpdateDelayedEventAction.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ClientWidgetApi.ts b/src/ClientWidgetApi.ts index 0bce564..99609ab 100644 --- a/src/ClientWidgetApi.ts +++ b/src/ClientWidgetApi.ts @@ -567,7 +567,7 @@ export class ClientWidgetApi extends EventEmitter { switch (request.data.action) { case UpdateDelayedEventActionName.Cancel: - case UpdateDelayedEventActionName.Refresh: + case UpdateDelayedEventActionName.Restart: case UpdateDelayedEventActionName.Send: break default: diff --git a/src/interfaces/UpdateDelayedEventAction.ts b/src/interfaces/UpdateDelayedEventAction.ts index 8e2e05d..eb62697 100644 --- a/src/interfaces/UpdateDelayedEventAction.ts +++ b/src/interfaces/UpdateDelayedEventAction.ts @@ -20,7 +20,7 @@ import { IWidgetApiResponseData } from "./IWidgetApiResponse"; export enum UpdateDelayedEventActionName { Cancel = "cancel", - Refresh = "refresh", + Restart = "restart", Send = "send", }