diff --git a/src/client.ts b/src/client.ts index 5a04256..5d72ea4 100644 --- a/src/client.ts +++ b/src/client.ts @@ -399,7 +399,7 @@ export class Pushy { target: 'update.apk', hash: progressKey, }).catch(() => { - this.report({ type: 'errowDownloadAndInstallApk' }); + this.report({ type: 'errorDownloadAndInstallApk' }); }); if (this.progressHandlers[progressKey]) { this.progressHandlers[progressKey].remove(); diff --git a/src/type.ts b/src/type.ts index f376c1f..ecd7510 100644 --- a/src/type.ts +++ b/src/type.ts @@ -33,7 +33,7 @@ export type EventType = | 'downloadingApk' | 'rejectStoragePermission' | 'errorStoragePermission' - | 'errowDownloadAndInstallApk'; + | 'errorDownloadAndInstallApk'; export interface EventData { currentVersion: string;