Skip to content

Commit a33233e

Browse files
committed
🔖 publish: version bump
1 parent a7f3ac1 commit a33233e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/publish/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ These are more like notes for docs. Take a look around, ask questions. Eventuall
447447
448448
This is where all data is stored. We have methods on entities but this is a bit of a trick, entities don't actually store any data and instead it is operating on the connected world. Each world has its own set of entities that do not overlap with another. Typically you only need one world.
449449
450-
Worlds can have traits, which is our version of a singleton. Use these for global resources like a clock. Each world gets its own entity used for world traits. This entity is no queryable but will show up in the list of active entities making the only way to retrieve a world trait with its API.
450+
Worlds can have traits, which is our version of a singleton. Use these for global resources like a clock. Each world gets its own entity used for world traits. This entity is not queryable but will show up in the list of active entities making the only way to retrieve a world trait with its API.
451451
452452
```js
453453
// Spawns an entity
@@ -533,7 +533,7 @@ entity.remove(Position)
533533

534534
// Checks if the entity has the trait
535535
// Return boolean
536-
const result = enttiy.has(Position)
536+
const result = entity.has(Position)
537537

538538
// Gets a snapshot instance of the trait
539539
// Return TraitInstance

packages/publish/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "koota",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "🌎 Performant real-time state management for React and TypeScript",
55
"license": "ISC",
66
"type": "module",

0 commit comments

Comments
 (0)