@bugspotter/sdk 1.1.0 → 2.0.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.
- package/dist/bugspotter.min.js +1 -1
- package/dist/bugspotter.min.js.map +1 -1
- package/dist/core/transport.d.ts +2 -3
- package/dist/core/uploader.d.ts +0 -1
- package/dist/core/uploader.js +0 -1
- package/dist/index.esm.js +1 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/utils/config-validator.js +0 -6
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/release_notes.md +1 -1
|
@@ -23,15 +23,9 @@ function validateAuthConfig(context) {
|
|
|
23
23
|
if (!context.auth) {
|
|
24
24
|
throw new Error('API key authentication is required');
|
|
25
25
|
}
|
|
26
|
-
if (context.auth.type !== 'api-key') {
|
|
27
|
-
throw new Error('API key authentication is required');
|
|
28
|
-
}
|
|
29
26
|
if (!context.auth.apiKey) {
|
|
30
27
|
throw new Error('API key is required in auth configuration');
|
|
31
28
|
}
|
|
32
|
-
if (!context.auth.projectId) {
|
|
33
|
-
throw new Error('Project ID is required in auth configuration');
|
|
34
|
-
}
|
|
35
29
|
}
|
|
36
30
|
/**
|
|
37
31
|
* Validate deduplication configuration
|
package/dist/version.d.ts
CHANGED
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bugspotter/sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Professional bug reporting SDK with screenshots, session replay, and automatic error capture for web applications",
|
|
5
5
|
"packageManager": "pnpm@9.15.0",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
92
92
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
93
93
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
94
|
-
"@types/node": "^
|
|
94
|
+
"@types/node": "^25.5.0",
|
|
95
95
|
"@types/pako": "^2.0.4",
|
|
96
96
|
"@typescript-eslint/eslint-plugin": "^8.18.2",
|
|
97
97
|
"@typescript-eslint/parser": "^8.18.2",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"eslint-plugin-prettier": "^5.2.1",
|
|
103
103
|
"happy-dom": "^20.0.2",
|
|
104
104
|
"jsdom": "^24.1.0",
|
|
105
|
-
"lint-staged": "^
|
|
105
|
+
"lint-staged": "^16.4.0",
|
|
106
106
|
"prettier": "^3.4.2",
|
|
107
107
|
"rollup": "^4.55.1",
|
|
108
108
|
"rollup-plugin-dts": "^6.3.0",
|
|
@@ -112,6 +112,6 @@
|
|
|
112
112
|
"typescript": "^5.3.3",
|
|
113
113
|
"vitest": "^3.2.4",
|
|
114
114
|
"webpack": "^5.90.0",
|
|
115
|
-
"webpack-cli": "^
|
|
115
|
+
"webpack-cli": "^7.0.2"
|
|
116
116
|
}
|
|
117
117
|
}
|
package/release_notes.md
CHANGED