diff --git a/drift/lib/web/worker.dart b/drift/lib/web/worker.dart index d59a664f..510055c2 100644 --- a/drift/lib/web/worker.dart +++ b/drift/lib/web/worker.dart @@ -182,7 +182,7 @@ Future connectToDriftWorker(String workerJsUri, )); } - return connectToRemoteAndInitialize(channel, debugLog: true); + return connectToRemoteAndInitialize(channel); } class _RunningDriftWorker { diff --git a/examples/web_worker_example/pubspec.yaml b/examples/web_worker_example/pubspec.yaml index 77bdb2fc..18c689f8 100644 --- a/examples/web_worker_example/pubspec.yaml +++ b/examples/web_worker_example/pubspec.yaml @@ -13,6 +13,6 @@ dependencies: dev_dependencies: build_runner: ^2.1.11 - build_web_compilers: ^3.2.3 + build_web_compilers: ^4.0.0 lints: ^2.0.0 drift_dev: