tangled
alpha
login
or
join now
mackuba.eu
/
didkit
1
fork
atom
A library for handling DID identifiers used in Bluesky AT Protocol
1
fork
atom
overview
issues
pulls
pipelines
fixed old method name used in bin/resolve
mackuba.eu
2 months ago
b4fa57c5
557aa134
+2
-2
1 changed file
expand all
collapse all
unified
split
bin
resolve
+2
-2
bin/resolve
···
27
27
end
28
28
29
29
doc = did.get_document
30
30
-
valid_handle = resolver.get_validated_handle(doc)
30
30
+
verified_handle = resolver.get_verified_handle(doc)
31
31
32
32
puts
33
33
puts "PDS: #{doc.pds_endpoint}"
34
34
puts "Resolved by: #{did.resolved_by}" if did.resolved_by
35
35
-
puts "Validated handle: " + (valid_handle ? "@#{valid_handle}" : "⚠️ invalid handle #{doc.handles.inspect}")
35
35
+
puts "Verified handle: " + (verified_handle ? "@#{verified_handle}" : "⚠️ invalid handle #{doc.handles.inspect}")
36
36
puts
37
37
puts JSON.pretty_generate(doc.json)
38
38
rescue StandardError => e