Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function getBump(initData, categoryId) {
    for (var _i = 0, _a = initData.bumps; _i < _a.length; _i++) {
        var bump = _a[_i];
        if (categoryId === bump.category) {
            return bump;
        }
    }
    throw new Error("No bump found for category: " + categoryId);
}
exports.getBump = getBump;
exports.default = getBump;
//# sourceMappingURL=getBump.js.map