@mastra/cloudflare 0.0.0-toolOptionTypes-20250917085558 → 0.0.0-top-level-fix-20251211111608

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/cloudflare",
3
- "version": "0.0.0-toolOptionTypes-20250917085558",
3
+ "version": "0.0.0-top-level-fix-20251211111608",
4
4
  "description": "Cloudflare provider for Mastra - includes db storage capabilities",
5
5
  "type": "module",
6
6
  "files": [
@@ -27,22 +27,24 @@
27
27
  "cloudflare": "^4.5.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@cloudflare/workers-types": "^4.20250823.0",
30
+ "@cloudflare/workers-types": "^4.20251111.0",
31
31
  "@microsoft/api-extractor": "^7.52.8",
32
- "@types/node": "^20.19.0",
32
+ "@types/node": "22.13.17",
33
+ "@vitest/coverage-v8": "4.0.12",
34
+ "@vitest/ui": "4.0.12",
33
35
  "dotenv": "^17.0.0",
34
- "eslint": "^9.30.1",
35
- "miniflare": "^4.20250816.1",
36
+ "eslint": "^9.37.0",
37
+ "miniflare": "^4.20251109.0",
36
38
  "tsup": "^8.5.0",
37
39
  "typescript": "^5.8.3",
38
- "vitest": "^3.2.4",
39
- "@internal/lint": "0.0.0-toolOptionTypes-20250917085558",
40
- "@internal/types-builder": "0.0.0-toolOptionTypes-20250917085558",
41
- "@internal/storage-test-utils": "0.0.35",
42
- "@mastra/core": "0.0.0-toolOptionTypes-20250917085558"
40
+ "vitest": "4.0.12",
41
+ "@internal/storage-test-utils": "0.0.49",
42
+ "@internal/types-builder": "0.0.0-top-level-fix-20251211111608",
43
+ "@internal/lint": "0.0.0-top-level-fix-20251211111608",
44
+ "@mastra/core": "0.0.0-top-level-fix-20251211111608"
43
45
  },
44
46
  "peerDependencies": {
45
- "@mastra/core": "0.0.0-toolOptionTypes-20250917085558"
47
+ "@mastra/core": "0.0.0-top-level-fix-20251211111608"
46
48
  },
47
49
  "homepage": "https://mastra.ai",
48
50
  "repository": {
@@ -53,6 +55,9 @@
53
55
  "bugs": {
54
56
  "url": "https://github.com/mastra-ai/mastra/issues"
55
57
  },
58
+ "engines": {
59
+ "node": ">=22.13.0"
60
+ },
56
61
  "scripts": {
57
62
  "build": "tsup --silent --config tsup.config.ts",
58
63
  "build:watch": "tsup --watch --silent --config tsup.config.ts",
@@ -1,21 +0,0 @@
1
- import { LegacyEvalsStorage } from '@mastra/core/storage';
2
- import type { EvalRow, PaginationArgs, PaginationInfo } from '@mastra/core/storage';
3
- import type { StoreOperationsCloudflare } from '../operations/index.js';
4
- export declare class LegacyEvalsStorageCloudflare extends LegacyEvalsStorage {
5
- operations: StoreOperationsCloudflare;
6
- constructor({ operations }: {
7
- operations: StoreOperationsCloudflare;
8
- });
9
- getEvalsByAgentName(agentName: string, type?: 'test' | 'live'): Promise<EvalRow[]>;
10
- getEvals(options: {
11
- agentName?: string;
12
- type?: 'test' | 'live';
13
- dateRange?: {
14
- start?: Date;
15
- end?: Date;
16
- };
17
- } & PaginationArgs): Promise<PaginationInfo & {
18
- evals: EvalRow[];
19
- }>;
20
- }
21
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/legacy-evals/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAe,MAAM,sBAAsB,CAAC;AACvE,OAAO,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACpF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAE/D,qBAAa,4BAA6B,SAAQ,kBAAkB;IAClE,UAAU,EAAE,yBAAyB,CAAC;gBAC1B,EAAE,UAAU,EAAE,EAAE;QAAE,UAAU,EAAE,yBAAyB,CAAA;KAAE;IAK/D,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAqDlF,QAAQ,CACZ,OAAO,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE;YAAE,KAAK,CAAC,EAAE,IAAI,CAAC;YAAC,GAAG,CAAC,EAAE,IAAI,CAAA;SAAE,CAAA;KAAE,GAAG,cAAc,GACjH,OAAO,CAAC,cAAc,GAAG;QAAE,KAAK,EAAE,OAAO,EAAE,CAAA;KAAE,CAAC;CAwElD"}
@@ -1,18 +0,0 @@
1
- import { TracesStorage } from '@mastra/core/storage';
2
- import type { StorageGetTracesArg, StorageGetTracesPaginatedArg, PaginationInfo } from '@mastra/core/storage';
3
- import type { Trace } from '@mastra/core/telemetry';
4
- import type { StoreOperationsCloudflare } from '../operations/index.js';
5
- export declare class TracesStorageCloudflare extends TracesStorage {
6
- private operations;
7
- constructor({ operations }: {
8
- operations: StoreOperationsCloudflare;
9
- });
10
- getTraces(args: StorageGetTracesArg): Promise<Trace[]>;
11
- getTracesPaginated(args: StorageGetTracesPaginatedArg): Promise<PaginationInfo & {
12
- traces: Trace[];
13
- }>;
14
- batchTraceInsert({ records }: {
15
- records: Record<string, any>[];
16
- }): Promise<void>;
17
- }
18
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/storage/domains/traces/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,4BAA4B,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC9G,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAE/D,qBAAa,uBAAwB,SAAQ,aAAa;IACxD,OAAO,CAAC,UAAU,CAA4B;gBAElC,EAAE,UAAU,EAAE,EAAE;QAAE,UAAU,EAAE,yBAAyB,CAAA;KAAE;IAK/D,SAAS,CAAC,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC;IAsCtD,kBAAkB,CAAC,IAAI,EAAE,4BAA4B,GAAG,OAAO,CAAC,cAAc,GAAG;QAAE,MAAM,EAAE,KAAK,EAAE,CAAA;KAAE,CAAC;IA+FrG,gBAAgB,CAAC,EAAE,OAAO,EAAE,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAOvF"}