@dcl/sdk 7.0.0-2956503917.commit-061e376 → 7.0.0-2957285950.commit-2a77ef6
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 +2 -6
- package/dist/ecs7/index.js +1348 -10
- package/dist/ecs7/index.min.js +1 -1
- package/dist/ecs7/index.min.js.map +1 -1
- package/package.json +4 -4
- package/src/cli/mock-catalyst/index.js +4 -4
- package/src/cli/setupUtils.js +1 -1
- package/src/cli/wearables.js +10 -10
- package/src/setupProxy.js +1 -1
- package/types/ecs7/index.d.ts +1 -5
- package/types/tsconfig.ecs7.json +2 -2
package/dist/ecs7/index.d.ts
CHANGED
@@ -462,10 +462,6 @@ declare type EcsResult<T extends ISchema> = T extends ISchema ? ReturnType<T['de
|
|
462
462
|
*/
|
463
463
|
export declare function Engine({ transports }?: IEngineParams): IEngine;
|
464
464
|
|
465
|
-
/**
|
466
|
-
* @alpha * This file initialization is an alpha one. This is based on the old-ecs
|
467
|
-
* init and it'll be changing.
|
468
|
-
*/
|
469
465
|
export declare const engine: IEngine;
|
470
466
|
|
471
467
|
/**
|
@@ -601,7 +597,7 @@ export declare type IEngine = {
|
|
601
597
|
* Example:
|
602
598
|
* ```ts
|
603
599
|
* for (const [entity, boxShape, transform] of engine.getEntitiesWith(BoxShape, Transform)) {
|
604
|
-
*
|
600
|
+
* // the properties of boxShape and transform are read only
|
605
601
|
* }
|
606
602
|
* ```
|
607
603
|
*/
|
@@ -639,7 +635,7 @@ declare function IOptional<T>(spec: ISchema<T>): ISchema<T | undefined>;
|
|
639
635
|
/**
|
640
636
|
* @public
|
641
637
|
*/
|
642
|
-
declare type ISchema<T = any> = {
|
638
|
+
export declare type ISchema<T = any> = {
|
643
639
|
serialize(value: T, builder: ByteBuffer): void;
|
644
640
|
deserialize(reader: ByteBuffer): T;
|
645
641
|
create(): T;
|