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

Commit

Permalink
refactor!: change the events' prefix to notify:
Browse files Browse the repository at this point in the history
This is more in line with the fact that events are sent to the extension
as an RPC call.
  • Loading branch information
danroc committed Oct 6, 2023
1 parent e278c62 commit 29577fd
Showing 1 changed file with 5 additions and 5 deletions.
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',
}

0 comments on commit 29577fd

Please sign in to comment.