@mastra/nestjs 0.2.31 → 0.2.32-alpha.0
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.cjs +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/services/shutdown.service.d.ts.map +1 -1
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -30,7 +30,6 @@ let _mastra_server_auth = require("@mastra/server/auth");
|
|
|
30
30
|
let stream = require("stream");
|
|
31
31
|
let hono = require("hono");
|
|
32
32
|
let _nestjs_core = require("@nestjs/core");
|
|
33
|
-
let crypto = require("crypto");
|
|
34
33
|
let module$1 = require("module");
|
|
35
34
|
let _fastify_busboy = require("@fastify/busboy");
|
|
36
35
|
let _mastra_core_server = require("@mastra/core/server");
|
|
@@ -9680,7 +9679,7 @@ let ShutdownService = _ShutdownService = class ShutdownService {
|
|
|
9680
9679
|
* Returns a unique request ID for tracking.
|
|
9681
9680
|
*/
|
|
9682
9681
|
registerRequest(path) {
|
|
9683
|
-
const requestId =
|
|
9682
|
+
const requestId = globalThis.crypto.randomUUID();
|
|
9684
9683
|
this.activeRequests.set(requestId, {
|
|
9685
9684
|
startTime: Date.now(),
|
|
9686
9685
|
path
|