diff --git a/src/aquarius/Aquarius.ts b/src/aquarius/Aquarius.ts index 1af11e8..0f89517 100644 --- a/src/aquarius/Aquarius.ts +++ b/src/aquarius/Aquarius.ts @@ -261,6 +261,14 @@ export class Aquarius { return result } + /** + * Edit Metadata for a DDO. + * @param {did} string DID. + * @param {newMetadata} EditableMetaData Metadata fields & new values. + * @param {String} updated Updated field of the DDO + * @param {String} signature Signature using updated field to verify that the consumer has rights + * @return {Promise} Result. + */ public async editMetadata( did: DID | string, newMetadata: EditableMetaData, @@ -299,6 +307,13 @@ export class Aquarius { return result } + /** + * Retire a DDO (Delete) + * @param {DID | string} did DID of the asset to update. + * @param {String} updated Updated field of the DDO + * @param {String} signature Signature using updated field to verify that the consumer has rights + * @return {Promise} Result. + */ public async retire( did: DID | string, updated: string,