@dcl/playground-assets 7.0.1 → 7.0.2

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.
@@ -615,6 +615,7 @@ export type IEngine = {
615
615
  defineComponent<T extends Spec, ConstructorType = Partial<Result<T>>>(spec: T, componentId: number, constructorDefault?: ConstructorType): ComponentDefinition<ISchema<Result<T>>, Partial<Result<T>>>;
616
616
  defineComponentFromSchema<T extends ISchema<ConstructorType>, ConstructorType>(spec: T, componentId: number, constructorDefault?: ConstructorType): ComponentDefinition<T, ConstructorType>;
617
617
  getComponent<T extends ISchema>(componentId: number): ComponentDefinition<T>;
618
+ getComponentOrNull<T extends ISchema>(componentId: number): ComponentDefinition<T> | null;
618
619
  getEntitiesWith<T extends [ComponentDefinition<any>, ...ComponentDefinition<any>[]]>(...components: T): Iterable<[Entity, ...ReadonlyComponentSchema<T>]>;
619
620
  update(deltaTime: number): void;
620
621
  readonly RootEntity: Entity;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
- "version": "7.0.1",
3
+ "version": "7.0.2",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
@@ -16,8 +16,8 @@
16
16
  "author": "Decentraland",
17
17
  "license": "Apache-2.0",
18
18
  "dependencies": {
19
- "@dcl/sdk": "file:../sdk"
19
+ "@dcl/sdk": "7.0.2"
20
20
  },
21
21
  "minCliVersion": "3.12.3",
22
- "commit": "fb5b256656ad93683c9df90b7d7d360486c68fb0"
22
+ "commit": "a7ab97aa9d8bdf66cfc414e3884ef7163d912fae"
23
23
  }