diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c3dc79fd..1d24cb7a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ - Add SentryReplayQuality setting (`options.experimental.replay.quality`) ([#2582](https://github.com/getsentry/sentry-dart/pull/2582)) - SPM Support ([#2280](https://github.com/getsentry/sentry-dart/pull/2280)) +### Fixes + +- WASM compat for Drift ([#2580](https://github.com/getsentry/sentry-dart/pull/2580)) + ### Dependencies - Bump Native SDK from v0.7.17 to v0.7.18 ([#2578](https://github.com/getsentry/sentry-dart/pull/2578)) diff --git a/dart/lib/src/dart_exception_type_identifier.dart b/dart/lib/src/dart_exception_type_identifier.dart index 9be98c608..59fa6b3db 100644 --- a/dart/lib/src/dart_exception_type_identifier.dart +++ b/dart/lib/src/dart_exception_type_identifier.dart @@ -1,9 +1,11 @@ -import 'package:http/http.dart' show ClientException; import 'dart:async' show TimeoutException, AsyncError, DeferredLoadException; -import '../sentry.dart'; +import 'package:http/http.dart' show ClientException; + +import '../sentry.dart'; import 'dart_exception_type_identifier_io.dart' - if (dart.library.html) 'dart_exception_type_identifier_web.dart'; + if (dart.library.html) 'dart_exception_type_identifier_web.dart' + if (dart.library.js_interop) 'dart_exception_type_identifier_web.dart'; class DartExceptionTypeIdentifier implements ExceptionTypeIdentifier { @override