@statly/observe 1.2.0 → 1.2.1
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/{chunk-SJ7C46AP.mjs → chunk-RLSLJL6N.js} +7 -8
- package/dist/{chunk-7AITSJLP.mjs → chunk-RUEXBTHM.js} +2 -2
- package/dist/{cli.mjs → cli.cjs} +26 -3
- package/dist/cli.js +3 -26
- package/dist/index.cjs +2837 -0
- package/dist/{index.d.mts → index.d.cts} +4 -4
- package/dist/index.js +62 -2789
- package/dist/integrations/express.cjs +1108 -0
- package/dist/integrations/express.js +8 -1107
- package/dist/integrations/fastify.cjs +1117 -0
- package/dist/integrations/fastify.js +9 -1115
- package/dist/integrations/nextjs.cjs +1167 -0
- package/dist/integrations/nextjs.js +12 -1162
- package/dist/logger/index.cjs +1483 -0
- package/dist/logger/index.js +30 -1457
- package/dist/{telemetry-CXHOTW3Y.mjs → telemetry-JOMOMZ25.js} +1 -1
- package/package.json +3 -2
- package/dist/index.mjs +0 -111
- package/dist/integrations/express.mjs +0 -10
- package/dist/integrations/fastify.mjs +0 -12
- package/dist/integrations/nextjs.mjs +0 -18
- package/dist/logger/index.mjs +0 -56
- /package/dist/{chunk-J5AHUFP2.mjs → chunk-NKQPBSKX.js} +0 -0
- /package/dist/{cli.d.mts → cli.d.cts} +0 -0
- /package/dist/integrations/{express.d.mts → express.d.cts} +0 -0
- /package/dist/integrations/{fastify.d.mts → fastify.d.cts} +0 -0
- /package/dist/integrations/{nextjs.d.mts → nextjs.d.cts} +0 -0
- /package/dist/logger/{index.d.mts → index.d.cts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"type": "module",
|
|
2
3
|
"name": "@statly/observe",
|
|
3
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.1",
|
|
4
5
|
"description": "JavaScript SDK for Statly Observe - Error tracking and monitoring",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"module": "dist/index.mjs",
|
|
@@ -81,4 +82,4 @@
|
|
|
81
82
|
"publishConfig": {
|
|
82
83
|
"access": "public"
|
|
83
84
|
}
|
|
84
|
-
}
|
|
85
|
+
}
|
package/dist/index.mjs
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Statly,
|
|
3
|
-
StatlyClient,
|
|
4
|
-
addBreadcrumb,
|
|
5
|
-
captureException,
|
|
6
|
-
captureMessage,
|
|
7
|
-
captureNextJsError,
|
|
8
|
-
captureSpan,
|
|
9
|
-
close,
|
|
10
|
-
createRequestCapture,
|
|
11
|
-
expressErrorHandler,
|
|
12
|
-
flush,
|
|
13
|
-
getClient,
|
|
14
|
-
init,
|
|
15
|
-
requestHandler,
|
|
16
|
-
setTag,
|
|
17
|
-
setTags,
|
|
18
|
-
setUser,
|
|
19
|
-
startSpan,
|
|
20
|
-
statlyFastifyPlugin,
|
|
21
|
-
statlyPlugin,
|
|
22
|
-
trace as trace2,
|
|
23
|
-
withStatly,
|
|
24
|
-
withStatlyGetServerSideProps,
|
|
25
|
-
withStatlyGetStaticProps,
|
|
26
|
-
withStatlyPagesApi,
|
|
27
|
-
withStatlyServerAction
|
|
28
|
-
} from "./chunk-SJ7C46AP.mjs";
|
|
29
|
-
import {
|
|
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
|
-
} from "./chunk-7AITSJLP.mjs";
|
|
57
|
-
import "./chunk-J5AHUFP2.mjs";
|
|
58
|
-
export {
|
|
59
|
-
AIFeatures,
|
|
60
|
-
ConsoleDestination,
|
|
61
|
-
DEFAULT_LEVELS,
|
|
62
|
-
EXTENDED_LEVELS,
|
|
63
|
-
FileDestination,
|
|
64
|
-
LOG_LEVELS,
|
|
65
|
-
Logger,
|
|
66
|
-
ObserveDestination,
|
|
67
|
-
REDACTED,
|
|
68
|
-
SCRUB_PATTERNS,
|
|
69
|
-
SENSITIVE_KEYS,
|
|
70
|
-
Scrubber,
|
|
71
|
-
Statly,
|
|
72
|
-
StatlyClient,
|
|
73
|
-
addBreadcrumb,
|
|
74
|
-
captureException,
|
|
75
|
-
captureMessage,
|
|
76
|
-
captureNextJsError,
|
|
77
|
-
captureSpan,
|
|
78
|
-
close,
|
|
79
|
-
createRequestCapture,
|
|
80
|
-
expressErrorHandler,
|
|
81
|
-
flush,
|
|
82
|
-
formatJson,
|
|
83
|
-
formatJsonPretty,
|
|
84
|
-
formatPretty,
|
|
85
|
-
getClient,
|
|
86
|
-
getConsoleMethod,
|
|
87
|
-
getDefaultLogger,
|
|
88
|
-
init,
|
|
89
|
-
isSensitiveKey,
|
|
90
|
-
audit as logAudit,
|
|
91
|
-
debug as logDebug,
|
|
92
|
-
error as logError,
|
|
93
|
-
fatal as logFatal,
|
|
94
|
-
info as logInfo,
|
|
95
|
-
trace as logTrace,
|
|
96
|
-
warn as logWarn,
|
|
97
|
-
requestHandler,
|
|
98
|
-
setDefaultLogger,
|
|
99
|
-
setTag,
|
|
100
|
-
setTags,
|
|
101
|
-
setUser,
|
|
102
|
-
startSpan,
|
|
103
|
-
statlyFastifyPlugin,
|
|
104
|
-
statlyPlugin,
|
|
105
|
-
trace2 as trace,
|
|
106
|
-
withStatly,
|
|
107
|
-
withStatlyGetServerSideProps,
|
|
108
|
-
withStatlyGetStaticProps,
|
|
109
|
-
withStatlyPagesApi,
|
|
110
|
-
withStatlyServerAction
|
|
111
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
captureNextJsError,
|
|
3
|
-
withStatly,
|
|
4
|
-
withStatlyGetServerSideProps,
|
|
5
|
-
withStatlyGetStaticProps,
|
|
6
|
-
withStatlyPagesApi,
|
|
7
|
-
withStatlyServerAction
|
|
8
|
-
} from "../chunk-SJ7C46AP.mjs";
|
|
9
|
-
import "../chunk-7AITSJLP.mjs";
|
|
10
|
-
import "../chunk-J5AHUFP2.mjs";
|
|
11
|
-
export {
|
|
12
|
-
captureNextJsError,
|
|
13
|
-
withStatly,
|
|
14
|
-
withStatlyGetServerSideProps,
|
|
15
|
-
withStatlyGetStaticProps,
|
|
16
|
-
withStatlyPagesApi,
|
|
17
|
-
withStatlyServerAction
|
|
18
|
-
};
|
package/dist/logger/index.mjs
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
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
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|