Skip to content

Commit da85f7c

Browse files
authored
Merge pull request #98 from blocknative/develop
Release 0.2.14
2 parents c7eef4b + 903e8d0 commit da85f7c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
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": "0.2.13",
3+
"version": "0.2.14",
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/validation.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ export function validateModal(modal: ReadyModal): never | void {
260260
eventCode,
261261
action,
262262
icon,
263+
loading,
263264
...otherParams
264265
} = modal
265266

@@ -295,6 +296,13 @@ export function validateModal(modal: ReadyModal): never | void {
295296
optional: true
296297
})
297298

299+
validateType({
300+
name: 'loading',
301+
value: loading,
302+
type: 'function',
303+
optional: true
304+
})
305+
298306
validateType({
299307
name: 'button',
300308
value: button,

0 commit comments

Comments
 (0)