Open History to see the last commit
1/**
2 * The package build that the opener and its worker come from. A pre-bundled
3 * copy under a Vite dev server can start another installed copy's worker, so
4 * the worker refuses an opener from another build. Only the package build
5 * defines the value; source that Vite or Vitest serves runs both sides from one
6 * copy.
7 */
8export const packageVersion: string =
9 typeof __BROWSER_SQLITE_PACKAGE_VERSION__ === `undefined`
10 ? `source`
11 : __BROWSER_SQLITE_PACKAGE_VERSION__