"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isAuthV2Enabled = void 0;
const envs_1 = require("../envs");
/*
 * Determines if AuthV2 should be enabled. Defaults to false for now.
**/
const isAuthV2Enabled = () => {
    try {
        return (0, envs_1.maybeGetEnvParam)(envs_1.EnvVar.FEATURE_FLAG_ENABLE_AUTHV2).toLowerCase() === 'true';
    }
    catch (_a) {
        return false;
    }
};
exports.isAuthV2Enabled = isAuthV2Enabled;
//# sourceMappingURL=feature-flags.js.map