mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 22:49:28 -07:00
Fix docs
This commit is contained in:
parent
6f6f20d131
commit
69df55d014
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ Basic example:
|
|||
|
||||
```javascript
|
||||
const verifyIdentity = async (url, fp) => {
|
||||
console.log(await doip.verify(url, fp))
|
||||
console.log(await doip.claims.verify(url, fp))
|
||||
}
|
||||
verifyIdentity('dns:doip.rocks', '9f0048ac0b23301e1f77e994909f6bd6f80f485d')
|
||||
```
|
||||
|
@ -13,7 +13,7 @@ This snippet works en will verify the [doip.rocks](https://doip.rocks) domain as
|
|||
linked to Yarmo's cryptographic key using the [dns](serviceproviders/dns.md)
|
||||
service provider.
|
||||
|
||||
Please note you need to include the
|
||||
Please note you need to include the
|
||||
[openpgpjs](https://github.com/openpgpjs/openpgpjs) library:
|
||||
|
||||
```html
|
||||
|
|
|
@ -6,7 +6,7 @@ Basic example:
|
|||
const doip = require('doip')
|
||||
|
||||
const verifyIdentity = async (url, fp) => {
|
||||
console.log(await doip.verify(url, fp))
|
||||
console.log(await doip.claims.verify(url, fp))
|
||||
}
|
||||
verifyIdentity('dns:doip.rocks', '9f0048ac0b23301e1f77e994909f6bd6f80f485d')
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue