Skip to content

Commit ef27a41

Browse files
authored
Merge pull request #377 from blocknative/develop
Release 1.9.6
2 parents fdf7c1d + d83c645 commit ef27a41

File tree

5 files changed

+22
-4
lines changed

5 files changed

+22
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bnc-onboard",
3-
"version": "1.9.5",
3+
"version": "1.9.6",
44
"description": "Onboard users to web3 by allowing them to select a wallet, get that wallet ready to transact and have access to synced wallet state.",
55
"keywords": [
66
"ethereum",

src/components/Modal.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
align-items: center;
1919
position: fixed;
2020
font-size: 16px;
21-
z-index: 99;
2221
top: 0;
2322
left: 0;
2423
width: 100vw;

src/interfaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export interface AuthereumOptions extends CommonWalletOptions {
215215
rpcUri?: string
216216
webUri?: string
217217
xsUri?: string
218-
blockedPopupRedirect?: string
218+
blockedPopupRedirect?: boolean
219219
}
220220

221221
export interface WalletLinkOptions extends CommonWalletOptions {

src/modules/select/wallets/authereum.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ function authereum(
1515
const { default: Authereum } = await import('authereum')
1616
const instance = new Authereum({
1717
networkName: networkName(networkId),
18+
blockedPopupRedirect: false,
1819
...otherOptions
1920
})
2021

src/validation.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,8 @@ export function validateWallet(
250250
preferred,
251251
desktop,
252252
mobile,
253+
type,
254+
osExclusions,
253255
...otherParams
254256
} = obj
255257

@@ -261,11 +263,13 @@ export function validateWallet(
261263
'iconSrcSet',
262264
'svg',
263265
'wallet',
266+
'type',
264267
'link',
265268
'installMessage',
266269
'preferred',
267270
'desktop',
268-
'mobile'
271+
'mobile',
272+
'osExclusions'
269273
],
270274
'selectWallets.wallets item'
271275
)
@@ -318,6 +322,20 @@ export function validateWallet(
318322
optional: true
319323
})
320324

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+
321339
return
322340
}
323341

0 commit comments

Comments
 (0)