File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @snapshot-labs/snapshot.js" ,
3
- "version" : " 0.14.2 " ,
3
+ "version" : " 0.14.3 " ,
4
4
"repository" : " snapshot-labs/snapshot.js" ,
5
5
"license" : " MIT" ,
6
6
"main" : " dist/snapshot.cjs.js" ,
Original file line number Diff line number Diff line change 1972
1972
"logo" : " ipfs://QmNnGPr1CNvj12SSGzKARtUHv9FyEfE5nES73U4vBWQSJL"
1973
1973
},
1974
1974
"0x534e5f4d41494e" : {
1975
- "key" : " sn " ,
1975
+ "key" : " 0x534e5f4d41494e " ,
1976
1976
"name" : " Starknet" ,
1977
1977
"shortName" : " Starknet" ,
1978
1978
"chainId" : " 0x534e5f4d41494e" ,
1979
1979
"network" : " mainnet" ,
1980
1980
"starknet" : true ,
1981
+ "broviderId" : " sn" ,
1981
1982
"multicall" : " 0x05754af3760f3356da99aea5c3ec39ccac7783d925a19666ebbeca58ff0087f4" ,
1982
1983
"explorer" : {
1983
1984
"url" : " https://starkscan.co"
1987
1988
"logo" : " ipfs://bafkreihbjafyh7eud7r6e5743esaamifcttsvbspfwcrfoc5ykodjdi67m"
1988
1989
},
1989
1990
"0x534e5f5345504f4c4941" : {
1990
- "key" : " sn-sep " ,
1991
- "name" : " Starknet Testnet " ,
1991
+ "key" : " 0x534e5f5345504f4c4941 " ,
1992
+ "name" : " Starknet Sepolia " ,
1992
1993
"shortName" : " testnet" ,
1993
1994
"chainId" : " 0x534e5f5345504f4c4941" ,
1994
1995
"network" : " testnet" ,
1995
1996
"starknet" : true ,
1997
+ "broviderId" : " sn-sep" ,
1996
1998
"testnet" : true ,
1997
1999
"multicall" : " 0x05754af3760f3356da99aea5c3ec39ccac7783d925a19666ebbeca58ff0087f4" ,
1998
2000
"explorer" : {
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ function getBroviderNetworkId(network: string | number): string {
38
38
if ( ! config ) {
39
39
throw new Error ( `Network '${ network } ' is not supported` ) ;
40
40
}
41
- return String ( config . key ) ;
41
+ return config . broviderId || String ( network ) ;
42
42
}
43
43
44
44
function getProviderType ( network : string | number ) : ProviderType {
You can’t perform that action at this time.
0 commit comments