diff --git a/package-lock.json b/package-lock.json index efef8682b..3aff5dbee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "rif-marketplace-ui", - "version": "1.3.7", + "version": "1.3.8", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index e3374cd98..5921539bf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rif-marketplace-ui", - "version": "1.3.7", + "version": "1.3.8", "description": "RIF Marketplace provides a digital catalogue with a wide range of decentralised services.", "keywords": [ "RIF", diff --git a/src/api/rif-marketplace-cache/rns/domains.ts b/src/api/rif-marketplace-cache/rns/domains.ts index 782533427..4512973b3 100644 --- a/src/api/rif-marketplace-cache/rns/domains.ts +++ b/src/api/rif-marketplace-cache/rns/domains.ts @@ -20,7 +20,7 @@ const mapFromTransport = (item: DomainTransport): RnsDomain => { } = item const domain: RnsDomain = { id: tokenId, - expirationDate: new Date(expiration.date), + expirationDate: new Date(expiration?.date), ownerAddress: owner.address, name, tokenId,