@mastra/valkey 0.2.3-alpha.0 → 0.2.4-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.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import { MessageList } from "@mastra/core/agent";
2
2
  import { ErrorCategory, ErrorDomain, MastraError } from "@mastra/core/error";
3
3
  import { MastraStorage, MemoryStorage, ScoresStorage, TABLE_MESSAGES, TABLE_RESOURCES, TABLE_SCORERS, TABLE_THREADS, TABLE_WORKFLOW_SNAPSHOT, WorkflowsStorage, calculatePagination, createStorageErrorId, ensureDate, filterByDateRange, jsonValueEquals, matchesExpectedWorkflowStatus, normalizePerPage, serializeDate, storageMessageMatchesMetadataFilter, transformScoreRow, validateStorageMetadataFilter } from "@mastra/core/storage";
4
- import crypto$1 from "crypto";
5
4
  import { saveScorePayloadSchema } from "@mastra/core/evals";
6
5
  import { Batch, Decoder, GlideClient } from "@valkey/valkey-glide";
7
6
  import { MastraServerCache } from "@mastra/core/cache";
@@ -1072,7 +1071,7 @@ var ScoresValkey = class extends ScoresStorage {
1072
1071
  }, error);
1073
1072
  }
1074
1073
  const now = /* @__PURE__ */ new Date();
1075
- const id = crypto$1.randomUUID();
1074
+ const id = crypto.randomUUID();
1076
1075
  const { key, processedRecord } = processRecord(TABLE_SCORERS, {
1077
1076
  ...validatedScore,
1078
1077
  id,