@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.
@@ -7648,6 +7648,12 @@ var AppRuntimeHost = function AppRuntimeHost(_ref) {
7648
7648
  throw new Error((response === null || response === void 0 ? void 0 : response.message) || 'Failed to open session');
7649
7649
  case 4:
7650
7650
  _response$result = response.result, sessionData = _response$result.session, version = _response$result.app_version;
7651
+ console.log('[AppRuntimeHost] session opened:', {
7652
+ routePath: routePath,
7653
+ launchMode: launchMode,
7654
+ sessionRoutePath: sessionData.route_path,
7655
+ sessionLaunchMode: sessionData.launch_mode
7656
+ });
7651
7657
  setSession(sessionData);
7652
7658
  if (version !== null && version !== void 0 && version.build_artifact) {
7653
7659
  _context.n = 5;
@@ -7725,7 +7731,10 @@ var AppRuntimeHost = function AppRuntimeHost(_ref) {
7725
7731
  }
7726
7732
  throw new Error('App module does not export a default component');
7727
7733
  case 3:
7728
- inputData = sessionData.input_payload || inputPayloadRef.current;
7734
+ inputData = _objectSpread2(_objectSpread2({}, sessionData.input_payload || inputPayloadRef.current), {}, {
7735
+ _loom_route_path: sessionData.route_path || routePath || '/',
7736
+ _loom_launch_mode: sessionData.launch_mode || launchMode
7737
+ });
7729
7738
  sdk = {
7730
7739
  session: {
7731
7740
  id: sessionData.id,