@mastra/mssql 1.10.0 → 1.10.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.
@@ -3,7 +3,7 @@ name: mastra-mssql
3
3
  description: Documentation for @mastra/mssql. Use when working with @mastra/mssql APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/mssql"
6
- version: "1.10.0"
6
+ version: "1.10.1"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.10.0",
2
+ "version": "1.10.1",
3
3
  "package": "@mastra/mssql",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -25,7 +25,6 @@ let _mastra_core_error = require("@mastra/core/error");
25
25
  let _mastra_core_storage = require("@mastra/core/storage");
26
26
  let mssql = require("mssql");
27
27
  mssql = __toESM(mssql, 1);
28
- let crypto = require("crypto");
29
28
  let _mastra_core_utils = require("@mastra/core/utils");
30
29
  let _mastra_core_base = require("@mastra/core/base");
31
30
  let _mastra_core_agent = require("@mastra/core/agent");
@@ -1367,7 +1366,7 @@ var AgentsMSSQL = class AgentsMSSQL extends _mastra_core_storage.AgentsStorage {
1367
1366
  }
1368
1367
  });
1369
1368
  const { id: _id, authorId: _authorId, metadata: _metadata, ...snapshotConfig } = agent;
1370
- const versionId = (0, crypto.randomUUID)();
1369
+ const versionId = globalThis.crypto.randomUUID();
1371
1370
  await this.createVersion({
1372
1371
  id: versionId,
1373
1372
  agentId: agent.id,
@@ -3967,7 +3966,7 @@ var ScoresMSSQL = class ScoresMSSQL extends _mastra_core_storage.ScoresStorage {
3967
3966
  }, error);
3968
3967
  }
3969
3968
  try {
3970
- const scoreId = (0, crypto.randomUUID)();
3969
+ const scoreId = globalThis.crypto.randomUUID();
3971
3970
  const now = /* @__PURE__ */ new Date();
3972
3971
  const { scorer, preprocessStepResult, analyzeStepResult, metadata, input, output, additionalContext, requestContext, entity, ...rest } = validatedScore;
3973
3972
  await this.db.insert({