@sera4/essentia 1.1.20 → 1.1.22

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sera4/essentia",
3
- "version": "1.1.20",
3
+ "version": "1.1.22",
4
4
  "description": "A library of utilities for Teleporte Web Services",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -32,6 +32,7 @@
32
32
  "async": "^2.6.3",
33
33
  "axios": "^0.21.4",
34
34
  "deep-diff": "^1.0.2",
35
+ "diff": "^5.0.0",
35
36
  "fast-safe-stringify": "^2.0.7",
36
37
  "git-rev": "^0.2.1",
37
38
  "lodash": "^4.17.21",
package/package.tar.gz CHANGED
Binary file
@@ -552,19 +552,15 @@ paperTrail.init = (sequelize, sequelizePackage, optionsArg) => {
552
552
  allowNull: false,
553
553
  };
554
554
 
555
- if (options.userModel) {
556
- attributes[options.userModelAttribute] = {
557
- type: options.UUID ? Sequelize.UUID : Sequelize.INTEGER,
558
- allowNull: true
559
- };
560
- }
555
+ attributes[options.userModelAttribute] = {
556
+ type: options.UUID ? Sequelize.UUID : Sequelize.INTEGER,
557
+ allowNull: true
558
+ };
561
559
 
562
- if (options.tenantModel) {
563
- attributes[options.tenantModelAttribute] = {
564
- type: options.UUID ? Sequelize.UUID : Sequelize.INTEGER,
565
- allowNull: true
566
- };
567
- }
560
+ attributes[options.tenantModelAttribute] = {
561
+ type: options.UUID ? Sequelize.UUID : Sequelize.INTEGER,
562
+ allowNull: true
563
+ };
568
564
 
569
565
 
570
566
  if (options.UUID) {