@brimble/models 2.3.1 → 2.3.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.
package/dist/license.js CHANGED
@@ -59,8 +59,8 @@ const licenseSchema = new mongoose_1.Schema({
59
59
  default: 1
60
60
  }
61
61
  }, { timestamps: true });
62
- licenseSchema.index({ userId: 1, status: 1 });
63
- licenseSchema.index({ licenseKey: 1 });
62
+ // licenseSchema.index({ userId: 1, status: 1 });
63
+ // licenseSchema.index({ licenseKey: 1 });
64
64
  licenseSchema.methods.cleanupInactiveDevices = function () {
65
65
  return __awaiter(this, void 0, void 0, function* () {
66
66
  const thirtyDaysAgo = new Date();
package/license.ts CHANGED
@@ -51,8 +51,8 @@ const licenseSchema: Schema = new Schema({
51
51
  }
52
52
  }, { timestamps: true });
53
53
 
54
- licenseSchema.index({ userId: 1, status: 1 });
55
- licenseSchema.index({ licenseKey: 1 });
54
+ // licenseSchema.index({ userId: 1, status: 1 });
55
+ // licenseSchema.index({ licenseKey: 1 });
56
56
 
57
57
  licenseSchema.methods.cleanupInactiveDevices = async function() {
58
58
  const thirtyDaysAgo = new Date();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brimble/models",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Brimble models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",