@dhyasama/totem-models 4.4.0 → 4.4.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.
@@ -139,6 +139,10 @@ module.exports = function(mongoose, config) {
139
139
  url: { type: String, unique: true, partialFilterExpression : { type :"string" }, trim: true }
140
140
  },
141
141
 
142
+ carta: {
143
+ corporationid: { type: String, unique: true, partialFilterExpression : { type :"string" }, trim: true }
144
+ },
145
+
142
146
  related: [{ type: Schema.ObjectId, ref: 'Organization' }],
143
147
 
144
148
  // customer specific (customer id is stored on note)
@@ -174,7 +178,7 @@ module.exports = function(mongoose, config) {
174
178
  }
175
179
  },
176
180
 
177
- eshares: {
181
+ carta: {
178
182
  firmid: { type: String, unique: true, partialFilterExpression : { type :"string" }, trim: true }
179
183
  },
180
184
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "4.4.0",
3
+ "version": "4.4.1",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",
@@ -19,7 +19,7 @@
19
19
  "async": "^2.6.1",
20
20
  "awesome-phonenumber": "^1.0.14",
21
21
  "bcrypt": "^0.8.0",
22
- "bluebird": "^3.5.0",
22
+ "bluebird": "^3.5.2",
23
23
  "escape-string-regexp": "^1.0.5",
24
24
  "moment": "^2.22.2",
25
25
  "mongoose-deep-populate": "^3.0.0",