Skip to content

Commit a0dfea9

Browse files
committed
Change name of init to defaults
1 parent be1e8b5 commit a0dfea9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/modules/ready/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import connect from "./connect"
22
import network from "./network"
33
import balance from "./balance"
44

5-
function init(options) {
5+
function defaults(options) {
66
if (!options || typeof options !== "object") {
77
throw new Error("initModules must be called with a valid option object")
88
}
@@ -19,7 +19,7 @@ function init(options) {
1919
}
2020

2121
export default {
22-
init,
22+
defaults,
2323
connect,
2424
network,
2525
balance

src/modules/select/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import portis from "./wallets/portis"
77
import fortmatic from "./wallets/fortmatic"
88
import { networkName } from "../../utilities"
99

10-
function init({
10+
function defaults({
1111
heading,
1212
description,
1313
networkId,
@@ -51,7 +51,7 @@ function init({
5151
}
5252

5353
export default {
54-
init,
54+
defaults,
5555
metamask,
5656
dapper,
5757
walletConnect,

0 commit comments

Comments
 (0)