Skip to content

Commit b132d5c

Browse files
committed
Fix test
1 parent 5596e87 commit b132d5c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/snaps-utils/src/handlers/exports.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ describe('SNAP_EXPORT_NAMES', () => {
2222
'onInstall',
2323
'onUpdate',
2424
'onStart',
25+
'onActive',
26+
'onInactive',
2527
'onNameLookup',
2628
'onKeyringRequest',
2729
'onHomePage',

packages/snaps-utils/src/handlers/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ export enum HandlerType {
3636
OnInstall = 'onInstall',
3737
OnUpdate = 'onUpdate',
3838
OnStart = 'onStart',
39+
OnActive = 'onActive',
40+
OnInactive = 'onInactive',
3941
OnNameLookup = 'onNameLookup',
4042
OnKeyringRequest = 'onKeyringRequest',
4143
OnHomePage = 'onHomePage',
@@ -48,8 +50,6 @@ export enum HandlerType {
4850
OnProtocolRequest = 'onProtocolRequest',
4951
OnClientRequest = 'onClientRequest',
5052
OnWebSocketEvent = 'onWebSocketEvent',
51-
OnActive = 'onActive',
52-
OnInactive = 'onInactive',
5353
}
5454

5555
export type SnapHandler = {

0 commit comments

Comments
 (0)