mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 22:49:28 -07:00
11 lines
No EOL
267 B
JavaScript
11 lines
No EOL
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() |