@glassly/miniapp 0.3.2-beta.572 → 0.3.2-beta.602

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/src/session.ts CHANGED
@@ -24,7 +24,7 @@ import {AuthModule} from "./modules/auth"
24
24
  import {CloudModule} from "./modules/cloud"
25
25
  import {DashboardAPI} from "./modules/dashboard"
26
26
  import {DisplayManager} from "./modules/display"
27
- import {EventManager, type TranscriptionEventRoute, type UnsubscribeFn} from "./modules/events"
27
+ import {EventManager, type StreamRouteOptions, type TranscriptionEventRoute, type UnsubscribeFn} from "./modules/events"
28
28
  import {GlassesModule} from "./modules/glasses"
29
29
  import {AiModule} from "./modules/ai"
30
30
  import {ImuModule} from "./modules/imu"
@@ -553,7 +553,7 @@ export class MiniappSession<TChannels extends object = any> {
553
553
  _subscribe(
554
554
  streamType: string,
555
555
  handler: (data: unknown) => void,
556
- options: {forceLocal?: boolean} = {},
556
+ options: StreamRouteOptions = {},
557
557
  ): UnsubscribeFn {
558
558
  return this.events.subscribe(streamType, handler, options)
559
559
  }