File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 53
53
"@walletconnect/web3-provider" : " ^1.0.5" ,
54
54
"authereum" : " ^0.0.4-beta.157" ,
55
55
"bignumber.js" : " ^9.0.0" ,
56
- "bnc-sdk" : " ^2.1.3 " ,
56
+ "bnc-sdk" : " ^2.1.4 " ,
57
57
"bowser" : " ^2.5.2" ,
58
58
"ethereumjs-tx" : " ^2.1.2" ,
59
59
"ethereumjs-util" : " ^6.2.0" ,
Original file line number Diff line number Diff line change @@ -228,6 +228,8 @@ export function networkName(id: number): string {
228
228
return 'goerli'
229
229
case 42 :
230
230
return 'kovan'
231
+ case 100 :
232
+ return 'xdai'
231
233
default :
232
234
return 'local'
233
235
}
@@ -245,6 +247,8 @@ export function networkToId(network: string): number {
245
247
return 5
246
248
case 'kovan' :
247
249
return 42
250
+ case 'xdai' :
251
+ return 100
248
252
default :
249
253
return 0
250
254
}
Original file line number Diff line number Diff line change @@ -2217,10 +2217,10 @@ bn.js@^5.1.1, bn.js@^5.1.2:
2217
2217
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.1.2.tgz#c9686902d3c9a27729f43ab10f9d79c2004da7b0"
2218
2218
integrity sha512-40rZaf3bUNKTVYu9sIeeEGOg7g14Yvnj9kH7b50EiwX0Q7A6umbvfI5tvHaOERH0XigqKkfLkFQxzb4e6CIXnA==
2219
2219
2220
- bnc-sdk@^2.1.3 :
2221
- version "2.1.3 "
2222
- resolved "https://registry.yarnpkg.com/bnc-sdk/-/bnc-sdk-2.1.3 .tgz#62cc865455186bae1dc5ce41b5e0f8b609ea306c "
2223
- integrity sha512-SkvnM9IAXqHozlllJk5QO82RuptWrRyTwncSxm150ziUVqTSYYa0XDn/5AGfJrQgrxR1iGT47QQs+ZP7RaCf7Q ==
2220
+ bnc-sdk@^2.1.4 :
2221
+ version "2.1.4 "
2222
+ resolved "https://registry.yarnpkg.com/bnc-sdk/-/bnc-sdk-2.1.4 .tgz#23267198f5a48e800d9c2406f6d04a767cab5643 "
2223
+ integrity sha512-aU7DYweE+6tfTvZE7NOOfQsieU2Zyrav6o/xwuLt+uKGvrkblIeg1aqBW1yAQBEg4LCHEygX6TwZk8VznDAh3g ==
2224
2224
dependencies :
2225
2225
crypto-es "^1.2.2"
2226
2226
sturdy-websocket "^0.1.12"
You can’t perform that action at this time.
0 commit comments