UNPKG

@trustcomponent/trustcaptcha-frontend

Version:

TrustCaptcha – Privacy-first CAPTCHA solution. GDPR-compliant, bot protection made in Europe.

33 lines (32 loc) 713 B
export class UserResponseDto { constructor() { this.challenge = new ChallengeDto(); this.verificationToken = new VerificationTokenDto(); } } export class ChallengeDto { constructor() { this.verificationId = ""; this.difficulty = 0; this.tasks = []; } } export class ChallengeTaskDto { constructor() { this.number = 0; this.input = ""; } } export class ChallengeResultTaskDto { constructor() { this.number = 0; this.nonce = ""; } } export class VerificationTokenDto { constructor() { this.verificationId = ""; this.encryptedToken = ""; } } //# sourceMappingURL=user-response-dto.js.map