@ejfdelgado/ejflab-back 1.18.2 → 1.18.4

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": "@ejfdelgado/ejflab-back",
3
- "version": "1.18.2",
3
+ "version": "1.18.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ejfdelgado/ejflab-back.git"
@@ -44,6 +44,11 @@ export class EmailHandler {
44
44
  html: contenidoFinal,
45
45
  };
46
46
 
47
+ if (body.replyTo) {
48
+ msg.replyTo = body.replyTo;
49
+ console.log(`replyTo: ${msg.replyTo}`);
50
+ }
51
+
47
52
  console.log(`Using EMAIL_SENDER ${JSON.stringify(MyConstants.EMAIL_SENDER)}`);
48
53
  //console.log(JSON.stringify(body.params, null, 4));
49
54
  //console.log(JSON.stringify(contenidoFinal, null, 4));
@@ -21,12 +21,12 @@ export class PostgresSrv {
21
21
  return Number(bigNumber);
22
22
  });
23
23
  types.setTypeParser(types.builtins.NUMERIC, function (val) {
24
- const bigNumber = BigInt(val);
25
- if (bigNumber > Number.MAX_SAFE_INTEGER) {
24
+ const bigNumber = parseFloat(val);
25
+ if (isNaN(bigNumber)) {
26
26
  // Fallback...
27
- return 0;
27
+ return null;
28
28
  }
29
- return Number(bigNumber);
29
+ return bigNumber;
30
30
  });
31
31
  }
32
32
  static noQuotes(val, ...args) {