@bluedot-innovation/models 7.14.1 → 7.14.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 7.14.3
2
+ - Remove default value for lastSyncedTime in Bbot integration
3
+
4
+ ## 7.14.2
5
+ - Added Bbot integration accountType property
6
+
1
7
  ## 7.14.1
2
8
  - Added username and lastSyncedTime to Bbot integration
3
9
 
@@ -67,6 +67,7 @@
67
67
  "bbot": {
68
68
  "nowReadyEnabled": true,
69
69
  "username": "bluedot",
70
+ "accountType": "test",
70
71
  "lastSyncedTime": "2022-10-21T04:12:02.103Z"
71
72
  },
72
73
  "flipdish": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "7.14.1",
3
+ "version": "7.14.3",
4
4
  "main": "Models.js",
5
5
  "scripts": {
6
6
  "lint": "./node_modules/.bin/eslint -c .eslintrc.js ./models/*.js ./__tests__/**/*.js ./__tests__/**/**/*.js ./schemas/*.js",
@@ -3,7 +3,8 @@ const mongoose = require('mongoose');
3
3
  let BbotIntegrationSchema = new mongoose.Schema({
4
4
  nowReadyEnabled: {type: Boolean, default: true},
5
5
  username: {type: String},
6
- lastSyncedTime: {type: Date, default: Date.now}
6
+ accountType: {type: String, enum: ['test', 'live']},
7
+ lastSyncedTime: {type: Date}
7
8
  }, {
8
9
  _id: false
9
10
  })