From 29577fd99ad6432cb80cd41f249ca7abbe0b7f1a Mon Sep 17 00:00:00 2001 From: Daniel Rocha <68558152+danroc@users.noreply.github.com> Date: Wed, 4 Oct 2023 22:29:17 +0200 Subject: [PATCH] refactor!: change the events' prefix to `notify:` This is more in line with the fact that events are sent to the extension as an RPC call. --- src/events.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/events.ts b/src/events.ts index 87c3afbb8..d3f26d595 100644 --- a/src/events.ts +++ b/src/events.ts @@ -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', }