diff --git a/package.json b/package.json index 7ece3c8..2114bda 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "argon2": "^0.28.7", "jsonwebtoken": "^8.5.1", "nodemailer": "^6.7.8", + "notp": "^2.0.3", "passport": "^0.6.0", "passport-jwt": "^4.0.0", "passport-local": "^1.0.0", @@ -51,6 +52,7 @@ "@types/jsonwebtoken": "^8.5.8", "@types/node": "^18.6.5", "@types/nodemailer": "^6.4.5", + "@types/notp": "^2.0.2", "@types/passport-jwt": "^3.0.6", "@types/passport-local": "^1.0.34", "@types/qrcode": "^1.5.0", diff --git a/yarn.lock b/yarn.lock index fd82a06..9710316 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1112,6 +1112,13 @@ dependencies: "@types/node" "*" +"@types/notp@^2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@types/notp/-/notp-2.0.2.tgz#7283f4918b2770555e0f2df72acc9f46ebd41ae9" + integrity sha512-JUcVYN9Tmw0AjoAfvjslS4hbv39fPBbZdftBK3b50g5z/DmhLsu6cd0UOEBiQuMwy2FirshF2Gk9gAvfWjshMw== + dependencies: + "@types/node" "*" + "@types/parse-json@^4.0.0": version "4.0.0" resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" @@ -4294,6 +4301,11 @@ normalize-path@^3.0.0, normalize-path@~3.0.0: resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== +notp@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/notp/-/notp-2.0.3.tgz#a9fd11e25cfe1ccb39fc6689544ee4c10ef9a577" + integrity sha512-oBig/2uqkjQ5AkBuw4QJYwkEWa/q+zHxI5/I5z6IeP2NT0alpJFsP/trrfCC+9xOAgQSZXssNi962kp5KBmypQ== + npm-run-path@^4.0.0, npm-run-path@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea"