dcl-npc-toolkit 1.6.1-20251229153910.commit-ff2787f → 1.6.1-20251229172248.commit-6697be1

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.
Files changed (2) hide show
  1. package/README.md +4 -6
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -236,12 +236,10 @@ With sdk7, there are new ways to implement similar features from sdk6, one of th
236
236
  import ReactEcs, { Label, ReactEcsRenderer, UiEntity } from '@dcl/sdk/react-ecs'
237
237
  import { NpcUtilsUi } from 'dcl-npc-toolkit'
238
238
 
239
- const SceneOwnedUi = () => (
240
- <UiEntity>
241
- <NpcUtilsUi />
242
- {/* rest of user defined UI */}
243
- </UiEntity>
244
- )
239
+ const SceneOwnedUi = () => [
240
+ NpcUtilsUi(),
241
+ // other UI elements
242
+ ]
245
243
 
246
244
  export function setupUi() {
247
245
  ReactEcsRenderer.setUiRenderer(SceneOwnedUi)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcl-npc-toolkit",
3
- "version": "1.6.1-20251229153910.commit-ff2787f",
3
+ "version": "1.6.1-20251229172248.commit-6697be1",
4
4
  "description": "A collection of tools for creating Non-Player-Characters (NPCs). These are capable of having conversations with the player, and play different animations.",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
@@ -36,5 +36,5 @@
36
36
  "dependencies": {
37
37
  "@dcl/js-runtime": "latest"
38
38
  },
39
- "commit": "ff2787f177a251301cd487fd2acebbd0714f4487"
39
+ "commit": "6697be1f02129f3a3fea4d1c69de550148c55ce7"
40
40
  }