esim-cli 2026.1201.204 → 2026.1202.205

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.
package/dist/esim.js CHANGED
@@ -17307,12 +17307,12 @@ async function advancedTutorialAction(ctx, task, citizen, world, currency, inven
17307
17307
  return;
17308
17308
  }
17309
17309
  }
17310
- async function tutorialView(ctx, citizen, state, includeAll, worldPromise = geography(ctx), employed, inventory) {
17310
+ async function tutorialView(ctx, citizen, state, includeAll, worldPromise, employed, inventory) {
17311
17311
  const entries = state.items;
17312
17312
  const current = entries.find((entry) => entry.number === state.currentMission && !entry.claimed);
17313
17313
  if (!current && !includeAll)
17314
17314
  return { current: null, totalSteps: objectives.length, next: [] };
17315
- const world = await worldPromise;
17315
+ const world = await (worldPromise ?? geography(ctx));
17316
17316
  const country = world.countries.find((country) => country.id === citizen.nation);
17317
17317
  const currency = country?.currency ?? currencyName(world, `cur:${citizen.nation}`);
17318
17318
  const objective = current && objectives[current.number - 1];
@@ -38075,7 +38075,7 @@ function saveCredentials(store, credentials) {
38075
38075
  }
38076
38076
 
38077
38077
  // version.ts
38078
- var version2 = "2026.1201.204";
38078
+ var version2 = "2026.1202.205";
38079
38079
  var installKind = version2 === "dev" ? "source" : typeof ESIM_CLI_EXECUTABLE === "boolean" && ESIM_CLI_EXECUTABLE ? "executable" : "npm";
38080
38080
  var npmLatestUrl = "https://registry.npmjs.org/esim-cli/latest";
38081
38081
  var releaseUrl = (release) => `https://github.com/CorrectRoadH/open-esim/releases/download/cli-v${release}`;
package/dist/index.js CHANGED
@@ -17303,12 +17303,12 @@ async function advancedTutorialAction(ctx, task, citizen, world, currency, inven
17303
17303
  return;
17304
17304
  }
17305
17305
  }
17306
- async function tutorialView(ctx, citizen, state, includeAll, worldPromise = geography(ctx), employed, inventory) {
17306
+ async function tutorialView(ctx, citizen, state, includeAll, worldPromise, employed, inventory) {
17307
17307
  const entries = state.items;
17308
17308
  const current = entries.find((entry) => entry.number === state.currentMission && !entry.claimed);
17309
17309
  if (!current && !includeAll)
17310
17310
  return { current: null, totalSteps: objectives.length, next: [] };
17311
- const world = await worldPromise;
17311
+ const world = await (worldPromise ?? geography(ctx));
17312
17312
  const country = world.countries.find((country) => country.id === citizen.nation);
17313
17313
  const currency = country?.currency ?? currencyName(world, `cur:${citizen.nation}`);
17314
17314
  const objective = current && objectives[current.number - 1];
@@ -38081,7 +38081,7 @@ function saveCredentials(store, credentials) {
38081
38081
  }
38082
38082
 
38083
38083
  // version.ts
38084
- var version2 = "2026.1201.204";
38084
+ var version2 = "2026.1202.205";
38085
38085
  var installKind = version2 === "dev" ? "source" : typeof ESIM_CLI_EXECUTABLE === "boolean" && ESIM_CLI_EXECUTABLE ? "executable" : "npm";
38086
38086
  var npmLatestUrl = "https://registry.npmjs.org/esim-cli/latest";
38087
38087
  var releaseVersion = /^\d+\.\d+\.\d+$/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esim-cli",
3
- "version": "2026.1201.204",
3
+ "version": "2026.1202.205",
4
4
  "description": "Command-line client and agent project for Open E-Sim",
5
5
  "type": "module",
6
6
  "license": "MIT",