@atrim/instrument-web 0.8.1-dev.2a45310.20260120032104 → 0.9.0

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/README.md CHANGED
@@ -293,17 +293,6 @@ Shutdown the SDK gracefully.
293
293
 
294
294
  **Returns:** `Promise<void>`
295
295
 
296
- ## Comparison with Node.js Package
297
-
298
- | Feature | @atrim/instrument-web | @atrim/instrument-node |
299
- |---------|----------------------|------------------------|
300
- | Platform | Browser | Node.js, Bun, Deno |
301
- | Export Protocol | HTTP only | HTTP + gRPC |
302
- | Auto-instrumentations | Fetch, XHR, DOM events | HTTP, gRPC, DB, etc. |
303
- | Effect-TS | ❌ No | ✅ Yes |
304
- | Bundle Size | <50KB | N/A |
305
- | Service Detection | Manual | Automatic |
306
-
307
296
  ## Requirements
308
297
 
309
298
  - **Modern browsers:** Chrome 90+, Firefox 88+, Safari 14+, Edge 90+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atrim/instrument-web",
3
- "version": "0.8.1-dev.2a45310.20260120032104",
3
+ "version": "0.9.0",
4
4
  "description": "OpenTelemetry instrumentation for browsers with centralized YAML configuration",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -48,8 +48,7 @@
48
48
  "LICENSE"
49
49
  ],
50
50
  "dependencies": {
51
- "@effect/platform": "^0.94.1",
52
- "effect": "^3.19.14",
51
+ "effect": "^4.1.7",
53
52
  "@opentelemetry/api": "^1.9.0",
54
53
  "@opentelemetry/auto-instrumentations-web": "^0.54.0",
55
54
  "@opentelemetry/exporter-trace-otlp-http": "^0.208.0",
@@ -57,7 +56,8 @@
57
56
  "@opentelemetry/resources": "^2.2.0",
58
57
  "@opentelemetry/sdk-trace-base": "^2.2.0",
59
58
  "@opentelemetry/sdk-trace-web": "^2.2.0",
60
- "yaml": "^2.8.1"
59
+ "yaml": "^2.8.1",
60
+ "zod": "^3.22.0"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "@opentelemetry/context-zone": "^2.0.0"
@@ -76,8 +76,7 @@
76
76
  "tsup": "^8.0.1",
77
77
  "tsx": "^4.7.0",
78
78
  "typescript": "^5.7.2",
79
- "vitest": "^4.0.16",
80
- "@atrim/instrument-core": "0.8.0"
79
+ "vitest": "^4.0.16"
81
80
  },
82
81
  "scripts": {
83
82
  "build": "tsup",