@statly/observe 1.0.0 → 1.2.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.
@@ -0,0 +1,56 @@
1
+ import {
2
+ AIFeatures,
3
+ ConsoleDestination,
4
+ DEFAULT_LEVELS,
5
+ EXTENDED_LEVELS,
6
+ FileDestination,
7
+ LOG_LEVELS,
8
+ Logger,
9
+ ObserveDestination,
10
+ REDACTED,
11
+ SCRUB_PATTERNS,
12
+ SENSITIVE_KEYS,
13
+ Scrubber,
14
+ audit,
15
+ debug,
16
+ error,
17
+ fatal,
18
+ formatJson,
19
+ formatJsonPretty,
20
+ formatPretty,
21
+ getConsoleMethod,
22
+ getDefaultLogger,
23
+ info,
24
+ isSensitiveKey,
25
+ setDefaultLogger,
26
+ trace,
27
+ warn
28
+ } from "../chunk-7AITSJLP.mjs";
29
+ export {
30
+ AIFeatures,
31
+ ConsoleDestination,
32
+ DEFAULT_LEVELS,
33
+ EXTENDED_LEVELS,
34
+ FileDestination,
35
+ LOG_LEVELS,
36
+ Logger,
37
+ ObserveDestination,
38
+ REDACTED,
39
+ SCRUB_PATTERNS,
40
+ SENSITIVE_KEYS,
41
+ Scrubber,
42
+ audit,
43
+ debug,
44
+ error,
45
+ fatal,
46
+ formatJson,
47
+ formatJsonPretty,
48
+ formatPretty,
49
+ getConsoleMethod,
50
+ getDefaultLogger,
51
+ info,
52
+ isSensitiveKey,
53
+ setDefaultLogger,
54
+ trace,
55
+ warn
56
+ };
@@ -0,0 +1,8 @@
1
+ import {
2
+ TelemetryProvider,
3
+ trace
4
+ } from "./chunk-J5AHUFP2.mjs";
5
+ export {
6
+ TelemetryProvider,
7
+ trace
8
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statly/observe",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "description": "JavaScript SDK for Statly Observe - Error tracking and monitoring",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -28,6 +28,11 @@
28
28
  "types": "./dist/integrations/fastify.d.ts",
29
29
  "import": "./dist/integrations/fastify.mjs",
30
30
  "require": "./dist/integrations/fastify.js"
31
+ },
32
+ "./logger": {
33
+ "types": "./dist/logger/index.d.ts",
34
+ "import": "./dist/logger/index.mjs",
35
+ "require": "./dist/logger/index.js"
31
36
  }
32
37
  },
33
38
  "files": [
@@ -37,7 +42,7 @@
37
42
  "bin"
38
43
  ],
39
44
  "scripts": {
40
- "build": "tsup src/index.ts src/integrations/express.ts src/integrations/nextjs.ts src/integrations/fastify.ts src/cli.ts --format cjs,esm --dts --clean",
45
+ "build": "tsup src/index.ts src/integrations/express.ts src/integrations/nextjs.ts src/integrations/fastify.ts src/logger/index.ts src/cli.ts --format cjs,esm --dts --clean",
41
46
  "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
42
47
  "lint": "eslint src --ext .ts",
43
48
  "test": "vitest run",