@hazeljs/observability 1.0.0 → 1.0.2

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -74,7 +74,7 @@ Integrate LLM cost tracking directly into your traces:
74
74
  ```typescript
75
75
  import { Trace, useObservability } from '@hazeljs/observability';
76
76
 
77
- class AIService {
77
+ class ChatService {
78
78
  @Trace('llm-completion')
79
79
  async complete(prompt: string) {
80
80
  const { trackCost } = useObservability();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hazeljs/observability",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Unified observability, OpenTelemetry tracing, and LLM cost tracking for HazelJS agents and flows",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -32,14 +32,14 @@
32
32
  "typescript": "^5.9.3"
33
33
  },
34
34
  "peerDependencies": {
35
- "@hazeljs/core": "^1.0.0"
35
+ "@hazeljs/core": "^1.0.2"
36
36
  },
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
40
  "repository": {
41
41
  "type": "git",
42
- "url": "git+https://github.com/hazel-js/hazeljs.git",
42
+ "url": "https://github.com/hazel-js/hazeljs",
43
43
  "directory": "packages/observability"
44
44
  },
45
45
  "author": "Muhammad Arslan <muhammad.arslan@hazeljs.ai>",