From: Justin Wind Date: Fri, 8 Mar 2024 23:51:02 +0000 (-0800) Subject: minor doc update X-Git-Tag: v1.1.2~3 X-Git-Url: http://git.squeep.com/?a=commitdiff_plain;h=6329c254c95a9097a37018c5c4f8d2d010679e59;p=squeep-totp minor doc update --- diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..258cd85 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +message="bump package version to %s" diff --git a/lib/hotp.js b/lib/hotp.js index 0e20145..5e20ec6 100644 --- a/lib/hotp.js +++ b/lib/hotp.js @@ -134,7 +134,7 @@ class HMACBasedOneTimePassword { * Make a new key, of the assigned encoding. * @param {String=} encoding * @param {String=} algorithm - * @returns {String|Buffer} + * @returns {Promise} */ static async createKey(algorithm = 'sha1', encoding = 'hex') { const key = await randomBytesAsync(this._algorithmKeyLength(algorithm));