

const require_index = require('./updates/0.3.1-0.4/index.js');
const require_index$1 = require('./updates/0.3-0.3.1/index.js');
const require_index$2 = require('./updates/0.4-0.5/index.js');

//#region src/storage/migration/updates.ts
const INITIAL_STORAGE_VERSION = "0.1";
const DEFAULT_UPDATE_CONFIG = { v0_1ToV0_2: { mediationRoleUpdateStrategy: "recipientIfEndpoint" } };
const supportedUpdates = [
	{
		fromVersion: "0.1",
		toVersion: "0.2",
		doUpdate: () => {}
	},
	{
		fromVersion: "0.2",
		toVersion: "0.3",
		doUpdate: () => {}
	},
	{
		fromVersion: "0.3",
		toVersion: "0.3.1",
		doUpdate: require_index$1.updateV0_3ToV0_3_1
	},
	{
		fromVersion: "0.3.1",
		toVersion: "0.4",
		doUpdate: require_index.updateV0_3_1ToV0_4
	},
	{
		fromVersion: "0.4",
		toVersion: "0.5",
		doUpdate: require_index$2.updateV0_4ToV0_5
	}
];
const CURRENT_FRAMEWORK_STORAGE_VERSION = supportedUpdates[supportedUpdates.length - 1].toVersion;
const STORAGE_VERSION_RECORD_ID = "STORAGE_VERSION_RECORD_ID";

//#endregion
exports.CURRENT_FRAMEWORK_STORAGE_VERSION = CURRENT_FRAMEWORK_STORAGE_VERSION;
exports.DEFAULT_UPDATE_CONFIG = DEFAULT_UPDATE_CONFIG;
exports.INITIAL_STORAGE_VERSION = INITIAL_STORAGE_VERSION;
exports.STORAGE_VERSION_RECORD_ID = STORAGE_VERSION_RECORD_ID;
exports.supportedUpdates = supportedUpdates;