@parca/profile 0.16.362 → 0.16.363

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/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.16.363](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.362...@parca/profile@0.16.363) (2024-05-01)
7
+
8
+ **Note:** Version bump only for package @parca/profile
9
+
6
10
  ## [0.16.362](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.361...@parca/profile@0.16.362) (2024-04-29)
7
11
 
8
12
  **Note:** Version bump only for package @parca/profile
package/dist/index.d.ts CHANGED
@@ -1,8 +1,6 @@
1
- import { QueryServiceClient } from '@parca/client';
2
1
  import type { Props as CallgraphProps } from '@parca/profile/src/Callgraph';
3
2
  import ProfileExplorer from './ProfileExplorer';
4
3
  import ProfileTypeSelector from './ProfileTypeSelector';
5
- import type { FlamegraphData, TopTableData } from './ProfileView';
6
4
  export * from './ProfileIcicleGraph/IcicleGraph';
7
5
  export * from './ProfileIcicleGraph';
8
6
  export * from './ProfileSource';
@@ -14,16 +12,3 @@ export * from './SourceView';
14
12
  export { default as Callgraph } from './Callgraph';
15
13
  export type { CallgraphProps };
16
14
  export { ProfileExplorer, ProfileTypeSelector };
17
- interface GrafanaParcaDataPayload {
18
- flamegraphData: FlamegraphData;
19
- topTableData: TopTableData;
20
- actions: {
21
- downloadPprof: () => void;
22
- getQueryClient: () => QueryServiceClient;
23
- };
24
- error?: undefined;
25
- }
26
- interface GrafanaParcaErrorPayload {
27
- error: Error;
28
- }
29
- export type GrafanaParcaData = GrafanaParcaErrorPayload | GrafanaParcaDataPayload;
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@parca/profile",
3
- "version": "0.16.362",
3
+ "version": "0.16.363",
4
4
  "description": "Profile viewing libraries",
5
5
  "dependencies": {
6
6
  "@parca/client": "^0.16.107",
7
- "@parca/components": "^0.16.267",
7
+ "@parca/components": "^0.16.268",
8
8
  "@parca/dynamicsize": "^0.16.61",
9
9
  "@parca/hooks": "^0.0.48",
10
10
  "@parca/parser": "^0.16.69",
@@ -50,5 +50,5 @@
50
50
  "access": "public",
51
51
  "registry": "https://registry.npmjs.org/"
52
52
  },
53
- "gitHead": "b9faf0a1236107753bda612b90d67c7d82e9583c"
53
+ "gitHead": "28b15f3a6d24e2e47913e38a8a76a1d5704887b1"
54
54
  }
package/src/index.tsx CHANGED
@@ -11,12 +11,10 @@
11
11
  // See the License for the specific language governing permissions and
12
12
  // limitations under the License.
13
13
 
14
- import {QueryServiceClient} from '@parca/client';
15
14
  import type {Props as CallgraphProps} from '@parca/profile/src/Callgraph';
16
15
 
17
16
  import ProfileExplorer from './ProfileExplorer';
18
17
  import ProfileTypeSelector from './ProfileTypeSelector';
19
- import type {FlamegraphData, TopTableData} from './ProfileView';
20
18
 
21
19
  export * from './ProfileIcicleGraph/IcicleGraph';
22
20
  export * from './ProfileIcicleGraph';
@@ -31,20 +29,3 @@ export {default as Callgraph} from './Callgraph';
31
29
  export type {CallgraphProps};
32
30
 
33
31
  export {ProfileExplorer, ProfileTypeSelector};
34
-
35
- // Leaving this in here due to lack of a better place to put it.
36
- interface GrafanaParcaDataPayload {
37
- flamegraphData: FlamegraphData;
38
- topTableData: TopTableData;
39
- actions: {
40
- downloadPprof: () => void;
41
- getQueryClient: () => QueryServiceClient;
42
- };
43
- error?: undefined;
44
- }
45
-
46
- interface GrafanaParcaErrorPayload {
47
- error: Error;
48
- }
49
-
50
- export type GrafanaParcaData = GrafanaParcaErrorPayload | GrafanaParcaDataPayload;