Version 2.0.0 with improved references. In addition to much more powerful references, there are also breaking changes with the passed event arguments and how you access the list of instances from a Immstruct instance.
- Removes instances property from API. No longer a property
.instances
on the Immstruct instance which allow you to access the list of instances. It's now a methodinstance
which allow you to get either the complete list, if no arguments, or a specific instance given by key as first argument.
var immstruct = require('immstruct');
immstruct('foo', {});
immstruct.instance(); // => { 'foo': Immutable.Map }