updateDid

open suspend override fun updateDid(did: Did, updater: (DidDocument) -> DidDocument): DidDocument

Updates a DID Document.

Return

The updated DID Document

Parameters

did

Type-safe DID identifier to update

updater

Function that transforms the current document to the new document