All files types.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 1/1
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23                        1x     1x           2x  
/*
 * mCaptcha is a PoW based DoS protection software.
 * This is the frontend web component of the mCaptcha system
 * Copyright © 2021 Aravinth Manivnanan <realaravinth@batsense.net>.
 *
 * Use of this source code is governed by Apache 2.0 or MIT license.
 * You shoud have received a copy of MIT and Apache 2.0 along with
 * this program. If not, see <https://spdx.org/licenses/MIT.html> for
 * MIT or <http://www.apache.org/licenses/LICENSE-2.0> for Apache.
 */
 
import type * as core from '@mcaptcha/core-glue';
import { ConfigurationError } from '@mcaptcha/core-glue';
 
/** Name and ID of the input field in which token will be rendered */
export const INPUT_NAME = 'mcaptcha__token';
/** See [`@mcaptcha/core-glue` docs](https://mcaptcha.github.io/glue/core-glue/modules.html#SiteKey) */
export type SiteKey = core.SiteKey;
/** See [`@mcaptcha/core-glue` docs](https://mcaptcha.github.io/glue/core-glue/modules.html#WidgetConfig) */
export type WidgetConfig = core.WidgetConfig;
/** See [`@mcaptcha/core-glue` docs](https://mcaptcha.github.io/glue/core-glue/classes/ConfigurationError.html) */
export { ConfigurationError };