Skip to content

Commit 0addd6b

Browse files
authored
Merge pull request #8335 from getsentry/prepare-release/7.55.2
meta(changelog): Update changelog for 7.55.2
2 parents b356ca9 + c4241eb commit 0addd6b

File tree

6 files changed

+20
-4
lines changed

6 files changed

+20
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66

7+
## 7.55.2
8+
9+
- fix(replay): Stop exporting `EventType` from `@sentry-internal/rrweb` (#8334)
10+
- fix(serverless): Export captureCheckIn (#8333)
11+
712
## 7.55.1
813

914
- fix(replay): Do not export types from `@sentry-internal/rrweb` (#8329)

packages/replay/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export { Replay } from './integration';
22
export type {
3+
EventType,
34
eventWithTime,
45
BreadcrumbFrame,
56
BreadcrumbFrameEvent,

packages/replay/src/types/replayFrame.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import type { EventType } from '@sentry-internal/rrweb';
21
import type { Breadcrumb } from '@sentry/types';
32

43
import type {
@@ -10,6 +9,7 @@ import type {
109
PaintData,
1110
ResourceData,
1211
} from './performance';
12+
import type { EventType } from './rrweb';
1313

1414
interface BaseBreadcrumbFrame {
1515
timestamp: number;

packages/replay/src/types/rrweb.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
/* eslint-disable @typescript-eslint/naming-convention */
22

3-
import type { EventType } from '@sentry-internal/rrweb';
4-
53
type blockClass = string | RegExp;
64
type maskTextClass = string | RegExp;
75

6+
/** Duplicate this from @sentry-internal/rrweb so we can export this as well. */
7+
export enum EventType {
8+
DomContentLoaded = 0,
9+
Load = 1,
10+
FullSnapshot = 2,
11+
IncrementalSnapshot = 3,
12+
Meta = 4,
13+
Custom = 5,
14+
Plugin = 6,
15+
}
16+
817
/**
918
* This is a partial copy of rrweb's eventWithTime type which only contains the properties
1019
* we specifcally need in the SDK.

packages/replay/test/integration/beforeAddRecordingEvent.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import type { EventType } from '@sentry-internal/rrweb';
21
import * as SentryCore from '@sentry/core';
32
import type { Transport } from '@sentry/types';
43
import * as SentryUtils from '@sentry/utils';
54

65
import type { Replay } from '../../src';
76
import type { ReplayContainer } from '../../src/replay';
87
import { clearSession } from '../../src/session/clearSession';
8+
import type { EventType } from '../../src/types';
99
import * as SendReplayRequest from '../../src/util/sendReplayRequest';
1010
import { BASE_TIMESTAMP, mockRrweb, mockSdk } from '../index';
1111
import { useFakeTimers } from '../utils/use-fake-timers';

packages/serverless/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export {
1818
captureEvent,
1919
captureException,
2020
captureMessage,
21+
captureCheckIn,
2122
configureScope,
2223
createTransport,
2324
getActiveTransaction,

0 commit comments

Comments
 (0)