Skip to content

Commit 56fb77a

Browse files
authored
Merge pull request #131 from blocknative/develop
Release 1.1.6
2 parents 0b6ec93 + 52ff761 commit 56fb77a

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
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.1.5",
3+
"version": "1.1.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",

rollup.config.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,6 @@ export default {
3030
},
3131
{ format: 'cjs', dir: 'dist/cjs/' }
3232
],
33-
moduleContext: id => {
34-
const thisAsWindowForModules = [
35-
'node_modules/intl-messageformat/lib/core.js',
36-
'node_modules/intl-messageformat/lib/compiler.js'
37-
]
38-
39-
if (thisAsWindowForModules.some(id_ => id.trimRight().endsWith(id_))) {
40-
return 'window'
41-
}
42-
},
4333
plugins: [
4434
json(),
4535
image(),
@@ -64,6 +54,7 @@ export default {
6454
'fortmatic',
6555
'squarelink',
6656
'authereum',
57+
'lodash.debounce',
6758
'regenerator-runtime/runtime'
6859
]
6960
}

src/stores.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { writable, derived, get } from 'svelte/store'
2-
import debounce from 'lodash.debounce'
32
import { getBlocknative } from './services'
43
import { wait, makeQuerablePromise } from './utilities'
54
import { validateWalletInterface, validateType } from './validation'
@@ -13,6 +12,7 @@ import {
1312
} from './interfaces'
1413

1514
const { default: Cancelable } = require('promise-cancelable')
15+
const debounce = require('lodash.debounce')
1616

1717
export const app: WritableStore = writable({
1818
dappId: '',

0 commit comments

Comments
 (0)