@mastra/redis 1.4.7 → 1.4.8

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-redis
3
3
  description: Documentation for @mastra/redis. Use when working with @mastra/redis APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/redis"
6
- version: "1.4.7"
6
+ version: "1.4.8"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.4.7",
2
+ "version": "1.4.8",
3
3
  "package": "@mastra/redis",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -1,31 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- //#region \0rolldown/runtime.js
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
- key = keys[i];
12
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
- get: ((k) => from[k]).bind(null, key),
14
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
- });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
20
- value: mod,
21
- enumerable: true
22
- }) : target, mod));
23
- //#endregion
24
2
  let _mastra_core_agent = require("@mastra/core/agent");
25
3
  let _mastra_core_error = require("@mastra/core/error");
26
4
  let _mastra_core_storage = require("@mastra/core/storage");
27
- let crypto$1 = require("crypto");
28
- crypto$1 = __toESM(crypto$1, 1);
29
5
  let _mastra_core_evals = require("@mastra/core/evals");
30
6
  let redis = require("redis");
31
7
  let _mastra_core_cache = require("@mastra/core/cache");
@@ -1094,7 +1070,7 @@ var ScoresRedis = class extends _mastra_core_storage.ScoresStorage {
1094
1070
  }, error);
1095
1071
  }
1096
1072
  const now = /* @__PURE__ */ new Date();
1097
- const id = crypto$1.default.randomUUID();
1073
+ const id = crypto.randomUUID();
1098
1074
  const { key, processedRecord } = processRecord(_mastra_core_storage.TABLE_SCORERS, {
1099
1075
  ...validatedScore,
1100
1076
  id,