Skip to content

Bump version to 0.0.2#40

Merged
melvincarvalho merged 1 commit into
gh-pagesfrom
bump-version-0.0.2
Jun 30, 2026
Merged

Bump version to 0.0.2#40
melvincarvalho merged 1 commit into
gh-pagesfrom
bump-version-0.0.2

Conversation

@melvincarvalho

Copy link
Copy Markdown
Contributor

Bump version to 0.0.2

DID-document output now conforms to did:nostr 0.0.12 (#39):

  • profile.timestamp -> profile.created_at (the kind-0 created_at; now a defined
    context term, nostr:created_at).
  • Emit "modified" (dcterms:modified, ISO-8601) = max(created_at) over the signed
    parts actually composed into the document (kind 0 / 3 / 10002). Minimal docs
    carry none.
  • Bound inlined follows to a subset (500), short-circuited; the complete signed
    list is the kind-3 event on the relays (no FollowsEndpoint).
  • Hardened the public resolver path: corrupt/out-of-range created_at no longer
    throws (returns no modified), Number.isSafeInteger throughout, and a kind-0
    that only contributes alsoKnownAs no longer emits a bare {created_at} profile
    yet still counts toward modified.

Refs: nostrcg/did-nostr 0.0.12 (#106 modified, #117 created_at, #104/#125 follows).

DID-document output now conforms to did:nostr 0.0.12 (#39):

- profile.timestamp -> profile.created_at (the kind-0 created_at; now a defined
  context term, nostr:created_at).
- Emit "modified" (dcterms:modified, ISO-8601) = max(created_at) over the signed
  parts actually composed into the document (kind 0 / 3 / 10002). Minimal docs
  carry none.
- Bound inlined follows to a subset (500), short-circuited; the complete signed
  list is the kind-3 event on the relays (no FollowsEndpoint).
- Hardened the public resolver path: corrupt/out-of-range created_at no longer
  throws (returns no modified), Number.isSafeInteger throughout, and a kind-0
  that only contributes alsoKnownAs no longer emits a bare {created_at} profile
  yet still counts toward modified.

Refs: nostrcg/did-nostr 0.0.12 (#106 modified, #117 created_at, #104/#125 follows).
@melvincarvalho melvincarvalho merged commit a2b515a into gh-pages Jun 30, 2026
@melvincarvalho melvincarvalho deleted the bump-version-0.0.2 branch June 30, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant