vue-recaptcha-v3
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
@@ -36,4 +37,5 @@ return new (P || (P = Promise))(function (resolve, reject) { | ||
}; | ||
import { load as loadReCaptcha } from 'recaptcha-v3'; | ||
export function VueReCaptcha(Vue, options) { | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var recaptcha_v3_1 = require("recaptcha-v3"); | ||
function VueReCaptcha(Vue, options) { | ||
var plugin = new ReCaptchaVuePlugin(); | ||
@@ -56,2 +58,3 @@ var recaptchaLoaded = false; | ||
} | ||
exports.VueReCaptcha = VueReCaptcha; | ||
var ReCaptchaVuePlugin = (function () { | ||
@@ -64,3 +67,3 @@ function ReCaptchaVuePlugin() { | ||
switch (_a.label) { | ||
case 0: return [4, loadReCaptcha(options.siteKey, options.loaderOptions)]; | ||
case 0: return [4, recaptcha_v3_1.load(options.siteKey, options.loaderOptions)]; | ||
case 1: return [2, _a.sent()]; | ||
@@ -67,0 +70,0 @@ } |
{ | ||
"name": "vue-recaptcha-v3", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "captcha", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18654
88