error-monitor-plugin-perf 1.0.1 → 1.0.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/dist/index.d.cts +28 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +27 -0
- package/dist/index.d.mts.map +1 -0
- package/package.json +2 -2
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export default o;
|
|
2
|
+
declare class o {
|
|
3
|
+
constructor(e?: {});
|
|
4
|
+
name: string;
|
|
5
|
+
version: string;
|
|
6
|
+
core: any;
|
|
7
|
+
observer: PerformanceObserver | null;
|
|
8
|
+
config: {
|
|
9
|
+
collectWebVitals: boolean;
|
|
10
|
+
collectResources: boolean;
|
|
11
|
+
threshold: number;
|
|
12
|
+
};
|
|
13
|
+
setup(e: any): void;
|
|
14
|
+
collectWebVitals(): void;
|
|
15
|
+
handlePerformanceEntry(e: any): void;
|
|
16
|
+
handleNavigationTiming(e: any): void;
|
|
17
|
+
collectResourceTiming(): void;
|
|
18
|
+
reportResourceTiming(): void;
|
|
19
|
+
addPageLoadBreadcrumb(): void;
|
|
20
|
+
getWebVitals(): {
|
|
21
|
+
ttfb: number;
|
|
22
|
+
fcp: number;
|
|
23
|
+
};
|
|
24
|
+
teardown(): void;
|
|
25
|
+
}
|
|
26
|
+
declare function i(s: any): o;
|
|
27
|
+
export { o as PerformancePlugin, i as createPerformancePlugin };
|
|
28
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../index.cjs"],"names":[],"mappings":";AAA4G;IAAQ,oBAA0K;IAAxJ,aAAuB;IAAC,gBAAoB;IAAC,UAAc;IAAC,qCAAkB;IAAC;;;;MAAwE;IAAC,oBAAwL;IAAA,yBAA0V;IAAA,qCAA2wB;IAAA,qCAAgX;IAAA,8BAAsL;IAAA,6BAAiY;IAAA,8BAAuS;IAAA;;;MAAkM;IAAA,iBAA0E;CAAC;AAAA,8BAA8B"}
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare class s {
|
|
2
|
+
constructor(e?: {});
|
|
3
|
+
name: string;
|
|
4
|
+
version: string;
|
|
5
|
+
core: any;
|
|
6
|
+
observer: PerformanceObserver | null;
|
|
7
|
+
config: {
|
|
8
|
+
collectWebVitals: boolean;
|
|
9
|
+
collectResources: boolean;
|
|
10
|
+
threshold: number;
|
|
11
|
+
};
|
|
12
|
+
setup(e: any): void;
|
|
13
|
+
collectWebVitals(): void;
|
|
14
|
+
handlePerformanceEntry(e: any): void;
|
|
15
|
+
handleNavigationTiming(e: any): void;
|
|
16
|
+
collectResourceTiming(): void;
|
|
17
|
+
reportResourceTiming(): void;
|
|
18
|
+
addPageLoadBreadcrumb(): void;
|
|
19
|
+
getWebVitals(): {
|
|
20
|
+
ttfb: number;
|
|
21
|
+
fcp: number;
|
|
22
|
+
};
|
|
23
|
+
teardown(): void;
|
|
24
|
+
}
|
|
25
|
+
declare function n(r: any): s;
|
|
26
|
+
export { s as PerformancePlugin, n as createPerformancePlugin, s as default };
|
|
27
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../index.mjs"],"names":[],"mappings":"AAAA;IACE,oBAOC;IANC,aAAyB;IAAE,gBAAsB;IAAE,UAAgB;IAAE,qCAAoB;IAAE;;;;MAK1F;IAKH,oBAEC;IAID,yBAiBC;IAID,qCA2CC;IAID,qCAoBC;IAID,8BAIC;IAID,6BAeC;IAID,8BAaC;IAID;;;MAOC;IAID,iBAEC;CACF;AACD,8BAEC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "error-monitor-plugin-perf",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Performance monitoring plugin for error-monitor-sdk",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"author": "",
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"error-monitor-core": "
|
|
21
|
+
"error-monitor-core": "^1.0.1"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"build": "vite build",
|