feat: add captcha support for sign in/up (#4582)

This commit is contained in:
DarkSky
2023-10-18 03:06:07 -05:00
committed by GitHub
parent 524e48c8e6
commit 63ca9671be
42 changed files with 1275 additions and 302 deletions
+8 -1
View File
@@ -263,7 +263,14 @@ if (!nativeBinding) {
throw new Error(`Failed to load native binding`);
}
const { SqliteConnection, ValidationResult } = nativeBinding;
const {
SqliteConnection,
ValidationResult,
verifyChallengeResponse,
mintChallengeResponse,
} = nativeBinding;
module.exports.SqliteConnection = SqliteConnection;
module.exports.ValidationResult = ValidationResult;
module.exports.verifyChallengeResponse = verifyChallengeResponse;
module.exports.mintChallengeResponse = mintChallengeResponse;