"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VersionUpgrade = void 0;
class VersionUpgrade {
    logger;
    constructor(logger) {
        this.logger = logger;
    }
    migrateStateWithMethods(state, methods) {
        for (let method of methods) {
            state = method.call(this, state);
        }
        return state;
    }
}
exports.VersionUpgrade = VersionUpgrade;
