"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const dynamo_easy_config_1 = require("./dynamo-easy-config");
function updateDynamoEasyConfig(config) {
    if (config.logReceiver !== undefined && typeof config.logReceiver !== 'function') {
        throw new Error('Config.logReceiver has to be a function');
    }
    Object.assign(dynamo_easy_config_1.dynamoEasyConfig, config);
}
exports.updateDynamoEasyConfig = updateDynamoEasyConfig;
//# sourceMappingURL=update-config.function.js.map