We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc558e commit e7268ebCopy full SHA for e7268eb
src/services.ts
@@ -1,6 +1,7 @@
1
import BlocknativeApi from 'bnc-sdk'
2
import { get } from 'svelte/store'
3
import { app } from './stores'
4
+import { version } from '../package.json'
5
6
let blocknative: any
7
@@ -13,14 +14,15 @@ export function initializeBlocknative(
13
14
dappId,
15
networkId,
16
name: 'Onboard',
17
+ appVersion: version,
18
apiUrl
19
})
20
return blocknative
21
}
22
23
export function getBlocknative(): any {
24
if (!blocknative) {
- const {dappId, networkId, apiUrl} = get(app)
25
+ const { dappId, networkId, apiUrl } = get(app)
26
initializeBlocknative(dappId, networkId, apiUrl)
27
28
0 commit comments