mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-23 23:19:29 -07:00
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()
|