From cf105e0a563a4a86c5efd5bf57056840d8b07bb3 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Fri, 23 Oct 2020 16:30:45 +0000 Subject: [PATCH] fix require() in API.js --- API.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/API.md b/API.md index 1059654..f55afff 100644 --- a/API.md +++ b/API.md @@ -63,7 +63,7 @@ Server code: ```js const Http = require('http'); -const Hawk = require('@hapi/hawk'); +const Hawk = require('hawk'); // Credentials lookup function @@ -120,7 +120,7 @@ Client code: ```js const Request = require('request'); -const Hawk = require('@hapi/hawk'); +const Hawk = require('hawk'); // Client credentials @@ -350,7 +350,7 @@ Server code: ```js const Http = require('http'); -const Hawk = require('@hapi/hawk'); +const Hawk = require('hawk'); // Credentials lookup function @@ -386,7 +386,7 @@ Http.createServer(handler).listen(8000, 'example.com'); Bewit code generation: ```js -const Hawk = require('@hapi/hawk'); +const Hawk = require('hawk'); // Client credentials