kernl API
    Preparing search index...

    Function describeChange

    • Describe a write the shell is asked to sign as what it changes.

      Profiles diff field by field; follow, connection and list changes count what was added and removed and name the first few entries in plain words (a person by key prefix, a server by its name); any other replaceable or addressable record diffs its tags and says when its content is replaced, without copying it; deletions list the events and addresses that disappear; a request to vanish names the services asked. Those kinds are destructive because they replace or erase the account's public record. Everything else is routine and shows a content preview. Nothing here is protocol vocabulary the user has to know, and nothing secret is copied out of the event; the event itself rides along unchanged for the record view.

      Parameters

      • event: NostrEvent

        The event to be signed.

      • before: NostrEvent | undefined

        The current version of the replaceable event, when known.

      • applet: AppletIdentity

        The applet asking.

      Returns ConsentSummary

      The summary the host renders.

      describeChange(kind3Event, currentFollows, identity).lines[0];
      // { label: 'Follows added', after: '1: 3bf0c63f…' }