Skip to content

Commit 64ab7f6

Browse files
author
Luca Forstner
committed
rm unneeded tests
1 parent a2ca9b0 commit 64ab7f6

File tree

8 files changed

+7
-708
lines changed

8 files changed

+7
-708
lines changed

packages/core/src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ export {
4747
export { setAsyncContextStrategy } from './asyncContext';
4848
export { getMainCarrier } from './carrier';
4949
export { makeSession, closeSession, updateSession } from './session';
50-
// eslint-disable-next-line deprecation/deprecation
51-
export { SessionFlusher } from './sessionflusher';
5250
export { Scope } from './scope';
5351
export { notifyEventProcessors } from './eventProcessors';
5452
export { getEnvelopeEndpointWithUrlEncodedAuth, getReportDialogEndpoint } from './api';

packages/core/src/sessionflusher.ts

Lines changed: 0 additions & 124 deletions
This file was deleted.

packages/core/src/types-hoist/index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,6 @@ export type {
106106
Session,
107107
SessionContext,
108108
SessionStatus,
109-
// eslint-disable-next-line deprecation/deprecation
110-
RequestSession,
111-
// eslint-disable-next-line deprecation/deprecation
112-
RequestSessionStatus,
113-
// eslint-disable-next-line deprecation/deprecation
114-
SessionFlusherLike,
115109
SerializedSession,
116110
} from './session';
117111

packages/core/src/types-hoist/session.ts

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -54,27 +54,14 @@ export interface SessionAggregates {
5454
aggregates: Array<AggregationCounts>;
5555
}
5656

57-
/**
58-
* @deprecated This type is deprecated and will be removed in the next major version of the SDK.
59-
*/
60-
export interface SessionFlusherLike {
61-
/**
62-
* Increments the Session Status bucket in SessionAggregates Object corresponding to the status of the session
63-
* captured
64-
*/
65-
incrementSessionStatusCount(): void;
66-
67-
/** Empties Aggregate Buckets and Sends them to Transport Buffer */
68-
flush(): void;
69-
70-
/** Clears setInterval and calls flush */
71-
close(): void;
72-
}
73-
7457
export interface AggregationCounts {
58+
/** ISO Timestamp rounded to the second */
7559
started: string;
76-
errored?: number;
60+
/** Number of sessions that did not have errors */
7761
exited?: number;
62+
/** Number of sessions that had handled errors */
63+
errored?: number;
64+
/** Number of sessions that had unhandled errors */
7865
crashed?: number;
7966
}
8067

packages/core/test/lib/sessionflusher.test.ts

Lines changed: 0 additions & 129 deletions
This file was deleted.

0 commit comments

Comments
 (0)