forked from Mirrors/doipjs
11 lines
267 B
JavaScript
11 lines
267 B
JavaScript
|
import * as doip from '../src/index.js'
|
||
|
|
||
|
const main = async () => {
|
||
|
// Fetch the profile using WKD
|
||
|
const profile = await doip.openpgp.fetchWKD("test@doip.rocks")
|
||
|
|
||
|
// Log the claims of the first persona
|
||
|
console.log(profile.personas[0].claims)
|
||
|
}
|
||
|
|
||
|
main()
|