@fluxhub/fluxhub-lib 9.0.108 → 9.0.110
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/bundles/fluxhub-fluxhub-lib.umd.js +2 -1
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/services/utility.service.js +3 -3
- package/esm5/lib/services/utility.service.js +3 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +2 -1
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/lib/services/utility.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -551,6 +551,7 @@ var UtilityService = /** @class */ (function () {
|
|
|
551
551
|
UtilityService.prototype.insert_log = function (dt, app, k, descri, operazione, link, old_doc, new_doc) {
|
|
552
552
|
if (link === void 0) { link = null; }
|
|
553
553
|
if (old_doc === void 0) { old_doc = null; }
|
|
554
|
+
if (new_doc === void 0) { new_doc = null; }
|
|
554
555
|
var diff = null;
|
|
555
556
|
if (old_doc != null && new_doc != null)
|
|
556
557
|
diff = getDiff(old_doc, new_doc, true);
|
|
@@ -558,7 +559,7 @@ var UtilityService = /** @class */ (function () {
|
|
|
558
559
|
if (diff != null || link != null) {
|
|
559
560
|
p.sql = "INSERT_LOG_N2";
|
|
560
561
|
p.types = ['string', 'string', 'string', 'string', 'string', 'string'];
|
|
561
|
-
p.values = [app, k, descri, operazione, JSON.stringify(
|
|
562
|
+
p.values = [app, k, descri, operazione, link, JSON.stringify(diff)];
|
|
562
563
|
}
|
|
563
564
|
else {
|
|
564
565
|
p.sql = "INSERT_LOG_N";
|