@splitsoftware/splitio-react
Version:
A React library to easily integrate and use Split JS SDK
17 lines (16 loc) • 853 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EXCEPTION_NO_SFP = exports.WARN_SF_CONFIG_AND_FACTORY = exports.CONTROL_WITH_CONFIG = exports.CONTROL = exports.OFF = exports.ON = exports.VERSION = void 0;
// The string below is a marker and will be replaced by the real version number. DO NOT CHANGE
exports.VERSION = 'react-' + '2.6.2';
// Treatments
exports.ON = 'on';
exports.OFF = 'off';
exports.CONTROL = 'control'; // SplitIO default value
exports.CONTROL_WITH_CONFIG = {
treatment: 'control',
config: null,
};
// Warning and error messages
exports.WARN_SF_CONFIG_AND_FACTORY = 'Both a config and factory props were provided to SplitFactoryProvider. Config prop will be ignored.';
exports.EXCEPTION_NO_SFP = 'No SplitContext was set. Please ensure the component is wrapped in a SplitFactoryProvider.';