Skip to content

Commit 68fce4e

Browse files
authored
Merge pull request #498 from blocknative/release/1.19.2
Release 1.19.2
2 parents c80f2cd + a6c7dce commit 68fce4e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
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.19.1",
3+
"version": "1.19.2",
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/services.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ export function initializeBlocknative(
2323
export function getBlocknative(): any {
2424
if (!blocknative) {
2525
const { dappId, networkId, apiUrl } = get(app)
26-
initializeBlocknative(dappId, networkId, apiUrl)
26+
// init only if dappId
27+
dappId && initializeBlocknative(dappId, networkId, apiUrl)
2728
}
2829
return blocknative
2930
}

0 commit comments

Comments
 (0)