@bluedot-innovation/models 2.0.0-beta.14 → 2.0.0-beta.15

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/models/Beacon.js +0 -4
  2. package/package.json +1 -1
package/models/Beacon.js CHANGED
@@ -42,10 +42,6 @@ let schema = {
42
42
 
43
43
  let BeaconSchema = new mongoose.Schema(schema)
44
44
 
45
- BeaconSchema.add({
46
- type: {type: String, required: true}
47
- })
48
-
49
45
  // mongoose validator helper plugin
50
46
  BeaconSchema.post('validate', function (doc) {
51
47
  // Beacon Schema post validate hook
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "2.0.0-beta.14",
3
+ "version": "2.0.0-beta.15",
4
4
  "description": "",
5
5
  "main": "Models.js",
6
6
  "scripts": {