@limekex/bugreport-widget-sdk 0.1.0 → 0.1.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/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/types/shared.types.d.ts +84 -0
- package/dist/types/shared.types.d.ts.map +1 -0
- package/dist/types/shared.types.js +8 -0
- package/dist/types/shared.types.js.map +1 -0
- package/dist/types/widget.types.d.ts +1 -1
- package/dist/types/widget.types.d.ts.map +1 -1
- package/dist/utils/apiClient.d.ts +1 -1
- package/dist/utils/apiClient.d.ts.map +1 -1
- package/dist/utils/payloadBuilder.d.ts +1 -2
- package/dist/utils/payloadBuilder.d.ts.map +1 -1
- package/dist/utils/payloadBuilder.js.map +1 -1
- package/dist/widget/button.d.ts +1 -1
- package/dist/widget/button.d.ts.map +1 -1
- package/dist/widget/init.d.ts +1 -1
- package/dist/widget/init.d.ts.map +1 -1
- package/dist/widget/modal.d.ts +1 -1
- package/dist/widget/modal.d.ts.map +1 -1
- package/package.json +3 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { initBugReporter } from './widget/init';
|
|
2
|
-
export type { BugReporterConfig, CurrentUser, TraceContext, WidgetTheme } from '
|
|
2
|
+
export type { BugReporterConfig, CurrentUser, TraceContext, WidgetTheme } from './types/shared.types';
|
|
3
3
|
export { installConsoleErrorHook, getCollectedErrors, clearCollectedErrors } from './utils/consoleCapture';
|
|
4
4
|
export type { CapturedError } from './utils/consoleCapture';
|
|
5
5
|
export { installNetworkCaptureHook, getFailedNetworkRequests, clearFailedNetworkRequests } from './utils/networkCapture';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACtG,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC3G,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACzH,YAAY,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared types for the bug reporter widget SDK.
|
|
3
|
+
*
|
|
4
|
+
* These types were previously imported from @bugreport/shared-types but are now
|
|
5
|
+
* inlined to make the package installable without workspace dependencies.
|
|
6
|
+
*/
|
|
7
|
+
export interface CurrentUser {
|
|
8
|
+
id?: string;
|
|
9
|
+
email?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
role?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface TraceContext {
|
|
14
|
+
traceId?: string;
|
|
15
|
+
spanId?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface WidgetTheme {
|
|
18
|
+
primaryColor?: string;
|
|
19
|
+
buttonPosition?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
20
|
+
zIndex?: number;
|
|
21
|
+
}
|
|
22
|
+
export interface BugReporterConfig {
|
|
23
|
+
/** Base URL of the bugreport-api service, e.g. https://bugreport.betait.no */
|
|
24
|
+
apiBaseUrl: string;
|
|
25
|
+
/** Logical environment name, e.g. "staging", "uat" */
|
|
26
|
+
environment: string;
|
|
27
|
+
/** Whether the widget is active. Set to false to disable silently. */
|
|
28
|
+
enabled?: boolean;
|
|
29
|
+
/** Deployed app version string */
|
|
30
|
+
appVersion?: string;
|
|
31
|
+
/** Git commit SHA of the running build */
|
|
32
|
+
commitSha?: string;
|
|
33
|
+
/** CI build number */
|
|
34
|
+
buildNumber?: string;
|
|
35
|
+
/** Currently authenticated tester */
|
|
36
|
+
currentUser?: CurrentUser;
|
|
37
|
+
/** Returns the current trace context (e.g. from OpenTelemetry or Sentry) */
|
|
38
|
+
getTraceContext?: () => TraceContext;
|
|
39
|
+
/** Optional theme overrides */
|
|
40
|
+
theme?: WidgetTheme;
|
|
41
|
+
}
|
|
42
|
+
export type BugSeverity = 'blocker' | 'high' | 'medium' | 'low';
|
|
43
|
+
/** Fields submitted via multipart/form-data. */
|
|
44
|
+
export interface BugReportRequest {
|
|
45
|
+
summary: string;
|
|
46
|
+
severity: BugSeverity;
|
|
47
|
+
whatHappened: string;
|
|
48
|
+
expectedResult: string;
|
|
49
|
+
actualResult: string;
|
|
50
|
+
stepsToReproduce: string;
|
|
51
|
+
notes?: string;
|
|
52
|
+
contactEmail?: string;
|
|
53
|
+
testerId?: string;
|
|
54
|
+
testerRole?: string;
|
|
55
|
+
environment: string;
|
|
56
|
+
appVersion?: string;
|
|
57
|
+
commitSha?: string;
|
|
58
|
+
buildNumber?: string;
|
|
59
|
+
pageUrl?: string;
|
|
60
|
+
route?: string;
|
|
61
|
+
browser?: string;
|
|
62
|
+
operatingSystem?: string;
|
|
63
|
+
viewport?: string;
|
|
64
|
+
locale?: string;
|
|
65
|
+
traceId?: string;
|
|
66
|
+
optionalClientErrors?: string;
|
|
67
|
+
failedNetworkRequests?: string;
|
|
68
|
+
}
|
|
69
|
+
/** Successful response from POST /api/reports/bug */
|
|
70
|
+
export interface BugReportSuccessResponse {
|
|
71
|
+
success: true;
|
|
72
|
+
reportId: string;
|
|
73
|
+
githubIssueNumber: number;
|
|
74
|
+
githubIssueUrl: string;
|
|
75
|
+
message: string;
|
|
76
|
+
}
|
|
77
|
+
/** Error response returned by the API */
|
|
78
|
+
export interface BugReportErrorResponse {
|
|
79
|
+
success: false;
|
|
80
|
+
error: string;
|
|
81
|
+
details?: unknown;
|
|
82
|
+
}
|
|
83
|
+
export type BugReportResponse = BugReportSuccessResponse | BugReportErrorResponse;
|
|
84
|
+
//# sourceMappingURL=shared.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.types.d.ts","sourceRoot":"","sources":["../../src/types/shared.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,WAAW;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,cAAc,GAAG,aAAa,GAAG,WAAW,GAAG,UAAU,CAAC;IAC3E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,8EAA8E;IAC9E,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,sEAAsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kCAAkC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sBAAsB;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qCAAqC;IACrC,WAAW,CAAC,EAAE,WA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O,EAAE,MAAM,CAAC;CACjB;AAED,yCAAyC;AACzC,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,KAAK,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,MAAM,iBAAiB,GAAG,wBAAwB,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared types for the bug reporter widget SDK.
|
|
3
|
+
*
|
|
4
|
+
* These types were previously imported from @bugreport/shared-types but are now
|
|
5
|
+
* inlined to make the package installable without workspace dependencies.
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=shared.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.types.js","sourceRoot":"","sources":["../../src/types/shared.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BugReporterConfig } from '
|
|
1
|
+
import type { BugReporterConfig } from './shared.types';
|
|
2
2
|
export type WidgetState = 'idle' | 'open' | 'submitting' | 'success' | 'error';
|
|
3
3
|
export type WidgetEventType = 'open' | 'close' | 'submit' | 'success' | 'error';
|
|
4
4
|
export interface WidgetEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget.types.d.ts","sourceRoot":"","sources":["../../src/types/widget.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"widget.types.d.ts","sourceRoot":"","sources":["../../src/types/widget.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,SAAS,GAAG,OAAO,CAAC;AAE/E,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAEhF,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,eAAe,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;AAE/D;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,iBAAiB,CAAC;IAC1B,KAAK,EAAE,WAAW,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,EAAE,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,mBAAmB,KAAK,IAAI,CAAC;CACpE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiClient.d.ts","sourceRoot":"","sources":["../../src/utils/apiClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAA0B,MAAM,
|
|
1
|
+
{"version":3,"file":"apiClient.d.ts","sourceRoot":"","sources":["../../src/utils/apiClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAA0B,MAAM,uBAAuB,CAAC;AAE9F,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED;;GAEG;AACH,wBAAsB,YAAY,CAChC,OAAO,EAAE,mBAAmB,GAC3B,OAAO,CAAC,wBAAwB,CAAC,CAkBnC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { BugReportRequest } from '
|
|
2
|
-
import type { BugReporterConfig } from '@bugreport/shared-types';
|
|
1
|
+
import type { BugReportRequest, BugReporterConfig } from '../types/shared.types';
|
|
3
2
|
/**
|
|
4
3
|
* Builds the multipart FormData payload for POST /api/reports/bug.
|
|
5
4
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payloadBuilder.d.ts","sourceRoot":"","sources":["../../src/utils/payloadBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"payloadBuilder.d.ts","sourceRoot":"","sources":["../../src/utils/payloadBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAIjF;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,IAAI,CAAC,gBAAgB,EAAE,KAAK,CAAC,EACrC,MAAM,EAAE,iBAAiB,EACzB,SAAS,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,GACpC,QAAQ,CAyCV"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payloadBuilder.js","sourceRoot":"","sources":["../../src/utils/payloadBuilder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"payloadBuilder.js","sourceRoot":"","sources":["../../src/utils/payloadBuilder.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAE5D;;;;;;;;;;GAUG;AACH,MAAM,UAAU,kBAAkB,CAChC,MAAqC,EACrC,MAAyB,EACzB,SAAqC;IAErC,MAAM,eAAe,GAA8B;QACjD,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,SAAS,EAAE,MAAM,CAAC,SAAS;QAC3B,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,QAAQ,EAAE,MAAM,CAAC,WAAW,EAAE,EAAE;QAChC,UAAU,EAAE,MAAM,CAAC,WAAW,EAAE,IAAI;QACpC,YAAY,EAAE,MAAM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AAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
package/dist/widget/button.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/widget/button.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/widget/button.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAIzD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,cAAc,EAAE,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,CA4BxF;AAED,wBAAgB,oBAAoB,IAAI,IAAI,CAE3C"}
|
package/dist/widget/init.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/widget/init.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/widget/init.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAwC,MAAM,uBAAuB,CAAC;AAMlG;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,iBAAiB,GAAG,cAAc,CAiDzE"}
|
package/dist/widget/modal.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../src/widget/modal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../src/widget/modal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAU/D,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAsND;;;;;;;;;;;;GAYG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,iBAAiB,EAAE,SAAS,EAAE,cAAc,GAAG,IAAI,CA+CpF;AAED,wBAAgB,UAAU,CAAC,SAAS,CAAC,EAAE,cAAc,GAAG,IAAI,CAU3D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limekex/bugreport-widget-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Browser SDK for embedding the Stage Bug Reporter widget into staging/UAT applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bug-reporter",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"directory": "packages/widget-sdk"
|
|
20
20
|
},
|
|
21
21
|
"main": "./dist/index.js",
|
|
22
|
-
"module": "./dist/index.
|
|
22
|
+
"module": "./dist/index.js",
|
|
23
23
|
"types": "./dist/index.d.ts",
|
|
24
24
|
"files": [
|
|
25
25
|
"dist",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
30
|
-
"import": "./dist/index.
|
|
30
|
+
"import": "./dist/index.js",
|
|
31
31
|
"require": "./dist/index.js",
|
|
32
32
|
"types": "./dist/index.d.ts"
|
|
33
33
|
}
|
|
@@ -40,9 +40,6 @@
|
|
|
40
40
|
"test": "vitest run",
|
|
41
41
|
"lint": "eslint \"src/**/*.ts\""
|
|
42
42
|
},
|
|
43
|
-
"dependencies": {
|
|
44
|
-
"@bugreport/shared-types": "workspace:*"
|
|
45
|
-
},
|
|
46
43
|
"devDependencies": {
|
|
47
44
|
"@types/node": "^20.12.7",
|
|
48
45
|
"jsdom": "^29.0.1",
|