import { Latest } from "./format-version-enum.js";
function makeIDBName(name, schemaVersion) {
  return makeIDBNameInternal(name, schemaVersion, Latest);
}
function makeIDBNameInternal(name, schemaVersion, formatVersion) {
  const n = `rep:${name}:${formatVersion}`;
  return schemaVersion ? `${n}:${schemaVersion}` : n;
}
export {
  makeIDBName,
  makeIDBNameInternal as makeIDBNameForTesting
};
//# sourceMappingURL=make-idb-name.js.map
