@trustcaptcha/trustcaptcha-frontend
Version:
Frondend library for trustcaptcha
24 lines (23 loc) • 986 B
JavaScript
export class Config {
constructor(sitekey, privacyUrl, trustcaptchaUrl, trustcaptchaApi, framework, language, theme, currentTheme, autostart, tokenFieldName, bypassToken, mode, slider, translation, hideBranding, hidePrivacy, invisible, licenseObject) {
this.sitekey = sitekey;
this.privacyUrl = privacyUrl;
this.trustcaptchaUrl = trustcaptchaUrl;
this.trustcaptchaApi = trustcaptchaApi;
this.framework = framework;
this.language = language;
this.theme = theme;
this.currentTheme = currentTheme;
this.autostart = autostart;
this.tokenFieldName = tokenFieldName;
this.bypassToken = bypassToken;
this.mode = mode;
this.slider = slider;
this.translation = translation;
this.hideBranding = hideBranding;
this.hidePrivacy = hidePrivacy;
this.invisible = invisible;
this.licenseObject = licenseObject;
}
}
//# sourceMappingURL=config.js.map