@dcl/react-ecs 7.0.6-3874914632.commit-eb56237 → 7.0.6-3942933325.commit-70f967f

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.
@@ -18,11 +18,11 @@ export function createReconciler(engine, pointerEvents) {
18
18
  const UiDropdownResult = components.UiDropdownResult(engine);
19
19
  // Component ID Helper
20
20
  const getComponentId = {
21
- uiTransform: UiTransform._id,
22
- uiText: UiText._id,
23
- uiBackground: UiBackground._id,
24
- uiInput: UiInput._id,
25
- uiDropdown: UiDropdown._id
21
+ uiTransform: UiTransform.componentId,
22
+ uiText: UiText.componentId,
23
+ uiBackground: UiBackground.componentId,
24
+ uiInput: UiInput.componentId,
25
+ uiDropdown: UiDropdown.componentId
26
26
  };
27
27
  function updateTree(instance, props) {
28
28
  upsertComponent(instance, props, 'uiTransform');
@@ -217,8 +217,8 @@ export function createReconciler(engine, pointerEvents) {
217
217
  return {
218
218
  update: function (component) {
219
219
  if (changeEvents.size) {
220
- handleOnChange(UiInput._id, UiInputResult);
221
- handleOnChange(UiDropdown._id, UiDropdownResult);
220
+ handleOnChange(UiInput.componentId, UiInputResult);
221
+ handleOnChange(UiDropdown.componentId, UiDropdownResult);
222
222
  }
223
223
  return reconciler.updateContainer(component, root, null);
224
224
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/react-ecs",
3
- "version": "7.0.6-3874914632.commit-eb56237",
3
+ "version": "7.0.6-3942933325.commit-70f967f",
4
4
  "description": "Decentraland ECS",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -42,5 +42,5 @@
42
42
  "displayName": "React ECS",
43
43
  "tsconfig": "./tsconfig.json"
44
44
  },
45
- "commit": "eb5623794ecd280831fd47cf7b7a1139aedb5bac"
45
+ "commit": "70f967f506b6e27be0877901c693a1d5089b1bf4"
46
46
  }