@livedesk/client 0.1.233 → 0.1.234

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.
@@ -5345,6 +5345,12 @@ export async function runClientRuntime(argv = process.argv.slice(2), runtimeOpti
5345
5345
  };
5346
5346
  let connectionPage = null;
5347
5347
  if (isTruthy(process.env.LIVEDESK_UNIFIED_RUNTIME)) {
5348
+ // Hydrate the local runtime from the DPAPI/keychain-backed saved session
5349
+ // before opening the browser. Starting the page as anonymous and only
5350
+ // reading this session later lets the renderer begin a redundant Google
5351
+ // OAuth flow on every process restart. The discovery path below still
5352
+ // refreshes and installs this session into the exact Supabase client.
5353
+ const persistedStartupSession = readSavedSessionFromFile();
5348
5354
  let resolveStarted;
5349
5355
  let rejectStarted;
5350
5356
  const started = new Promise((resolve, reject) => {
@@ -5358,8 +5364,8 @@ export async function runClientRuntime(argv = process.argv.slice(2), runtimeOpti
5358
5364
  engine: parsed.engine,
5359
5365
  slot: parsed.slot,
5360
5366
  startupArgs: buildStartupClientArgs(parsed),
5361
- savedSession: null,
5362
- loadSavedSession: false,
5367
+ savedSession: persistedStartupSession,
5368
+ loadSavedSession: true,
5363
5369
  savedPin: null,
5364
5370
  allowRelayFallback: transportAllowsRelay(parsed.transport),
5365
5371
  relayEndpoint: parsed.relay,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livedesk/client",
3
- "version": "0.1.233",
3
+ "version": "0.1.234",
4
4
  "description": "LiveDesk local remote client",
5
5
  "type": "module",
6
6
  "bin": {
@@ -42,10 +42,10 @@
42
42
  "ws": "^8.18.3"
43
43
  },
44
44
  "optionalDependencies": {
45
- "@livedesk/fast-linux-x64": "0.1.431",
46
- "@livedesk/fast-osx-arm64": "0.1.431",
47
- "@livedesk/fast-osx-x64": "0.1.431",
48
- "@livedesk/fast-win-x64": "0.1.431"
45
+ "@livedesk/fast-linux-x64": "0.1.432",
46
+ "@livedesk/fast-osx-arm64": "0.1.432",
47
+ "@livedesk/fast-osx-x64": "0.1.432",
48
+ "@livedesk/fast-win-x64": "0.1.432"
49
49
  },
50
50
  "publishConfig": {
51
51
  "access": "public"