diff --git a/build/lib/events.d.ts b/build/lib/events.d.ts index 60b4903..6bcf00e 100644 --- a/build/lib/events.d.ts +++ b/build/lib/events.d.ts @@ -42,8 +42,8 @@ export declare type FirmwareUpdateNotificationCallback = (releaseNotes: string, export declare type InternetConnectivityChangedCallback = (connected: boolean) => void; export interface NotificationEventCallbacks { "rebooting": RebootNotificationCallback; - "internet connectivity changed": FirmwareUpdateNotificationCallback; - "firmware update available": InternetConnectivityChangedCallback; + "internet connectivity changed": InternetConnectivityChangedCallback; + "firmware update available": FirmwareUpdateNotificationCallback; } export declare type NotificationEvents = keyof NotificationEventCallbacks; export declare type AllEventCallbacks = Merge, Merge>; diff --git a/src/lib/events.ts b/src/lib/events.ts index 14fef01..ef496e5 100644 --- a/src/lib/events.ts +++ b/src/lib/events.ts @@ -67,8 +67,8 @@ export type InternetConnectivityChangedCallback = (connected: boolean) => void; export interface NotificationEventCallbacks { "rebooting": RebootNotificationCallback; - "internet connectivity changed": FirmwareUpdateNotificationCallback; - "firmware update available": InternetConnectivityChangedCallback; + "internet connectivity changed": InternetConnectivityChangedCallback; + "firmware update available": FirmwareUpdateNotificationCallback; } export type NotificationEvents = keyof NotificationEventCallbacks;