@har-analyzer/components 0.0.5 → 0.0.9
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 +68 -17
- package/dist/chunks/content-type.js +31 -6594
- package/dist/chunks/har.js +43 -0
- package/dist/chunks/index.js +50 -13548
- package/dist/chunks/vertical-gap.js +5 -32
- package/dist/har-analyzer-preferences.d.ts +18 -0
- package/dist/har-analyzer-preferences.js +97 -0
- package/dist/har-analyzer.d.ts +4 -4
- package/dist/har-analyzer.js +94 -5980
- package/dist/har-content-viewer.d.ts +14 -0
- package/dist/har-content-viewer.js +150 -0
- package/dist/har-entries-filters.d.ts +23 -0
- package/dist/har-entries-filters.js +7 -0
- package/dist/har-entries-viewer.d.ts +10 -11
- package/dist/har-entries-viewer.js +2117 -5
- package/dist/har-entry-viewer.d.ts +7 -6
- package/dist/har-entry-viewer.js +1143 -3
- package/dist/har-file-uploader.d.ts +6 -3
- package/dist/har-file-uploader.js +73 -6
- package/dist/index.d.ts +49 -17
- package/dist/index.js +19 -8
- package/package.json +31 -26
- package/dist/assets/content-type.css +0 -1
- package/dist/assets/har-analyzer.css +0 -1
- package/dist/assets/index.css +0 -1
- package/dist/assets/index2.css +0 -1
- package/dist/assets/index3.css +0 -1
- package/dist/assets/index4.css +0 -1
- package/dist/assets/internal.css +0 -1
- package/dist/chunks/index2.js +0 -2059
- package/dist/chunks/index3.js +0 -1149
- package/dist/chunks/index4.js +0 -82
- package/dist/chunks/internal.js +0 -996
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Entry } from 'har-format';
|
|
2
|
+
import { Har } from 'har-format';
|
|
2
3
|
import { JSX } from 'react/jsx-runtime';
|
|
3
4
|
|
|
4
|
-
declare function getEntriesFromHAR(harContent?: Har)
|
|
5
|
-
return harContent?.log.entries || [];
|
|
6
|
-
}
|
|
5
|
+
declare function getEntriesFromHAR(harContent?: Har): Entry[];
|
|
7
6
|
|
|
8
7
|
declare type HAREntry = Omit<HAREntryWithoutError, 'response'> & {
|
|
9
|
-
|
|
8
|
+
response: HARResponseWithError;
|
|
10
9
|
};
|
|
11
10
|
|
|
12
11
|
declare function HAREntryViewer({ harEntry }: HAREntryViewerProps): JSX.Element;
|
|
@@ -18,6 +17,8 @@ declare interface HAREntryViewerProps {
|
|
|
18
17
|
|
|
19
18
|
declare type HAREntryWithoutError = ReturnType<typeof getEntriesFromHAR>[number];
|
|
20
19
|
|
|
21
|
-
declare type HARResponseWithError = HAREntryWithoutError['response'] & {
|
|
20
|
+
declare type HARResponseWithError = HAREntryWithoutError['response'] & {
|
|
21
|
+
_error?: string;
|
|
22
|
+
};
|
|
22
23
|
|
|
23
24
|
export { }
|