diff --git a/docs/quickstart-browser.md b/docs/quickstart-browser.md index 1d09990..e2edd41 100644 --- a/docs/quickstart-browser.md +++ b/docs/quickstart-browser.md @@ -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 diff --git a/docs/quickstart-nodejs.md b/docs/quickstart-nodejs.md index be16af7..64c759f 100644 --- a/docs/quickstart-nodejs.md +++ b/docs/quickstart-nodejs.md @@ -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') ```