@statly/observe 1.1.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.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  TelemetryProvider,
3
3
  trace
4
- } from "./chunk-J5AHUFP2.mjs";
4
+ } from "./chunk-NKQPBSKX.js";
5
5
  export {
6
6
  TelemetryProvider,
7
7
  trace
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
+ "type": "module",
2
3
  "name": "@statly/observe",
3
- "version": "1.1.0",
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",
@@ -28,6 +29,11 @@
28
29
  "types": "./dist/integrations/fastify.d.ts",
29
30
  "import": "./dist/integrations/fastify.mjs",
30
31
  "require": "./dist/integrations/fastify.js"
32
+ },
33
+ "./logger": {
34
+ "types": "./dist/logger/index.d.ts",
35
+ "import": "./dist/logger/index.mjs",
36
+ "require": "./dist/logger/index.js"
31
37
  }
32
38
  },
33
39
  "files": [
@@ -37,7 +43,7 @@
37
43
  "bin"
38
44
  ],
39
45
  "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",
46
+ "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
47
  "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
42
48
  "lint": "eslint src --ext .ts",
43
49
  "test": "vitest run",
@@ -76,4 +82,4 @@
76
82
  "publishConfig": {
77
83
  "access": "public"
78
84
  }
79
- }
85
+ }
package/dist/index.mjs DELETED
@@ -1,57 +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,
23
- withStatly,
24
- withStatlyGetServerSideProps,
25
- withStatlyGetStaticProps,
26
- withStatlyPagesApi,
27
- withStatlyServerAction
28
- } from "./chunk-HYFH22G6.mjs";
29
- import "./chunk-J5AHUFP2.mjs";
30
- export {
31
- Statly,
32
- StatlyClient,
33
- addBreadcrumb,
34
- captureException,
35
- captureMessage,
36
- captureNextJsError,
37
- captureSpan,
38
- close,
39
- createRequestCapture,
40
- expressErrorHandler,
41
- flush,
42
- getClient,
43
- init,
44
- requestHandler,
45
- setTag,
46
- setTags,
47
- setUser,
48
- startSpan,
49
- statlyFastifyPlugin,
50
- statlyPlugin,
51
- trace,
52
- withStatly,
53
- withStatlyGetServerSideProps,
54
- withStatlyGetStaticProps,
55
- withStatlyPagesApi,
56
- withStatlyServerAction
57
- };
@@ -1,9 +0,0 @@
1
- import {
2
- expressErrorHandler,
3
- requestHandler
4
- } from "../chunk-HYFH22G6.mjs";
5
- import "../chunk-J5AHUFP2.mjs";
6
- export {
7
- expressErrorHandler,
8
- requestHandler
9
- };
@@ -1,11 +0,0 @@
1
- import {
2
- createRequestCapture,
3
- statlyFastifyPlugin,
4
- statlyPlugin
5
- } from "../chunk-HYFH22G6.mjs";
6
- import "../chunk-J5AHUFP2.mjs";
7
- export {
8
- createRequestCapture,
9
- statlyFastifyPlugin,
10
- statlyPlugin
11
- };
@@ -1,17 +0,0 @@
1
- import {
2
- captureNextJsError,
3
- withStatly,
4
- withStatlyGetServerSideProps,
5
- withStatlyGetStaticProps,
6
- withStatlyPagesApi,
7
- withStatlyServerAction
8
- } from "../chunk-HYFH22G6.mjs";
9
- import "../chunk-J5AHUFP2.mjs";
10
- export {
11
- captureNextJsError,
12
- withStatly,
13
- withStatlyGetServerSideProps,
14
- withStatlyGetStaticProps,
15
- withStatlyPagesApi,
16
- withStatlyServerAction
17
- };
File without changes
File without changes