mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2025-01-10 14:39: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
|
```javascript
|
||||||
const verifyIdentity = async (url, fp) => {
|
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')
|
verifyIdentity('dns:doip.rocks', '9f0048ac0b23301e1f77e994909f6bd6f80f485d')
|
||||||
```
|
```
|
||||||
|
|
|
@ -6,7 +6,7 @@ Basic example:
|
||||||
const doip = require('doip')
|
const doip = require('doip')
|
||||||
|
|
||||||
const verifyIdentity = async (url, fp) => {
|
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')
|
verifyIdentity('dns:doip.rocks', '9f0048ac0b23301e1f77e994909f6bd6f80f485d')
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue