File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @web3-onboard/fortmatic" ,
3
- "version" : " 2.0.0 " ,
3
+ "version" : " 2.0.1 " ,
4
4
"description" : " Fortmatic module for web3-onboard" ,
5
5
"module" : " dist/index.js" ,
6
6
"browser" : " dist/index.js" ,
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ function fortmatic(options: APIKey): WalletInit {
18
18
const emitter = new EventEmitter ( )
19
19
20
20
let instance = new Fortmatic ( apiKey , {
21
- chainId : parseInt ( chains [ 0 ] . id , 10 ) ,
21
+ chainId : parseInt ( chains [ 0 ] . id ) ,
22
22
rpcUrl : chains [ 0 ] . rpcUrl
23
23
} )
24
24
@@ -58,7 +58,7 @@ function fortmatic(options: APIKey): WalletInit {
58
58
59
59
// re-instantiate instance with new network
60
60
instance = new Fortmatic ( apiKey , {
61
- chainId : parseInt ( chain . id , 10 ) ,
61
+ chainId : parseInt ( chain . id ) ,
62
62
rpcUrl : chain . rpcUrl
63
63
} )
64
64
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @web3-onboard/torus" ,
3
- "version" : " 2.0.0 " ,
3
+ "version" : " 2.0.1 " ,
4
4
"description" : " Torus module for web3-onboard" ,
5
5
"module" : " dist/index.js" ,
6
6
"browser" : " dist/index.js" ,
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ function torus(options?: TorusOptions): WalletInit {
44
44
enableLogging,
45
45
network : {
46
46
host : chain . rpcUrl ,
47
- chainId : parseInt ( chain . id , 10 ) ,
47
+ chainId : parseInt ( chain . id ) ,
48
48
networkName : chain . label
49
49
} ,
50
50
showTorusButton : showTorusButton ,
@@ -91,7 +91,7 @@ function torus(options?: TorusOptions): WalletInit {
91
91
92
92
await instance . setProvider ( {
93
93
host : chain . rpcUrl ,
94
- chainId : parseInt ( chain . id , 10 ) ,
94
+ chainId : parseInt ( chain . id ) ,
95
95
networkName : chain . label
96
96
} )
97
97
You can’t perform that action at this time.
0 commit comments