diff --git a/express-2fa/.env.sample b/express-2fa/.env.sample index d874bc9..c89cadd 100644 --- a/express-2fa/.env.sample +++ b/express-2fa/.env.sample @@ -1,8 +1,8 @@ -TELNYX_API_KEY="YOUR_API_KEY" -TELNYX_VERIFY_KEY="YOUR_VERIFY_KEY" +TELNYX_API_KEY= +TELNYX_VERIFY_KEY= TELNYX_APP_PORT=8000 -DB_SERVER_NAME="localhost" -DB_USERNAME="root" -DB_PASSWORD="" -DB_NAME="users" \ No newline at end of file +DB_SERVER_NAME=localhost +DB_USERNAME=root +DB_PASSWORD= +DB_NAME=users \ No newline at end of file diff --git a/express-2fa/package-lock.json b/express-2fa/package-lock.json index 1977754..0360e6b 100644 --- a/express-2fa/package-lock.json +++ b/express-2fa/package-lock.json @@ -15,7 +15,7 @@ "express": "^4.21.1", "mysql": "^2.18.1", "nunjucks": "^3.2.4", - "telnyx": "2.0.0-beta.1" + "telnyx": "2.0.0-beta.3" }, "devDependencies": { "@types/cookie-parser": "^1.4.7", @@ -3218,10 +3218,15 @@ } }, "node_modules/telnyx": { - "version": "2.0.0-beta.1", - "resolved": "https://registry.npmjs.org/telnyx/-/telnyx-2.0.0-beta.1.tgz", - "integrity": "sha512-5A0wB4zG0JKKgzVO2sdmgToen9d9SQszM2IkMbcujV+mMAk045fmLDBzI/hwi7n7ejrigTiwUO45fVf4Bki/Yg==", + "version": "2.0.0-beta.3", + "resolved": "https://registry.npmjs.org/telnyx/-/telnyx-2.0.0-beta.3.tgz", + "integrity": "sha512-s9Fy0GWGz1qCjQfVM1HJdpVrFNHjpyA9KAyfRQ4+D2pWAWIN01sue6cZwcG0235W3xxR2FHBtftL/e3EoznwhQ==", "license": "MIT", + "dependencies": { + "qs": "^6.13.0", + "tweetnacl": "^1.0.3", + "uuid": "^9.0.1" + }, "engines": { "node": "^18 || >=20" } @@ -3289,6 +3294,12 @@ "fsevents": "~2.3.3" } }, + "node_modules/tweetnacl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", + "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==", + "license": "Unlicense" + }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", @@ -3396,6 +3407,19 @@ "node": ">= 0.4.0" } }, + "node_modules/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", diff --git a/express-2fa/package.json b/express-2fa/package.json index be2a7a5..efc130e 100644 --- a/express-2fa/package.json +++ b/express-2fa/package.json @@ -21,7 +21,7 @@ "express": "^4.21.1", "mysql": "^2.18.1", "nunjucks": "^3.2.4", - "telnyx": "2.0.0-beta.1" + "telnyx": "2.0.0-beta.3" }, "devDependencies": { "@types/cookie-parser": "^1.4.7",