Skip to content

Commit 7b2dae2

Browse files
authored
Merge pull request #293 from dappnode/v0.2.21
v0.2.21 Release
2 parents c0efe62 + ecc1ffb commit 7b2dae2

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

build/src/src/modules/release/ipfs/downloadAssets.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
/**

dappnode_package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

releases.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,13 @@
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
}

0 commit comments

Comments
 (0)