UNPKG

@trustcaptcha/trustcaptcha-frontend

Version:

Frondend library for trustcaptcha

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