@eluvio/elv-client-js 4.0.16 → 4.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -752,7 +752,7 @@ class ElvWalletClient {
|
|
|
752
752
|
const marketplaceInfo = this.MarketplaceInfo({marketplaceParams});
|
|
753
753
|
|
|
754
754
|
const marketplaceId = marketplaceInfo.marketplaceId;
|
|
755
|
-
const
|
|
755
|
+
const marketplaceHash = await this.LatestMarketplaceHash({marketplaceParams});
|
|
756
756
|
|
|
757
757
|
if(this.cachedMarketplaces[marketplaceId] && this.cachedMarketplaces[marketplaceId].versionHash !== marketplaceHash) {
|
|
758
758
|
delete this.cachedMarketplaces[marketplaceId];
|
|
@@ -810,8 +810,8 @@ class ElvWalletClient {
|
|
|
810
810
|
|
|
811
811
|
marketplace.retrievedAt = Date.now();
|
|
812
812
|
marketplace.marketplaceId = marketplaceId;
|
|
813
|
-
marketplace.versionHash =
|
|
814
|
-
marketplace.marketplaceHash =
|
|
813
|
+
marketplace.versionHash = marketplaceHash;
|
|
814
|
+
marketplace.marketplaceHash = marketplaceHash;
|
|
815
815
|
|
|
816
816
|
if(this.previewMarketplaceId && marketplaceId === this.previewMarketplaceId) {
|
|
817
817
|
marketplace.branding.preview = true;
|