@mastra/redis-streams 0.6.4 → 0.6.5-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.js +1 -2
- package/package.json +13 -11
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
let _mastra_core_events = require("@mastra/core/events");
|
|
3
3
|
let redis = require("redis");
|
|
4
|
-
|
|
4
|
+
// src/index.ts
|
|
5
5
|
/** Page size for the reclaim loop's XPENDING scan and the max entries claimed per tick. */
|
|
6
6
|
const RECLAIM_PAGE_SIZE = 100;
|
|
7
7
|
const TRIM_PAGE_SIZE = 500;
|
|
@@ -1110,7 +1110,6 @@ var RedisStreamsPubSub = class RedisStreamsPubSub extends _mastra_core_events.Pu
|
|
|
1110
1110
|
}
|
|
1111
1111
|
}
|
|
1112
1112
|
};
|
|
1113
|
-
//#endregion
|
|
1114
1113
|
exports.RedisStreamsPubSub = RedisStreamsPubSub;
|
|
1115
1114
|
|
|
1116
1115
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PubSub } from "@mastra/core/events";
|
|
2
2
|
import { createClient, createCluster } from "redis";
|
|
3
|
-
|
|
3
|
+
// src/index.ts
|
|
4
4
|
/** Page size for the reclaim loop's XPENDING scan and the max entries claimed per tick. */
|
|
5
5
|
const RECLAIM_PAGE_SIZE = 100;
|
|
6
6
|
const TRIM_PAGE_SIZE = 500;
|
|
@@ -1109,7 +1109,6 @@ var RedisStreamsPubSub = class RedisStreamsPubSub extends PubSub {
|
|
|
1109
1109
|
}
|
|
1110
1110
|
}
|
|
1111
1111
|
};
|
|
1112
|
-
//#endregion
|
|
1113
1112
|
export { RedisStreamsPubSub };
|
|
1114
1113
|
|
|
1115
1114
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/redis-streams",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5-alpha.1",
|
|
4
4
|
"description": "Mastra Redis Streams PubSub integration",
|
|
5
|
+
"license": "Apache-2.0",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"main": "dist/index.js",
|
|
7
8
|
"types": "dist/index.d.ts",
|
|
@@ -26,21 +27,22 @@
|
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
29
|
"@ai-sdk/openai-v5": "npm:@ai-sdk/openai@2.0.135",
|
|
29
|
-
"@copilotkit/aimock": "^1.
|
|
30
|
-
"@types/node": "22.
|
|
31
|
-
"@vitest/coverage-v8": "4.1.
|
|
32
|
-
"@vitest/ui": "4.1.
|
|
33
|
-
"tsdown": "0.
|
|
34
|
-
"tsx": "^4.23.
|
|
30
|
+
"@copilotkit/aimock": "^1.46.0",
|
|
31
|
+
"@types/node": "22.19.15",
|
|
32
|
+
"@vitest/coverage-v8": "4.1.12",
|
|
33
|
+
"@vitest/ui": "4.1.12",
|
|
34
|
+
"tsdown": "0.23.1",
|
|
35
|
+
"tsx": "^4.23.15",
|
|
35
36
|
"typescript": "^7.0.2",
|
|
36
|
-
"vitest": "4.1.
|
|
37
|
+
"vitest": "4.1.12",
|
|
37
38
|
"zod": "^4.6.7",
|
|
38
39
|
"@internal/lint": "0.0.145",
|
|
39
40
|
"@internal/types-builder": "0.0.120",
|
|
40
|
-
"@mastra/core": "1.79.0",
|
|
41
|
-
"@mastra/deployer": "1.79.0",
|
|
42
41
|
"@internal/ai-sdk-v5": "0.0.92",
|
|
43
|
-
"@mastra/
|
|
42
|
+
"@mastra/core": "1.80.0-alpha.4",
|
|
43
|
+
"@mastra/deployer": "1.80.0-alpha.4",
|
|
44
|
+
"@mastra/libsql": "1.27.1-alpha.0",
|
|
45
|
+
"@mastra/pg": "1.33.0-alpha.2"
|
|
44
46
|
},
|
|
45
47
|
"peerDependencies": {
|
|
46
48
|
"@mastra/core": ">=1.0.0-0 <2.0.0-0"
|