@mastra/nestjs 0.2.31 → 0.2.32-alpha.1
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.js
CHANGED
|
@@ -7,7 +7,6 @@ import { MASTRA_USER_KEY, coreAuthMiddleware } from "@mastra/server/auth";
|
|
|
7
7
|
import { Readable } from "stream";
|
|
8
8
|
import { Hono } from "hono";
|
|
9
9
|
import { HttpAdapterHost, REQUEST, Reflector } from "@nestjs/core";
|
|
10
|
-
import { randomUUID } from "crypto";
|
|
11
10
|
import { Busboy } from "@fastify/busboy";
|
|
12
11
|
import { MastraServerBase } from "@mastra/core/server";
|
|
13
12
|
import express from "express";
|
|
@@ -9658,7 +9657,7 @@ let ShutdownService = _ShutdownService = class ShutdownService {
|
|
|
9658
9657
|
* Returns a unique request ID for tracking.
|
|
9659
9658
|
*/
|
|
9660
9659
|
registerRequest(path) {
|
|
9661
|
-
const requestId = randomUUID();
|
|
9660
|
+
const requestId = globalThis.crypto.randomUUID();
|
|
9662
9661
|
this.activeRequests.set(requestId, {
|
|
9663
9662
|
startTime: Date.now(),
|
|
9664
9663
|
path
|