test-entity-library-asm 3.9.12 → 3.9.13

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/index.js CHANGED
@@ -101,6 +101,8 @@ function timezoneMiddleware(req, res, next) {
101
101
  exports.timezoneMiddleware = timezoneMiddleware;
102
102
  function getTimeZone() {
103
103
  const store = asyncLocalStorage.getStore();
104
+ console.log(store, "store");
105
+ console.log(store?.get("timezone"), "y");
104
106
  return store?.get("timezone") ?? "UTC";
105
107
  }
106
108
  exports.getTimeZone = getTimeZone;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-entity-library-asm",
3
- "version": "3.9.12",
3
+ "version": "3.9.13",
4
4
  "description": "Entidades de ejemplo para una base de datos",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -103,6 +103,9 @@ export function timezoneMiddleware(
103
103
 
104
104
  export function getTimeZone(): string {
105
105
  const store = asyncLocalStorage.getStore();
106
+ console.log(store, "store");
107
+ console.log(store?.get("timezone"), "y");
108
+
106
109
  return store?.get("timezone") ?? "UTC";
107
110
  }
108
111