minor doc update
authorJustin Wind <justin.wind+git@gmail.com>
Fri, 8 Mar 2024 23:51:02 +0000 (15:51 -0800)
committerJustin Wind <justin.wind+git@gmail.com>
Fri, 8 Mar 2024 23:51:02 +0000 (15:51 -0800)
.npmrc [new file with mode: 0644]
lib/hotp.js

diff --git a/.npmrc b/.npmrc
new file mode 100644 (file)
index 0000000..258cd85
--- /dev/null
+++ b/.npmrc
@@ -0,0 +1 @@
+message="bump package version to %s"
index 0e20145e4c2c11aec6c9e84bcbb6b48851a68ae2..5e20ec6b8ea9bdf29cd66bf5e7f0163dd6f9f547 100644 (file)
@@ -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<String|Buffer>}
    */
   static async createKey(algorithm = 'sha1', encoding = 'hex') {
     const key = await randomBytesAsync(this._algorithmKeyLength(algorithm));