@volter/world-runtime 3.0.111 → 3.0.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2116,7 +2116,7 @@ export async function upWorld(configId, options = {}, abort) {
2116
2116
  }
2117
2117
  try {
2118
2118
  if (options.keepState) {
2119
- const KEEP = ['data', 'marks', 'changesets', 'episodes', 'browser-records', 'browser-loads'];
2119
+ const KEEP = ['data', 'clock', 'marks', 'changesets', 'episodes', 'browser-records', 'browser-loads'];
2120
2120
  for (const entry of existsSync(instance) ? readdirSync(instance) : [])
2121
2121
  if (!KEEP.includes(entry))
2122
2122
  rmSync(join(instance, entry), { recursive: true, force: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/world-runtime",
3
- "version": "3.0.111",
3
+ "version": "3.0.113",
4
4
  "description": "World configs for twins: boot named local runtimes, allocate ports, generate world.env/instance.json, and run apps against fake-key twin worlds.",
5
5
  "keywords": [
6
6
  "twin",
@@ -69,14 +69,14 @@
69
69
  "node": ">=22.3"
70
70
  },
71
71
  "peerDependencies": {
72
- "@volter/world-core": "3.0.111",
73
- "@volter/world-console": "3.0.106"
72
+ "@volter/world-core": "3.0.113",
73
+ "@volter/world-console": "3.0.108"
74
74
  },
75
75
  "dependencies": {
76
76
  "@electric-sql/pglite": "0.5.8",
77
77
  "@electric-sql/pglite-pgvector": "0.0.9",
78
78
  "@volter/world-access": "3.0.1",
79
- "@volter/world-core": "3.0.111",
79
+ "@volter/world-core": "3.0.113",
80
80
  "mongodb": "~6.20.0",
81
81
  "pg-gateway": "0.3.0-beta.4",
82
82
  "smol-toml": "^1.8.0",
package/src/runtime.ts CHANGED
@@ -2021,7 +2021,7 @@ export async function upWorld(configId: string, options: UpWorldOptions = {}, ab
2021
2021
  if (existsSync(logs)) { rmSync(join(logs, 'previous'), { recursive: true, force: true }); renameSync(logs, previousLogs); }
2022
2022
  try {
2023
2023
  if (options.keepState) {
2024
- const KEEP = ['data', 'marks', 'changesets', 'episodes', 'browser-records', 'browser-loads'];
2024
+ const KEEP = ['data', 'clock', 'marks', 'changesets', 'episodes', 'browser-records', 'browser-loads'];
2025
2025
  for (const entry of existsSync(instance) ? readdirSync(instance) : []) if (!KEEP.includes(entry)) rmSync(join(instance, entry), { recursive: true, force: true });
2026
2026
  } else removeWorldState(root, instance, () => rmSync(instance, { recursive: true, force: true }));
2027
2027
  } catch (error) {