@dhyasama/totem-models 9.4.1 → 9.4.2

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/lib/CapTable.js +1 -1
  2. package/package.json +1 -1
package/lib/CapTable.js CHANGED
@@ -359,7 +359,7 @@ module.exports = function(mongoose, config) {
359
359
  // Sum each stakeholders shares
360
360
  _.each(self.stakeholders, function(stakeholder) {
361
361
 
362
- var shares = _.reduce(stakeholder.rounds, function(rounds, i) {
362
+ var shares = _.reduce(stakeholder.rounds, function(memo, i) {
363
363
  return memo + i.shares;
364
364
  }, 0);
365
365
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "9.4.1",
3
+ "version": "9.4.2",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",