@eluvio/elv-client-js 4.0.119 → 4.0.120

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-client-js",
3
- "version": "4.0.119",
3
+ "version": "4.0.120",
4
4
  "description": "Javascript client for the Eluvio Content Fabric",
5
5
  "main": "src/index.js",
6
6
  "author": "Kevin Talmadge",
@@ -1288,7 +1288,7 @@ exports.ListingPurchaseStatus = async function({listingId, confirmationId}) {
1288
1288
  exports.PurchaseStatus = async function({marketplaceParams, confirmationId}) {
1289
1289
  try {
1290
1290
  const marketplaceInfo = await this.MarketplaceInfo({marketplaceParams});
1291
- const statuses = await this.MintingStatus({tenantId: marketplaceInfo.tenant_id});
1291
+ const statuses = await this.MintingStatus({tenantId: marketplaceInfo.tenantId});
1292
1292
 
1293
1293
  return statuses.find(status => status.op === "nft-buy" && status.confirmationId === confirmationId) || { status: "none" };
1294
1294
  } catch(error) {
@@ -768,12 +768,13 @@ class ElvWalletClient {
768
768
  availableMarketplaces[marketplaceInfo.tenant_slug] = availableMarketplaces[marketplaceInfo.tenant_slug] || {};
769
769
 
770
770
  availableMarketplaces[marketplaceInfo.tenant_slug][marketplaceSlug] = {
771
+ ...marketplaceInfo,
771
772
  tenantName: marketplaceInfo.tenant_slug,
772
773
  tenantSlug: marketplaceInfo.tenant_slug,
773
774
  tenantId: marketplaceInfo.tenant_id,
774
775
  marketplaceSlug: marketplaceSlug,
775
776
  marketplaceId,
776
- marketplaceHash: marketplaceInfo.source_hash,
777
+ marketplaceHash: marketplaceInfo.source_hash
777
778
  };
778
779
 
779
780
  availableMarketplacesById[marketplaceId] = availableMarketplaces[marketplaceInfo.tenant_slug][marketplaceSlug];