File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
examples/packages/cronjobs/src
snaps-controllers/src/test-utils Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 1+ /**
2+ * The parameters for calling the `scheduleNotification` JSON-RPC method.
3+ *
4+ * @property date - The ISO 8601 date of when the notification should be scheduled.
5+ */
16export type ScheduleNotificationParams = {
27 date : string ;
38} ;
49
10+ /**
11+ * The parameters for calling the `cancelNotification` JSON-RPC method.
12+ *
13+ * @property id - The id of the notification event to cancel.
14+ */
515export type CancelNotificationParams = {
616 id : string ;
717} ;
Original file line number Diff line number Diff line change @@ -677,6 +677,7 @@ export const getRestrictedCronjobControllerMessenger = (
677677 'SnapController:handleRequest' ,
678678 'CronjobController:scheduleBackgroundEvent' ,
679679 'CronjobController:cancelBackgroundEvent' ,
680+ 'CronjobController:getBackgroundEvents' ,
680681 ] ,
681682 } ) ;
682683
You can’t perform that action at this time.
0 commit comments