sitepong 0.1.13 → 0.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/cdn/sitepong.min.js +6 -6
- package/dist/cdn/sitepong.min.js.map +1 -1
- package/dist/entries/node.d.mts +2 -2
- package/dist/entries/node.d.ts +2 -2
- package/dist/entries/rn.js +513 -11
- package/dist/entries/rn.js.map +1 -1
- package/dist/entries/web.d.mts +2 -2
- package/dist/entries/web.d.ts +2 -2
- package/dist/entries/web.js +694 -137
- package/dist/entries/web.js.map +1 -1
- package/dist/entries/web.mjs +681 -137
- package/dist/entries/web.mjs.map +1 -1
- package/dist/index.d.mts +351 -23
- package/dist/index.d.ts +351 -23
- package/dist/index.js +367 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +354 -6
- package/dist/index.mjs.map +1 -1
- package/dist/nextjs/index.d.mts +2 -2
- package/dist/nextjs/index.d.ts +2 -2
- package/dist/react/index.d.mts +4 -4
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +367 -7
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +354 -7
- package/dist/react/index.mjs.map +1 -1
- package/dist/server/index.d.mts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/{types-DQSv7JAE.d.ts → types-BTA43eyz.d.ts} +1 -1
- package/dist/{types-Cms9VXx9.d.mts → types-CphqOTfm.d.mts} +1 -1
- package/dist/{types-BEqbz0tw.d.mts → types-DPINdOQW.d.mts} +2 -0
- package/dist/{types-BEqbz0tw.d.ts → types-DPINdOQW.d.ts} +2 -0
- package/package.json +162 -160
package/dist/server/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as Breadcrumb, S as SitePongConfig, C as CaptureContext, L as LogLevel } from '../types-
|
|
2
|
-
export { E as ErrorEvent } from '../types-
|
|
3
|
-
import '../types-
|
|
1
|
+
import { B as Breadcrumb, S as SitePongConfig, C as CaptureContext, L as LogLevel } from '../types-CphqOTfm.mjs';
|
|
2
|
+
export { E as ErrorEvent } from '../types-CphqOTfm.mjs';
|
|
3
|
+
import '../types-DPINdOQW.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Add a breadcrumb to the trail
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as Breadcrumb, S as SitePongConfig, C as CaptureContext, L as LogLevel } from '../types-
|
|
2
|
-
export { E as ErrorEvent } from '../types-
|
|
3
|
-
import '../types-
|
|
1
|
+
import { B as Breadcrumb, S as SitePongConfig, C as CaptureContext, L as LogLevel } from '../types-BTA43eyz.js';
|
|
2
|
+
export { E as ErrorEvent } from '../types-BTA43eyz.js';
|
|
3
|
+
import '../types-DPINdOQW.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Add a breadcrumb to the trail
|
|
@@ -26,6 +26,8 @@ interface AnalyticsConfig {
|
|
|
26
26
|
flushInterval?: number;
|
|
27
27
|
eventsEndpoint?: string;
|
|
28
28
|
debug?: boolean;
|
|
29
|
+
/** Application version stamped on every event for funnels/segmentation */
|
|
30
|
+
appVersion?: string;
|
|
29
31
|
}
|
|
30
32
|
interface TrackProperties {
|
|
31
33
|
[key: string]: unknown;
|
|
@@ -26,6 +26,8 @@ interface AnalyticsConfig {
|
|
|
26
26
|
flushInterval?: number;
|
|
27
27
|
eventsEndpoint?: string;
|
|
28
28
|
debug?: boolean;
|
|
29
|
+
/** Application version stamped on every event for funnels/segmentation */
|
|
30
|
+
appVersion?: string;
|
|
29
31
|
}
|
|
30
32
|
interface TrackProperties {
|
|
31
33
|
[key: string]: unknown;
|
package/package.json
CHANGED
|
@@ -1,162 +1,164 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
2
|
+
"name": "sitepong",
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Official SitePong SDK for error tracking and monitoring",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"react-native": {
|
|
11
|
+
"types": "./dist/entries/rn.d.ts",
|
|
12
|
+
"default": "./dist/entries/rn.js"
|
|
13
|
+
},
|
|
14
|
+
"browser": {
|
|
15
|
+
"types": "./dist/entries/web.d.ts",
|
|
16
|
+
"import": "./dist/entries/web.mjs",
|
|
17
|
+
"require": "./dist/entries/web.js"
|
|
18
|
+
},
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/index.mjs",
|
|
21
|
+
"require": "./dist/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./web": {
|
|
24
|
+
"types": "./dist/entries/web.d.ts",
|
|
25
|
+
"import": "./dist/entries/web.mjs",
|
|
26
|
+
"require": "./dist/entries/web.js"
|
|
27
|
+
},
|
|
28
|
+
"./node": {
|
|
29
|
+
"types": "./dist/entries/node.d.ts",
|
|
30
|
+
"import": "./dist/entries/node.mjs",
|
|
31
|
+
"require": "./dist/entries/node.js"
|
|
32
|
+
},
|
|
33
|
+
"./react": {
|
|
34
|
+
"types": "./dist/react/index.d.ts",
|
|
35
|
+
"import": "./dist/react/index.mjs",
|
|
36
|
+
"require": "./dist/react/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./react-native": {
|
|
39
|
+
"types": "./dist/entries/rn.d.ts",
|
|
40
|
+
"default": "./dist/entries/rn.js"
|
|
41
|
+
},
|
|
42
|
+
"./server": {
|
|
43
|
+
"types": "./dist/server/index.d.ts",
|
|
44
|
+
"import": "./dist/server/index.mjs",
|
|
45
|
+
"require": "./dist/server/index.js"
|
|
46
|
+
},
|
|
47
|
+
"./express": {
|
|
48
|
+
"types": "./dist/express/index.d.ts",
|
|
49
|
+
"import": "./dist/express/index.mjs",
|
|
50
|
+
"require": "./dist/express/index.js"
|
|
51
|
+
},
|
|
52
|
+
"./nextjs": {
|
|
53
|
+
"types": "./dist/nextjs/index.d.ts",
|
|
54
|
+
"import": "./dist/nextjs/index.mjs",
|
|
55
|
+
"require": "./dist/nextjs/index.js"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"typesVersions": {
|
|
59
|
+
"*": {
|
|
60
|
+
"web": [
|
|
61
|
+
"./dist/entries/web.d.ts"
|
|
62
|
+
],
|
|
63
|
+
"node": [
|
|
64
|
+
"./dist/entries/node.d.ts"
|
|
65
|
+
],
|
|
66
|
+
"react": [
|
|
67
|
+
"./dist/react/index.d.ts"
|
|
68
|
+
],
|
|
69
|
+
"react-native": [
|
|
70
|
+
"./dist/entries/rn.d.ts"
|
|
71
|
+
],
|
|
72
|
+
"server": [
|
|
73
|
+
"./dist/server/index.d.ts"
|
|
74
|
+
],
|
|
75
|
+
"express": [
|
|
76
|
+
"./dist/express/index.d.ts"
|
|
77
|
+
],
|
|
78
|
+
"nextjs": [
|
|
79
|
+
"./dist/nextjs/index.d.ts"
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"files": [
|
|
84
|
+
"dist"
|
|
85
|
+
],
|
|
86
|
+
"scripts": {
|
|
87
|
+
"build": "tsup",
|
|
88
|
+
"dev": "tsup --watch",
|
|
89
|
+
"lint": "eslint --cache src/**/*.{ts,tsx}",
|
|
90
|
+
"typecheck": "tsc -p tsconfig.web.json && tsc -p tsconfig.node.json",
|
|
91
|
+
"test": "vitest run",
|
|
92
|
+
"test:watch": "vitest",
|
|
93
|
+
"prepublishOnly": "npm run build"
|
|
94
|
+
},
|
|
95
|
+
"keywords": [
|
|
96
|
+
"error-tracking",
|
|
97
|
+
"monitoring",
|
|
98
|
+
"sitepong",
|
|
99
|
+
"error-reporting",
|
|
100
|
+
"crash-reporting"
|
|
101
|
+
],
|
|
102
|
+
"author": "SitePong",
|
|
103
|
+
"license": "MIT",
|
|
104
|
+
"repository": {
|
|
105
|
+
"type": "git",
|
|
106
|
+
"url": "https://github.com/programmrz/sitepong.git",
|
|
107
|
+
"directory": "packages/sdk"
|
|
108
|
+
},
|
|
109
|
+
"homepage": "https://sitepong.com",
|
|
110
|
+
"bugs": {
|
|
111
|
+
"url": "https://github.com/programmrz/sitepong/issues"
|
|
112
|
+
},
|
|
113
|
+
"peerDependencies": {
|
|
114
|
+
"react-native": ">=0.70.0",
|
|
115
|
+
"@react-native-async-storage/async-storage": ">=1.0.0",
|
|
116
|
+
"@react-navigation/native": ">=6.0.0",
|
|
117
|
+
"expo-device": ">=5.0.0",
|
|
118
|
+
"expo-application": ">=5.0.0",
|
|
119
|
+
"@sitepong/device-id": ">=0.1.0",
|
|
120
|
+
"expo-sqlite": ">=14.0.0"
|
|
121
|
+
},
|
|
122
|
+
"peerDependenciesMeta": {
|
|
123
|
+
"react-native": {
|
|
124
|
+
"optional": true
|
|
125
|
+
},
|
|
126
|
+
"@react-native-async-storage/async-storage": {
|
|
127
|
+
"optional": true
|
|
128
|
+
},
|
|
129
|
+
"@react-navigation/native": {
|
|
130
|
+
"optional": true
|
|
131
|
+
},
|
|
132
|
+
"expo-device": {
|
|
133
|
+
"optional": true
|
|
134
|
+
},
|
|
135
|
+
"expo-application": {
|
|
136
|
+
"optional": true
|
|
137
|
+
},
|
|
138
|
+
"@sitepong/device-id": {
|
|
139
|
+
"optional": true
|
|
140
|
+
},
|
|
141
|
+
"expo-sqlite": {
|
|
142
|
+
"optional": true
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"dependencies": {
|
|
146
|
+
"web-vitals": "^4.2.4"
|
|
147
|
+
},
|
|
148
|
+
"devDependencies": {
|
|
149
|
+
"@types/express": "^5.0.6",
|
|
150
|
+
"@types/node": "^20.10.0",
|
|
151
|
+
"@types/react": "^19.2.9",
|
|
152
|
+
"@typescript-eslint/eslint-plugin": "^6.13.0",
|
|
153
|
+
"@typescript-eslint/parser": "^6.13.0",
|
|
154
|
+
"eslint": "^8.55.0",
|
|
155
|
+
"next": "^16.1.4",
|
|
156
|
+
"react": "^19.2.3",
|
|
157
|
+
"tsup": "^8.0.1",
|
|
158
|
+
"typescript": "^5.3.0",
|
|
159
|
+
"vitest": "^1.0.0"
|
|
160
|
+
},
|
|
161
|
+
"engines": {
|
|
162
|
+
"node": ">=16.0.0"
|
|
163
|
+
}
|
|
162
164
|
}
|