test-entity-library-asm 1.7.3 → 1.7.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/dist/index.js CHANGED
@@ -135,6 +135,7 @@ exports.timezoneMiddleware = timezoneMiddleware;
135
135
  function getTimeZone() {
136
136
  var _a;
137
137
  var store = asyncLocalStorage.getStore();
138
+ console.log(store, 'Prueba aer si funciona');
138
139
  return (_a = store === null || store === void 0 ? void 0 : store.get('timezone')) !== null && _a !== void 0 ? _a : 'UTC';
139
140
  }
140
141
  exports.getTimeZone = getTimeZone;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-entity-library-asm",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
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
@@ -91,6 +91,8 @@ export function timezoneMiddleware(
91
91
 
92
92
  export function getTimeZone(): string {
93
93
  const store = asyncLocalStorage.getStore()
94
+ console.log(store, 'Prueba aer si funciona')
95
+
94
96
  return store?.get('timezone') ?? 'UTC'
95
97
  }
96
98