From fa9d6f9999b4a7c46a12fe5190b587e174bc29ba Mon Sep 17 00:00:00 2001 From: Kuba Suder Date: Thu, 31 Jul 2025 23:56:18 +0200 Subject: [PATCH] restored account_exists which now calls account_status --- lib/didkit/did.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/didkit/did.rb b/lib/didkit/did.rb index 633eb29..98ceff8 100644 --- a/lib/didkit/did.rb +++ b/lib/didkit/did.rb @@ -88,6 +88,10 @@ module DIDKit account_status == :active end + def account_exists? + account_status != nil + end + def ==(other) if other.is_a?(String) self.did == other -- knotmirror 0.0.1