@pydantic/logfire-cf-workers 0.11.5 → 0.11.6
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.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/package.json +9 -9
package/dist/index.d.cts
CHANGED
|
@@ -65,11 +65,11 @@ declare type Env_2 = Record<string, string | undefined>;
|
|
|
65
65
|
declare namespace exportTailEventsExports {
|
|
66
66
|
export {
|
|
67
67
|
exportTailEventsToLogfire,
|
|
68
|
-
TraceItem
|
|
68
|
+
TraceItem_2 as TraceItem
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export declare function exportTailEventsToLogfire(events:
|
|
72
|
+
export declare function exportTailEventsToLogfire(events: TraceItem_2[], env: Record<string, string | undefined>): Promise<Response | undefined>;
|
|
73
73
|
|
|
74
74
|
export declare function getTailConfig(config: TailConfigOptions): (env: Env_2) => TraceConfig;
|
|
75
75
|
|
|
@@ -101,10 +101,11 @@ export declare function instrumentTail<T>(handler: T, config: TailConfigOptions)
|
|
|
101
101
|
export declare interface TailConfigOptions extends ConfigOptionsBase {
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
declare interface TraceItem_2 {
|
|
105
105
|
logs: {
|
|
106
106
|
message: any[];
|
|
107
107
|
}[];
|
|
108
108
|
}
|
|
109
|
+
export { TraceItem_2 as TraceItem }
|
|
109
110
|
|
|
110
111
|
export { }
|
package/dist/index.d.ts
CHANGED
|
@@ -65,11 +65,11 @@ declare type Env_2 = Record<string, string | undefined>;
|
|
|
65
65
|
declare namespace exportTailEventsExports {
|
|
66
66
|
export {
|
|
67
67
|
exportTailEventsToLogfire,
|
|
68
|
-
TraceItem
|
|
68
|
+
TraceItem_2 as TraceItem
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export declare function exportTailEventsToLogfire(events:
|
|
72
|
+
export declare function exportTailEventsToLogfire(events: TraceItem_2[], env: Record<string, string | undefined>): Promise<Response | undefined>;
|
|
73
73
|
|
|
74
74
|
export declare function getTailConfig(config: TailConfigOptions): (env: Env_2) => TraceConfig;
|
|
75
75
|
|
|
@@ -101,10 +101,11 @@ export declare function instrumentTail<T>(handler: T, config: TailConfigOptions)
|
|
|
101
101
|
export declare interface TailConfigOptions extends ConfigOptionsBase {
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
|
|
104
|
+
declare interface TraceItem_2 {
|
|
105
105
|
logs: {
|
|
106
106
|
message: any[];
|
|
107
107
|
}[];
|
|
108
108
|
}
|
|
109
|
+
export { TraceItem_2 as TraceItem }
|
|
109
110
|
|
|
110
111
|
export { }
|
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"stats",
|
|
27
27
|
"monitoring"
|
|
28
28
|
],
|
|
29
|
-
"version": "0.11.
|
|
29
|
+
"version": "0.11.6",
|
|
30
30
|
"type": "module",
|
|
31
31
|
"main": "./dist/index.cjs",
|
|
32
32
|
"module": "./dist/index.js",
|
|
@@ -44,19 +44,19 @@
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@pydantic/otel-cf-workers": "^1.0.0-rc.
|
|
48
|
-
"logfire": "0.13.
|
|
47
|
+
"@pydantic/otel-cf-workers": "^1.0.0-rc.55",
|
|
48
|
+
"logfire": "0.13.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@cloudflare/workers-types": "4.20250311.0",
|
|
52
|
-
"@opentelemetry/core": "^2.0
|
|
53
|
-
"@opentelemetry/otlp-transformer": "^0.
|
|
54
|
-
"@opentelemetry/sdk-trace-base": "^2.
|
|
52
|
+
"@opentelemetry/core": "^2.7.0",
|
|
53
|
+
"@opentelemetry/otlp-transformer": "^0.215.0",
|
|
54
|
+
"@opentelemetry/sdk-trace-base": "^2.7.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@opentelemetry/core": "^2.0
|
|
58
|
-
"@opentelemetry/otlp-transformer": "^0.
|
|
59
|
-
"@opentelemetry/sdk-trace-base": "^2.
|
|
57
|
+
"@opentelemetry/core": "^2.7.0",
|
|
58
|
+
"@opentelemetry/otlp-transformer": "^0.215.0",
|
|
59
|
+
"@opentelemetry/sdk-trace-base": "^2.7.0"
|
|
60
60
|
},
|
|
61
61
|
"files": [
|
|
62
62
|
"dist",
|