You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
api-v3: invert the includeUnverified option default (9f004fc), closes #98
api-v3: invert the truncate option default (395c487), closes #99
api-v3: replace custom Accept header with versioned base URL (84a839c)
api-v3: update handling of rate limited responses (092a55c), closes #97
BREAKING CHANGES
node: Support for Node.js version 6.x has been dropped.
api-v3: v3 of the haveibeenpwned.com API requires an API key from https://haveibeenpwned.com/API/Key to access the breachedaccount and pasteaccount endpoints.
Requests made using the breachedAccount, pasteAccount, and search modules will be rejected
with a 401 Unauthorized response unless the apiKey option is provided with a valid API key, or
you are proxying your requests (via the baseUrl option) through a server that inserts an API key
on your behalf. See Troy's blog post for rationale and a full explanation.
api-v3: The includeUnverified option previously defaulted to false
and now defaults to true, per Troy's preference.
api-v3: The truncate option previously defaulted to false and now defaults to true,
per Troy's preference.