UNPKG

@credo-ts/core

Version:

<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1

38 lines (37 loc) • 1.08 kB
import { updateV0_3_1ToV0_4 } from "./updates/0.3.1-0.4/index.mjs"; import { updateV0_3ToV0_3_1 } from "./updates/0.3-0.3.1/index.mjs"; import { updateV0_4ToV0_5 } from "./updates/0.4-0.5/index.mjs"; //#region src/storage/migration/updates.ts 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: updateV0_3ToV0_3_1 }, { fromVersion: "0.3.1", toVersion: "0.4", doUpdate: updateV0_3_1ToV0_4 }, { fromVersion: "0.4", toVersion: "0.5", doUpdate: updateV0_4ToV0_5 } ]; const CURRENT_FRAMEWORK_STORAGE_VERSION = supportedUpdates[supportedUpdates.length - 1].toVersion; const STORAGE_VERSION_RECORD_ID = "STORAGE_VERSION_RECORD_ID"; //#endregion export { CURRENT_FRAMEWORK_STORAGE_VERSION, DEFAULT_UPDATE_CONFIG, STORAGE_VERSION_RECORD_ID, supportedUpdates }; //# sourceMappingURL=updates.mjs.map