forked from Mirrors/doipjs
Fix HKP example
This commit is contained in:
parent
dfcb29b0d1
commit
cde83b5b90
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
const doip = require('../src')
|
const doip = require('../src')
|
||||||
|
|
||||||
const main = async () => {
|
const main = async () => {
|
||||||
// Fetch the key using WKD
|
// Fetch the key using HKP
|
||||||
const key = await doip.keys.fetchWKD("test@doip.rocks")
|
const key = await doip.keys.fetchHKP("test@doip.rocks")
|
||||||
|
|
||||||
// Process it to extract the UIDs and their claims
|
// Process it to extract the UIDs and their claims
|
||||||
const obj = await doip.keys.process(key)
|
const obj = await doip.keys.process(key)
|
||||||
|
|
Loading…
Reference in a new issue