File tree Expand file tree Collapse file tree 4 files changed +13
-4
lines changed
build/src/src/modules/release/ipfs Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,12 @@ function downloadAssetFactory<T>({
5959 validate : ( data : T ) => T ;
6060 maxLength ?: number ;
6161} ) {
62- return memoize ( async function downloadAsset ( hash : string ) : Promise < T > {
62+ async function downloadAsset ( hash : string ) : Promise < T > {
6363 const content = await ipfs . catString ( { hash, maxLength } ) ;
6464 const data : T = parse ( content ) ;
6565 return validate ( data ) ;
66- } ) ;
66+ }
67+ return memoize ( downloadAsset , { async : true } ) ;
6768}
6869
6970/**
Original file line number Diff line number Diff line change 11{
22 "name" : " dappmanager.dnp.dappnode.eth" ,
3- "version" : " 0.2.20 " ,
3+ "version" : " 0.2.21 " ,
44 "description" : " Dappnode package responsible for providing the DappNode Package Manager" ,
55 "avatar" : " /ipfs/QmfTpBLzoSdrG88ETRnDus27DTDRUrTXyyVmhXDuMNYVaN" ,
66 "type" : " dncore" ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ services:
1212 build :
1313 context : .
1414 dockerfile : ./build/Dockerfile
15- image : ' dappmanager.dnp.dappnode.eth:0.2.20 '
15+ image : ' dappmanager.dnp.dappnode.eth:0.2.21 '
1616 container_name : DAppNodeCore-dappmanager.dnp.dappnode.eth
1717 restart : always
1818 volumes :
Original file line number Diff line number Diff line change 2222 "dappnode" : " Thu, 14 Nov 2019 14:14:56 GMT"
2323 },
2424 "link" : " http://my.dappnode/#/sdk/publish/r=dappmanager.dnp.dappnode.eth&v=0.2.19&h=%2Fipfs%2FQmVitewYpr8qcgkfFDGR7mjiLUiwaMcStvygUPyLj33AQb"
25+ },
26+ "0.2.20" : {
27+ "hash" : " /ipfs/QmQWjQbsdB9nFp4WSqQjsvLC5nKaUGHR5FaywBxhuWUrpc" ,
28+ "type" : " manifest" ,
29+ "uploadedTo" : {
30+ "dappnode" : " Wed, 20 Nov 2019 17:18:10 GMT"
31+ },
32+ "link" : " http://my.dappnode/#/sdk/publish/r=dappmanager.dnp.dappnode.eth&v=0.2.20&h=%2Fipfs%2FQmQWjQbsdB9nFp4WSqQjsvLC5nKaUGHR5FaywBxhuWUrpc"
2533 }
2634}
You can’t perform that action at this time.
0 commit comments