react-native-qalink 0.3.0 → 0.3.2
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/README.md +10 -1
- package/dist/core/device.d.ts +14 -0
- package/dist/core/device.d.ts.map +1 -0
- package/dist/core/device.js +46 -27
- package/dist/core/device.js.map +1 -0
- package/dist/core/sanitize.d.ts +16 -0
- package/dist/core/sanitize.d.ts.map +1 -0
- package/dist/core/sanitize.js +96 -49
- package/dist/core/sanitize.js.map +1 -0
- package/dist/core/session.d.ts +0 -1
- package/dist/core/session.d.ts.map +1 -1
- package/dist/core/session.js +12 -27
- package/dist/core/session.js.map +1 -1
- package/dist/index.d.ts +6 -40
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +196 -164
- package/dist/index.js.map +1 -1
- package/dist/interceptors/axios.d.ts.map +1 -1
- package/dist/interceptors/axios.js +5 -4
- package/dist/interceptors/axios.js.map +1 -1
- package/dist/interceptors/console.d.ts.map +1 -1
- package/dist/interceptors/console.js +112 -67
- package/dist/interceptors/console.js.map +1 -1
- package/dist/interceptors/errors.d.ts.map +1 -1
- package/dist/interceptors/errors.js +4 -3
- package/dist/interceptors/errors.js.map +1 -1
- package/dist/interceptors/fetch.d.ts +1 -1
- package/dist/interceptors/fetch.d.ts.map +1 -1
- package/dist/interceptors/fetch.js +99 -96
- package/dist/interceptors/fetch.js.map +1 -1
- package/dist/interceptors/metro.d.ts +4 -0
- package/dist/interceptors/metro.d.ts.map +1 -0
- package/dist/interceptors/metro.js +174 -94
- package/dist/interceptors/metro.js.map +1 -0
- package/dist/interceptors/runtime.d.ts.map +1 -1
- package/dist/interceptors/runtime.js +55 -31
- package/dist/interceptors/runtime.js.map +1 -1
- package/dist/transport/websocket.d.ts +3 -2
- package/dist/transport/websocket.d.ts.map +1 -1
- package/dist/transport/websocket.js +16 -4
- package/dist/transport/websocket.js.map +1 -1
- package/dist/types/index.d.ts +66 -31
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +30 -7
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type ErrorSource = 'BACKEND' | 'FRONTEND' | 'NETWORK' | 'AUTH' | 'UNKNOWN';
|
|
2
|
-
export type EventType = 'network_request' | 'network_error' | 'js_error' | 'breadcrumb' | 'session_start' | 'console_log' | 'console_warn' | 'console_error' | 'runtime_error' | 'metro_error';
|
|
2
|
+
export type EventType = 'network_request' | 'network_error' | 'js_error' | 'breadcrumb' | 'network_log' | 'session_start' | 'console_log' | 'console_warn' | 'console_error' | 'runtime_error' | 'metro_error';
|
|
3
3
|
export interface NetworkEvent {
|
|
4
4
|
id: string;
|
|
5
5
|
type: 'network_request' | 'network_error';
|
|
@@ -14,6 +14,30 @@ export interface NetworkEvent {
|
|
|
14
14
|
timestamp: number;
|
|
15
15
|
source: ErrorSource;
|
|
16
16
|
sessionId: string;
|
|
17
|
+
deviceId?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface NetworkLogEvent {
|
|
20
|
+
id: string;
|
|
21
|
+
type: 'network_log';
|
|
22
|
+
method: string;
|
|
23
|
+
url: string;
|
|
24
|
+
statusCode?: number;
|
|
25
|
+
requestPayload?: unknown;
|
|
26
|
+
responsePayload?: unknown;
|
|
27
|
+
durationMs?: number;
|
|
28
|
+
timestamp: number;
|
|
29
|
+
sessionId: string;
|
|
30
|
+
deviceId?: string;
|
|
31
|
+
screen?: string;
|
|
32
|
+
sanitized: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface LogRequestOptions {
|
|
35
|
+
method: string;
|
|
36
|
+
url: string;
|
|
37
|
+
statusCode?: number;
|
|
38
|
+
requestPayload?: unknown;
|
|
39
|
+
responsePayload?: unknown;
|
|
40
|
+
durationMs?: number;
|
|
17
41
|
}
|
|
18
42
|
export interface JSErrorEvent {
|
|
19
43
|
id: string;
|
|
@@ -24,14 +48,8 @@ export interface JSErrorEvent {
|
|
|
24
48
|
timestamp: number;
|
|
25
49
|
source: 'FRONTEND';
|
|
26
50
|
sessionId: string;
|
|
51
|
+
deviceId?: string;
|
|
27
52
|
}
|
|
28
|
-
/**
|
|
29
|
-
* Errores que React Native lanza en tiempo de ejecución:
|
|
30
|
-
* - Red screen of death (pantalla roja)
|
|
31
|
-
* - Yellow box warnings
|
|
32
|
-
* - Errores de módulos nativos
|
|
33
|
-
* - Errores de bridge JS<->Native
|
|
34
|
-
*/
|
|
35
53
|
export interface RuntimeErrorEvent {
|
|
36
54
|
id: string;
|
|
37
55
|
type: 'runtime_error';
|
|
@@ -44,29 +62,34 @@ export interface RuntimeErrorEvent {
|
|
|
44
62
|
timestamp: number;
|
|
45
63
|
screen: string;
|
|
46
64
|
sessionId: string;
|
|
65
|
+
deviceId?: string;
|
|
47
66
|
}
|
|
48
67
|
/**
|
|
49
|
-
*
|
|
50
|
-
* -
|
|
51
|
-
* -
|
|
52
|
-
* -
|
|
68
|
+
* Subtipos de errores de Metro Bundler:
|
|
69
|
+
* - module_not_found: import/require que no puede resolverse
|
|
70
|
+
* - syntax_error: error de sintaxis JS/TS en un archivo
|
|
71
|
+
* - transform_error: Babel/TypeScript falla al compilar
|
|
72
|
+
* - bundling_failed: fallo general del bundler
|
|
73
|
+
* - build_error: error de compilación genérico
|
|
74
|
+
* - metro_generic: cualquier otro error de Metro
|
|
53
75
|
*/
|
|
76
|
+
export type MetroErrorType = 'module_not_found' | 'syntax_error' | 'transform_error' | 'bundling_failed' | 'build_error' | 'metro_generic';
|
|
54
77
|
export interface MetroErrorEvent {
|
|
55
78
|
id: string;
|
|
56
79
|
type: 'metro_error';
|
|
80
|
+
/** Subtipo específico del error de Metro */
|
|
81
|
+
metroType: MetroErrorType;
|
|
57
82
|
message: string;
|
|
83
|
+
/** Archivo donde ocurrió el error (si se pudo extraer) */
|
|
58
84
|
file?: string;
|
|
59
85
|
lineNumber?: number;
|
|
60
86
|
column?: number;
|
|
61
87
|
stack?: string;
|
|
62
88
|
timestamp: number;
|
|
63
89
|
sessionId: string;
|
|
90
|
+
deviceId?: string;
|
|
64
91
|
}
|
|
65
92
|
export type ConsoleLevel = 'log' | 'warn' | 'error' | 'info' | 'debug';
|
|
66
|
-
/**
|
|
67
|
-
* Captura todo lo que el desarrollador imprime con console.log/warn/error.
|
|
68
|
-
* Incluye los logs internos de React Native y librerías de terceros.
|
|
69
|
-
*/
|
|
70
93
|
export interface ConsoleEvent {
|
|
71
94
|
id: string;
|
|
72
95
|
type: 'console_log' | 'console_warn' | 'console_error';
|
|
@@ -77,6 +100,7 @@ export interface ConsoleEvent {
|
|
|
77
100
|
timestamp: number;
|
|
78
101
|
screen: string;
|
|
79
102
|
sessionId: string;
|
|
103
|
+
deviceId?: string;
|
|
80
104
|
}
|
|
81
105
|
export interface BreadcrumbEvent {
|
|
82
106
|
id: string;
|
|
@@ -86,16 +110,19 @@ export interface BreadcrumbEvent {
|
|
|
86
110
|
data?: Record<string, unknown>;
|
|
87
111
|
timestamp: number;
|
|
88
112
|
sessionId: string;
|
|
113
|
+
deviceId?: string;
|
|
89
114
|
}
|
|
90
115
|
export interface SessionStartEvent {
|
|
91
116
|
id: string;
|
|
92
117
|
type: 'session_start';
|
|
93
118
|
sessionId: string;
|
|
119
|
+
deviceId: string;
|
|
94
120
|
timestamp: number;
|
|
95
121
|
deviceInfo: DeviceInfo;
|
|
96
122
|
appVersion: string;
|
|
123
|
+
environment: 'dev' | 'prod';
|
|
97
124
|
}
|
|
98
|
-
export type QALinkEvent = NetworkEvent | JSErrorEvent | RuntimeErrorEvent | MetroErrorEvent | ConsoleEvent | BreadcrumbEvent | SessionStartEvent;
|
|
125
|
+
export type QALinkEvent = NetworkEvent | NetworkLogEvent | JSErrorEvent | RuntimeErrorEvent | MetroErrorEvent | ConsoleEvent | BreadcrumbEvent | SessionStartEvent;
|
|
99
126
|
export interface DeviceInfo {
|
|
100
127
|
platform: 'ios' | 'android';
|
|
101
128
|
osVersion: string;
|
|
@@ -104,35 +131,43 @@ export interface DeviceInfo {
|
|
|
104
131
|
buildType: 'debug' | 'release';
|
|
105
132
|
}
|
|
106
133
|
export interface ConsoleConfig {
|
|
107
|
-
/** Capturar console.log (default: true) */
|
|
108
134
|
captureLogs?: boolean;
|
|
109
|
-
/** Capturar console.warn (default: true) */
|
|
110
135
|
captureWarnings?: boolean;
|
|
111
|
-
/** Capturar console.error (default: true) */
|
|
112
136
|
captureErrors?: boolean;
|
|
113
|
-
/**
|
|
114
|
-
* Filtrar mensajes que contengan estos strings.
|
|
115
|
-
* Útil para ignorar logs muy verbosos de librerías.
|
|
116
|
-
* Ej: ['[react-query]', '[redux]']
|
|
117
|
-
*/
|
|
118
137
|
ignorePatterns?: string[];
|
|
119
|
-
/**
|
|
120
|
-
* Solo capturar mensajes que contengan estos strings.
|
|
121
|
-
* Si está vacío, captura todo.
|
|
122
|
-
*/
|
|
123
138
|
includePatterns?: string[];
|
|
124
139
|
}
|
|
125
140
|
export interface QALinkConfig {
|
|
126
141
|
serverUrl: string;
|
|
142
|
+
/** API key generated in QALink Dashboard (format: qlk_<64 hex chars>) */
|
|
143
|
+
apiKey: string;
|
|
127
144
|
appVersion: string;
|
|
145
|
+
/** Habilita o deshabilita el SDK completamente. @default true */
|
|
128
146
|
enabled?: boolean;
|
|
147
|
+
/** Entorno de la app. @default 'dev' */
|
|
148
|
+
environment?: 'dev' | 'prod';
|
|
129
149
|
logNetworkBodies?: boolean;
|
|
130
150
|
sensitiveHeaders?: string[];
|
|
131
151
|
sensitiveUrlPatterns?: string[];
|
|
132
|
-
|
|
152
|
+
sensitiveBodyFields?: string[];
|
|
133
153
|
console?: ConsoleConfig;
|
|
134
|
-
/** Capturar errores del runtime de React Native (red/yellow box) */
|
|
135
154
|
captureRuntimeErrors?: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Captura errores de Metro Bundler: módulos no encontrados,
|
|
157
|
+
* syntax errors, transform errors, bundling failures, etc.
|
|
158
|
+
*
|
|
159
|
+
* Muy útil para detectar crashes de la app causados por
|
|
160
|
+
* problemas en el proceso de compilación/bundling.
|
|
161
|
+
*
|
|
162
|
+
* @default true
|
|
163
|
+
*
|
|
164
|
+
* @example — Desactivar:
|
|
165
|
+
* captureMetroErrors: false
|
|
166
|
+
*
|
|
167
|
+
* @example — Solo en desarrollo:
|
|
168
|
+
* captureMetroErrors: __DEV__
|
|
169
|
+
*/
|
|
170
|
+
captureMetroErrors?: boolean;
|
|
136
171
|
onEvent?: (event: QALinkEvent) => void;
|
|
137
172
|
debug?: boolean;
|
|
138
173
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;AAElF,MAAM,MAAM,SAAS,GACjB,iBAAiB,GACjB,eAAe,GACf,UAAU,GACV,YAAY,GACZ,eAAe,GACf,aAAa,GACb,cAAc,GACd,eAAe,GACf,eAAe,GACf,aAAa,CAAC;AAIlB,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,iBAAiB,GAAG,eAAe,CAAC;IAC1C,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAID,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,UAA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M,CAAC;IAEnB,iEAAiE;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,wCAAwC;IACxC,WAAW,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAE7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAChC,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;;;;;;;;;;;;;OAcG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IACvC,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
|
package/package.json
CHANGED
|
@@ -1,14 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-qalink",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Real-time error capture SDK for React Native — helps QA teams identify if bugs are frontend or backend",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"README.md"
|
|
10
|
+
],
|
|
11
|
+
"keywords": [
|
|
12
|
+
"react-native",
|
|
13
|
+
"debugging",
|
|
14
|
+
"qa",
|
|
15
|
+
"error-tracking",
|
|
16
|
+
"network-interceptor",
|
|
17
|
+
"metro"
|
|
18
|
+
],
|
|
19
|
+
"peerDependencies": {
|
|
20
|
+
"react-native": ">=0.70.0",
|
|
21
|
+
"axios": ">=1.0.0"
|
|
22
|
+
},
|
|
23
|
+
"peerDependenciesMeta": {
|
|
24
|
+
"axios": {
|
|
25
|
+
"optional": true
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"typescript": "^5.0.0",
|
|
30
|
+
"@types/react-native": "^0.72.0"
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "tsc",
|
|
34
|
+
"typecheck": "tsc --noEmit"
|
|
35
|
+
},
|
|
13
36
|
"license": "MIT"
|
|
14
37
|
}
|