nigerian-mobile-validator
Version:
The most rigorous, up-to-date library for validating Nigerian mobile numbers. Fully NCC-compliant, and security-focused, with enterprise-grade features to prevent the business risks of validation failures in regulated industries.
17 lines (16 loc) • 550 B
JavaScript
;
// src/number-validation/validation-triggering-flags.ts
Object.defineProperty(exports, "__esModule", { value: true });
exports.ValidationTriggeringFlags = void 0;
/**
* Internal flags that help determine when enough digits have been entered
* to trigger validation of the user provided input.
*/
class ValidationTriggeringFlags {
constructor() {
this.previousUserInput = '';
this.hasPreviouslyErrored = false;
this.validated = false;
}
}
exports.ValidationTriggeringFlags = ValidationTriggeringFlags;