sygnal 2.0.0 → 2.0.1

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.
@@ -33,7 +33,7 @@ function collection(component, stateLense) {
33
33
  var collectionOpts = {
34
34
  item: component,
35
35
  itemKey: function itemKey(state, ind) {
36
- return state.id || ind;
36
+ return typeof state.id !== 'undefined' ? state.id : ind;
37
37
  },
38
38
  itemScope: function itemScope(key) {
39
39
  return key;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sygnal",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "An intuitive framework for building fast and small components or applications based on Cycle.js",
5
5
  "main": "./dist/index.js",
6
6
  "exports": {
Binary file