Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

BestPrice updates #138

Merged
merged 2 commits into from
Oct 8, 2020
Merged

BestPrice updates #138

merged 2 commits into from
Oct 8, 2020

Conversation

kremalicious
Copy link
Contributor

@kremalicious kremalicious commented Oct 8, 2020

Following oceanprotocol/ocean.js#340 & oceanprotocol/aquarius#286

price returned from useMetadata is now set first from the new ddo.price object, and then fetches the price as before, and replaces the values. Also refactored to make sure there is no initialized ocean or accountId required to get that first ddo.price.

And with that, this is finally possible, showing a price without any wallet:

Screen Shot 2020-10-08 at 13 43 02

@kremalicious kremalicious marked this pull request as ready for review October 8, 2020 11:43
@kremalicious kremalicious force-pushed the feature/price-updates branch from f0c7be4 to efb4b12 Compare October 8, 2020 12:20
@kremalicious kremalicious merged commit 0a45eb2 into main Oct 8, 2020
@kremalicious kremalicious deleted the feature/price-updates branch October 8, 2020 12:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant