@dhyasama/totem-models 5.9.0 → 5.9.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.
package/lib/Deal.js CHANGED
@@ -54,7 +54,7 @@ module.exports = function(mongoose, config) {
54
54
  votes: [{
55
55
  timestamp: { type: Date, required: true, default: Date.now },
56
56
  account: { type: Schema.ObjectId, ref: 'Account', required: true },
57
- increment: { type: Number }
57
+ value: { type: Number }
58
58
  }]
59
59
 
60
60
  });
@@ -212,8 +212,8 @@ module.exports = function(mongoose, config) {
212
212
  voting: {
213
213
  active: { type: Boolean, default: true },
214
214
  categories: [{
215
- name: { String, trim: true },
216
- increment: { type: Number }
215
+ name: { type: String, trim: true },
216
+ value: { type: Number }
217
217
  }]
218
218
  }
219
219
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "5.9.0",
3
+ "version": "5.9.1",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",