@link-loom/cloud-sdk 1.0.4 → 1.0.5

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.
@@ -7668,6 +7668,12 @@ var AppRuntimeHost = function AppRuntimeHost(_ref) {
7668
7668
  throw new Error((response === null || response === void 0 ? void 0 : response.message) || 'Failed to open session');
7669
7669
  case 4:
7670
7670
  _response$result = response.result, sessionData = _response$result.session, version = _response$result.app_version;
7671
+ console.log('[AppRuntimeHost] session opened:', {
7672
+ routePath: routePath,
7673
+ launchMode: launchMode,
7674
+ sessionRoutePath: sessionData.route_path,
7675
+ sessionLaunchMode: sessionData.launch_mode
7676
+ });
7671
7677
  setSession(sessionData);
7672
7678
  if (version !== null && version !== void 0 && version.build_artifact) {
7673
7679
  _context.n = 5;
@@ -7745,7 +7751,10 @@ var AppRuntimeHost = function AppRuntimeHost(_ref) {
7745
7751
  }
7746
7752
  throw new Error('App module does not export a default component');
7747
7753
  case 3:
7748
- inputData = sessionData.input_payload || inputPayloadRef.current;
7754
+ inputData = _objectSpread2(_objectSpread2({}, sessionData.input_payload || inputPayloadRef.current), {}, {
7755
+ _loom_route_path: sessionData.route_path || routePath || '/',
7756
+ _loom_launch_mode: sessionData.launch_mode || launchMode
7757
+ });
7749
7758
  sdk = {
7750
7759
  session: {
7751
7760
  id: sessionData.id,