UNPKG

node-recaptcha-v3

Version:

A Node.js library for verifying Google reCAPTCHA v3 tokens in your applications.

14 lines (13 loc) 413 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.reCAPTCHA_API = exports.THRESHOLD = void 0; /** * Default score threshold for reCAPTCHA verification. */ const THRESHOLD = 0.5; exports.THRESHOLD = THRESHOLD; /** * Google reCAPTCHA verification API endpoint. */ const reCAPTCHA_API = 'https://www.google.com/recaptcha/api/siteverify'; exports.reCAPTCHA_API = reCAPTCHA_API;