File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 "@bull-board/express" : " ^3.10.0" ,
1414 "@casperholders/core" : " ^3.0.1" ,
1515 "big.js" : " ^6.1.1" ,
16- "body-parser" : " ^1.19.2 " ,
16+ "body-parser" : " ^1.20.1 " ,
1717 "bullmq" : " ^1.76.3" ,
18- "casper-js-sdk" : " ^2.9.1 " ,
18+ "casper-js-sdk" : " ^2.10.0 " ,
1919 "cookie-parser" : " ~1.4.4" ,
2020 "core-js" : " ^3.18.1" ,
2121 "cors" : " ^2.8.5" ,
22- "debug" : " ~2.6.9 " ,
22+ "debug" : " ~4.3.4 " ,
2323 "dotenv" : " ^10.0.0" ,
24- "express" : " ~4.16.1 " ,
24+ "express" : " ~4.17.3 " ,
2525 "lodash" : " ^4.17.21" ,
2626 "morgan" : " ~1.9.1" ,
2727 "node-fetch" : " ^2.6.1" ,
2828 "parse-duration" : " ^1.0.2" ,
2929 "pg" : " ^8.7.3" ,
3030 "pg-hstore" : " ^2.3.4" ,
3131 "regenerator-runtime" : " ^0.13.9" ,
32- "sequelize" : " ^6.17 .0" ,
32+ "sequelize" : " ^6.27 .0" ,
3333 "swagger-jsdoc" : " ^6.1.0" ,
3434 "swagger-ui-express" : " ^4.3.0" ,
3535 "umzug" : " ^3.0.0"
3636 },
3737 "devDependencies" : {
3838 "jest" : " ^27.1.0" ,
3939 "sequelize-cli" : " ^6.4.1" ,
40- "sqlite3" : " ^5.0.2 " ,
40+ "sqlite3" : " ^5.1.4 " ,
4141 "supertest" : " ^6.1.6"
4242 },
4343 "jest" : {
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ async function getSupply() {
3838 const testnetUref = 'uref-5d7b1b23197cda53dec593caf30836a5740afa2279b356fae74bf1bdc2b2e725-007' ;
3939 const mainnetUref = 'uref-8032100a1dcc56acf84d5fc9c968ce8caa5f2835ed665a2ae2186141e9946214-007' ;
4040 const uref = process . env . NETWORK === 'casper' ? mainnetUref : testnetUref ;
41- const supply = await fetch ( process . env . CASPER_RPC_URL , {
41+ const supply = await ( await fetch ( process . env . CASPER_RPC_URL , {
4242 method : 'POST' ,
4343 headers : {
4444 'Content-Type' : 'application/json' ,
@@ -52,8 +52,8 @@ async function getSupply() {
5252 uref
5353 ] ,
5454 } ) ,
55- } ) ;
56- return ( await supply . json ( ) ) . result . stored_value . CLValue . parsed ;
55+ } ) ) . json ( ) ;
56+ return supply . result . stored_value . CLValue . parsed ;
5757}
5858
5959/**
You can’t perform that action at this time.
0 commit comments