"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.replaceStringVariables = void 0;
const lodash_1 = require("lodash");
const replaceStringVariables = (source, obj) => {
    const keyPairs = (0, lodash_1.toPairs)(obj);
    return (0, lodash_1.reduce)(keyPairs, (result, [key, value]) => result.replace(`{${key}}`, String(value)), source);
};
exports.replaceStringVariables = replaceStringVariables;
//# sourceMappingURL=utils.js.map