Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

refactor!: change the events' prefix to notify: #139

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
*/
export enum KeyringEvent {
// Account events
AccountCreated = 'event:accountCreated',
AccountUpdated = 'event:accountUpdated',
AccountDeleted = 'event:accountDeleted',
AccountCreated = 'notify:accountCreated',
AccountUpdated = 'notify:accountUpdated',
AccountDeleted = 'notify:accountDeleted',

// Request events
RequestApproved = 'event:requestApproved',
RequestRejected = 'event:requestRejected',
RequestApproved = 'notify:requestApproved',
RequestRejected = 'notify:requestRejected',
}