@dcl/sdk 7.0.0-3045967591.commit-85b242a → 7.0.0-3063934984.commit-cdc4e28

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.
@@ -1440,6 +1440,20 @@ export declare const MeshCollider: ComponentDefinition<ISchema<PBMeshCollider>,
1440
1440
  /** @public */
1441
1441
  export declare const MeshRenderer: ComponentDefinition<ISchema<PBMeshRenderer>, Partial<PBMeshRenderer>>;
1442
1442
 
1443
+ /**
1444
+ * @public
1445
+ * @deprecated
1446
+ */
1447
+ export declare class MessageBus {
1448
+ private messageQueue;
1449
+ private connected;
1450
+ private flushing;
1451
+ constructor();
1452
+ on(message: string, callback: (value: any, sender: string) => void): Observer<IEvents['comms']>;
1453
+ emit(message: string, payload: Record<any, any>): void;
1454
+ private flush;
1455
+ }
1456
+
1443
1457
  /** @public */
1444
1458
  export declare const NFTShape: ComponentDefinition<ISchema<PBNFTShape>, PBNFTShape>;
1445
1459
 
@@ -1635,15 +1649,6 @@ export declare class ObserverEventState {
1635
1649
  initalize(mask: number, skipNextObservers?: boolean, target?: any, currentTarget?: any): ObserverEventState;
1636
1650
  }
1637
1651
 
1638
- /**
1639
- * This event is triggered when you change your camera between 1st and 3rd person
1640
- * @public
1641
- * @deprecated This function is an inheritance of ECS6, it's here temporary for the feature parity, please read the news and docs to know how handle when it's removed.
1642
- */
1643
- export declare const onCameraModeChangedObservable: Observable<{
1644
- cameraMode: 0 | 1 | 2;
1645
- }>;
1646
-
1647
1652
  /** @public
1648
1653
  * @deprecated This function is an inheritance of ECS6, it's here temporary for the feature parity, please read the news and docs to know how handle when it's removed.
1649
1654
  * @deprecated This function is an inheritance of ECS6, it's here temporary for the feature parity, please read the news and docs to know how handle when it's removed. Use onEnterSceneObservable instead. */
@@ -1660,15 +1665,6 @@ export declare const onEnterSceneObservable: Observable<{
1660
1665
  userId: string;
1661
1666
  }>;
1662
1667
 
1663
- /**
1664
- * This event is triggered when you change your camera between 1st and 3rd person
1665
- * @public
1666
- * @deprecated This function is an inheritance of ECS6, it's here temporary for the feature parity, please read the news and docs to know how handle when it's removed.
1667
- */
1668
- export declare const onIdleStateChangedObservable: Observable<{
1669
- isIdle: boolean;
1670
- }>;
1671
-
1672
1668
  /** @public
1673
1669
  * @deprecated This function is an inheritance of ECS6, it's here temporary for the feature parity, please read the news and docs to know how handle when it's removed.
1674
1670
  * @deprecated This function is an inheritance of ECS6, it's here temporary for the feature parity, please read the news and docs to know how handle when it's removed. Use onLeaveSceneObservable instead. */
@@ -1736,14 +1732,6 @@ export declare const OnPointerDown: ComponentDefinition<ISchema<PBOnPointerDown>
1736
1732
  /** @public */
1737
1733
  export declare const OnPointerDownResult: ComponentDefinition<ISchema<PBOnPointerDownResult>, PBOnPointerDownResult>;
1738
1734
 
1739
- /**
1740
- * @public
1741
- * @deprecated This function is an inheritance of ECS6, it's here temporary for the feature parity, please read the news and docs to know how handle when it's removed.
1742
- */
1743
- export declare const onPointerLockedStateChange: Observable<{
1744
- locked?: boolean | undefined;
1745
- }>;
1746
-
1747
1735
  /** @public */
1748
1736
  export declare const OnPointerUp: ComponentDefinition<ISchema<PBOnPointerUp>, PBOnPointerUp>;
1749
1737