File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import connect from "./connect"
2
2
import network from "./network"
3
3
import balance from "./balance"
4
4
5
- function init ( options ) {
5
+ function defaults ( options ) {
6
6
if ( ! options || typeof options !== "object" ) {
7
7
throw new Error ( "initModules must be called with a valid option object" )
8
8
}
@@ -19,7 +19,7 @@ function init(options) {
19
19
}
20
20
21
21
export default {
22
- init ,
22
+ defaults ,
23
23
connect,
24
24
network,
25
25
balance
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import portis from "./wallets/portis"
7
7
import fortmatic from "./wallets/fortmatic"
8
8
import { networkName } from "../../utilities"
9
9
10
- function init ( {
10
+ function defaults ( {
11
11
heading,
12
12
description,
13
13
networkId,
@@ -51,7 +51,7 @@ function init({
51
51
}
52
52
53
53
export default {
54
- init ,
54
+ defaults ,
55
55
metamask,
56
56
dapper,
57
57
walletConnect,
You can’t perform that action at this time.
0 commit comments