Switching to @fireflysemantics/cuid For Automatic ID Assignment

Image by ElasticComputeFarm from Pixabay

Engineering Design

Current

Node UUID is used to assign the gid to Entities that are posted to the EStore without a global ID.

Change

The UUID module will be swapped out with @fireflysemantics/cuid which is more light weight.

Benefit

Loose the peer dependencies:

"@types/uuid": "^7.0.0",    
"uuid": "^7.0.2"

Also

We will also introduce the base class Entity which has the following implementation:

This allows for shorter gid values, when using the slugID option.

Founder of Firefly Semantics Corporation