From b03068de4effef8fd35411c80c8a5c98be690cda Mon Sep 17 00:00:00 2001 From: Kendall Weihe Date: Thu, 25 Jul 2024 15:33:51 -0400 Subject: [PATCH] Make key_manager a public data member on BearerDid (#269) --- bound/kt/src/main/kotlin/web5/sdk/dids/BearerDid.kt | 2 +- docs/API_DESIGN.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bound/kt/src/main/kotlin/web5/sdk/dids/BearerDid.kt b/bound/kt/src/main/kotlin/web5/sdk/dids/BearerDid.kt index ce342f53..adf92a29 100644 --- a/bound/kt/src/main/kotlin/web5/sdk/dids/BearerDid.kt +++ b/bound/kt/src/main/kotlin/web5/sdk/dids/BearerDid.kt @@ -21,8 +21,8 @@ class BearerDid { val did: Did val document: Document + val keyManager: KeyManager - private val keyManager: KeyManager private val rustCoreBearerDid: RustCoreBearerDid /** diff --git a/docs/API_DESIGN.md b/docs/API_DESIGN.md index cee790ca..1720d566 100644 --- a/docs/API_DESIGN.md +++ b/docs/API_DESIGN.md @@ -689,6 +689,7 @@ resolution_result = DidDht.resolve(uri) CLASS BearerDid PUBLIC DATA did: Did PUBLIC DATA document: Document + PUBLIC DATA key_manager: KeyManager CONSTRUCTOR(uri: string, key_manager: KeyManager) CONSTRUCTOR(portable_did: PortableDid) METHOD get_signer(): Signer