@statly/observe 0.1.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,16 @@
1
+ import {
2
+ captureNextJsError,
3
+ withStatly,
4
+ withStatlyGetServerSideProps,
5
+ withStatlyGetStaticProps,
6
+ withStatlyPagesApi,
7
+ withStatlyServerAction
8
+ } from "../chunk-PETWPVHU.mjs";
9
+ export {
10
+ captureNextJsError,
11
+ withStatly,
12
+ withStatlyGetServerSideProps,
13
+ withStatlyGetStaticProps,
14
+ withStatlyPagesApi,
15
+ withStatlyServerAction
16
+ };
package/package.json ADDED
@@ -0,0 +1,74 @@
1
+ {
2
+ "name": "@statly/observe",
3
+ "version": "0.1.0",
4
+ "description": "JavaScript SDK for Statly Observe - Error tracking and monitoring",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
13
+ },
14
+ "./express": {
15
+ "types": "./dist/integrations/express.d.ts",
16
+ "import": "./dist/integrations/express.mjs",
17
+ "require": "./dist/integrations/express.js"
18
+ },
19
+ "./nextjs": {
20
+ "types": "./dist/integrations/nextjs.d.ts",
21
+ "import": "./dist/integrations/nextjs.mjs",
22
+ "require": "./dist/integrations/nextjs.js"
23
+ },
24
+ "./fastify": {
25
+ "types": "./dist/integrations/fastify.d.ts",
26
+ "import": "./dist/integrations/fastify.mjs",
27
+ "require": "./dist/integrations/fastify.js"
28
+ }
29
+ },
30
+ "files": [
31
+ "dist",
32
+ "README.md",
33
+ "LICENSE"
34
+ ],
35
+ "scripts": {
36
+ "build": "tsup src/index.ts src/integrations/express.ts src/integrations/nextjs.ts src/integrations/fastify.ts --format cjs,esm --dts --clean",
37
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
38
+ "lint": "eslint src --ext .ts",
39
+ "test": "vitest run",
40
+ "prepublishOnly": "npm run build"
41
+ },
42
+ "keywords": [
43
+ "error-tracking",
44
+ "monitoring",
45
+ "observability",
46
+ "statly",
47
+ "sdk",
48
+ "apm",
49
+ "error-monitoring",
50
+ "exception-tracking"
51
+ ],
52
+ "author": "Statly <support@statly.live>",
53
+ "license": "MIT",
54
+ "homepage": "https://statly.live",
55
+ "repository": {
56
+ "type": "git",
57
+ "url": "git+https://github.com/KodyDennon/statly-node.git"
58
+ },
59
+ "bugs": {
60
+ "url": "https://github.com/KodyDennon/statly-node/issues"
61
+ },
62
+ "devDependencies": {
63
+ "tsup": "^8.0.0",
64
+ "typescript": "^5.0.0",
65
+ "vitest": "^1.0.0"
66
+ },
67
+ "peerDependencies": {},
68
+ "engines": {
69
+ "node": ">=16.0.0"
70
+ },
71
+ "publishConfig": {
72
+ "access": "public"
73
+ }
74
+ }