lib/utils.js
function setup(settings) {
    if (!settings) {
        return _.cloneDeep(SETTINGS);
    }
    _.merge(SETTINGS, settings);
    return _.cloneDeep(SETTINGS);
}
function setup(settings) {
    if (!settings) {
        return _.cloneDeep(SETTINGS);
    }
    _.merge(SETTINGS, settings);
    return _.cloneDeep(SETTINGS);
}
function setup ( settings ) { if ( ! settings ) { return _ . cloneDeep ( SETTINGS ) ; } _ . merge ( SETTINGS , settings ) ; return _ . cloneDeep ( SETTINGS ) ; }
Set the SDK settings

@public

@param {SETTINGS} settings - new SDK settings
@return {Object} the newly-set SDK settings
Set the SDK settings