File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -250,6 +250,8 @@ export function validateWallet(
250
250
preferred,
251
251
desktop,
252
252
mobile,
253
+ type,
254
+ osExclusions,
253
255
...otherParams
254
256
} = obj
255
257
@@ -261,11 +263,13 @@ export function validateWallet(
261
263
'iconSrcSet' ,
262
264
'svg' ,
263
265
'wallet' ,
266
+ 'type' ,
264
267
'link' ,
265
268
'installMessage' ,
266
269
'preferred' ,
267
270
'desktop' ,
268
- 'mobile'
271
+ 'mobile' ,
272
+ 'osExclusions'
269
273
] ,
270
274
'selectWallets.wallets item'
271
275
)
@@ -318,6 +322,20 @@ export function validateWallet(
318
322
optional : true
319
323
} )
320
324
325
+ validateType ( {
326
+ name : 'type' ,
327
+ value : type ,
328
+ type : 'string' ,
329
+ optional : true
330
+ } )
331
+
332
+ validateType ( {
333
+ name : 'osExclusions' ,
334
+ value : osExclusions ,
335
+ type : 'array' ,
336
+ optional : true
337
+ } )
338
+
321
339
return
322
340
}
323
341
You can’t perform that action at this time.
0 commit comments