File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -124,19 +124,21 @@ export const SNAP_EXPORTS = {
124124 [ HandlerType . OnAssetsConversion ] : {
125125 type : HandlerType . OnAssetsConversion ,
126126 required : true ,
127- validator : ( snapExport : unknown ) : snapExport is OnAssetsConversionHandler => {
127+ validator : (
128+ snapExport : unknown ,
129+ ) : snapExport is OnAssetsConversionHandler => {
128130 return typeof snapExport === 'function' ;
129131 } ,
130132 } ,
131133 [ HandlerType . OnProtocolRequest ] : {
132134 type : HandlerType . OnProtocolRequest ,
133- required : false ,
135+ required : true ,
134136 validator : (
135137 snapExport : unknown ,
136138 ) : snapExport is OnProtocolRequestHandler => {
137139 return typeof snapExport === 'function' ;
138140 } ,
139- }
141+ } ,
140142} as const ;
141143
142144export const OnTransactionSeverityResponseStruct = object ( {
You can’t perform that action at this time.
0 commit comments