@dcl/sdk 7.0.0-3045967591.commit-85b242a → 7.0.0-3046198202.commit-4f23ef8
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/dist/ecs7/index.d.ts +14 -26
- package/dist/ecs7/index.js +93 -33
- package/dist/ecs7/index.min.js +1 -1
- package/dist/ecs7/index.min.js.map +1 -1
- package/package.json +4 -4
- package/types/ecs7/index.d.ts +14 -26
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk",
|
3
|
-
"version": "7.0.0-
|
3
|
+
"version": "7.0.0-3046198202.commit-4f23ef8",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/src/index.js",
|
6
6
|
"typings": "dist/index.d.ts",
|
@@ -27,8 +27,8 @@
|
|
27
27
|
"src/cli/**/*.js"
|
28
28
|
],
|
29
29
|
"dependencies": {
|
30
|
-
"@dcl/amd": "6.11.7-
|
31
|
-
"@dcl/build-ecs": "6.11.7-
|
30
|
+
"@dcl/amd": "6.11.7-3046198202.commit-4f23ef8",
|
31
|
+
"@dcl/build-ecs": "6.11.7-3046198202.commit-4f23ef8",
|
32
32
|
"@dcl/kernel": "1.0.0-2994874542.commit-c3ae489",
|
33
33
|
"@dcl/posix": "^1.0.4",
|
34
34
|
"@dcl/schemas": "4.8.0",
|
@@ -38,5 +38,5 @@
|
|
38
38
|
"ignore": "^5.1.8"
|
39
39
|
},
|
40
40
|
"minCliVersion": "3.10.2",
|
41
|
-
"commit": "
|
41
|
+
"commit": "4f23ef800395966bbb14e030e575efe527b08380"
|
42
42
|
}
|
package/types/ecs7/index.d.ts
CHANGED
@@ -1440,6 +1440,20 @@ declare const MeshCollider: ComponentDefinition<ISchema<PBMeshCollider>, Partial
|
|
1440
1440
|
/** @public */
|
1441
1441
|
declare const MeshRenderer: ComponentDefinition<ISchema<PBMeshRenderer>, Partial<PBMeshRenderer>>;
|
1442
1442
|
|
1443
|
+
/**
|
1444
|
+
* @public
|
1445
|
+
* @deprecated
|
1446
|
+
*/
|
1447
|
+
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
|
declare const NFTShape: ComponentDefinition<ISchema<PBNFTShape>, PBNFTShape>;
|
1445
1459
|
|
@@ -1635,15 +1649,6 @@ 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
|
-
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 @@ 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
|
-
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 @@ declare const OnPointerDown: ComponentDefinition<ISchema<PBOnPointerDown>, PBOnP
|
|
1736
1732
|
/** @public */
|
1737
1733
|
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
|
-
declare const onPointerLockedStateChange: Observable<{
|
1744
|
-
locked?: boolean | undefined;
|
1745
|
-
}>;
|
1746
|
-
|
1747
1735
|
/** @public */
|
1748
1736
|
declare const OnPointerUp: ComponentDefinition<ISchema<PBOnPointerUp>, PBOnPointerUp>;
|
1749
1737
|
|