1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

fix issues raised by npm run lint

This commit is contained in:
trentmc 2021-08-23 15:28:17 +02:00
parent 259432a803
commit c90c14a5a0

View File

@ -26,6 +26,7 @@ The publisher may be the asset owner, or a marketplace acting on behalf of the o
Most metadata fields may be modified after creation. The blockchain records the provenance of changes. Most metadata fields may be modified after creation. The blockchain records the provenance of changes.
DDOs (including metadata) are found in two places: DDOs (including metadata) are found in two places:
- _Remote_ - main storage, on-chain. Some fields are encrypted. - _Remote_ - main storage, on-chain. Some fields are encrypted.
- _Local_ - local cache. Example: Aquarius. All fields are in plaintext. - _Local_ - local cache. Example: Aquarius. All fields are in plaintext.
@ -163,6 +164,7 @@ The previous example was for a local cache, with all fields in plaintext.
Here's the same example, for remote on-chain storage. That is, it's how metadata looks as a response to querying Aquarius (remote metadata). Here's the same example, for remote on-chain storage. That is, it's how metadata looks as a response to querying Aquarius (remote metadata).
How remote is changed, compared to local: How remote is changed, compared to local:
- `url` is removed from all objects in the `files` array - `url` is removed from all objects in the `files` array
- `encryptedFiles` is added. - `encryptedFiles` is added.