From 8523b7ed750a9bfea0cfa2253df3769c0e326656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kry=C5=A1tof=20Wold=C5=99ich?= <31292499+krystofwoldrich@users.noreply.github.com> Date: Tue, 6 Dec 2022 13:00:37 +0000 Subject: [PATCH 1/2] feat(api): Add `lastEventId` method --- CHANGELOG.md | 4 ++++ src/js/index.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e5659f9f67..9797e6bef0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Features + +- Add `lastEventId` method to the API ([#2647](https://github.com/getsentry/sentry-react-native/pull/2647)) + ### Dependencies - Bump Cocoa SDK from v7.31.2 to v7.31.3 ([#2647](https://github.com/getsentry/sentry-react-native/pull/2647)) diff --git a/src/js/index.ts b/src/js/index.ts index 3ac0c4db08..8c909fc0f8 100644 --- a/src/js/index.ts +++ b/src/js/index.ts @@ -48,6 +48,10 @@ export { withProfiler, } from '@sentry/react'; +export { + lastEventId, +} from '@sentry/browser'; + import * as Integrations from './integrations'; import { SDK_NAME, SDK_VERSION } from './version'; export { ReactNativeOptions } from './options'; From 40a1a6441b843a0650112f19e12dbdc7416296ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kry=C5=A1tof=20Wold=C5=99ich?= <31292499+krystofwoldrich@users.noreply.github.com> Date: Tue, 6 Dec 2022 13:03:35 +0000 Subject: [PATCH 2/2] Fix pr id --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9797e6bef0..4777b1620d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### Features -- Add `lastEventId` method to the API ([#2647](https://github.com/getsentry/sentry-react-native/pull/2647)) +- Add `lastEventId` method to the API ([#2675](https://github.com/getsentry/sentry-react-native/pull/2675)) ### Dependencies