Skip to content

Commit 2609bf0

Browse files
authored
Update to latest vm service (#1083)
* update to latest vm service * rpc not supported
1 parent ebad718 commit 2609bf0

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

dwds/lib/src/services/chrome_proxy_service.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,14 @@ ${globalLoadStrategy.loadModuleSnippet}("dart_sdk").developer.invokeExtension(
859859
static Future<T> _rpcNotSupportedFuture<T>(String method) {
860860
return Future.error(_rpcNotSupported(method));
861861
}
862+
863+
@override
864+
Future<ProcessMemoryUsage> getProcessMemoryUsage() =>
865+
_rpcNotSupportedFuture('getProcessMemoryUsage');
866+
867+
@override
868+
Future<WebSocketTarget> getWebSocketTarget() =>
869+
_rpcNotSupportedFuture('getWebSocketTarget');
862870
}
863871

864872
/// The `type`s of [ConsoleAPIEvent]s that are treated as `stderr` logs.

dwds/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies:
3434
source_maps: ^0.10.0
3535
sse: ^3.5.0
3636
# We pin the version because we implement the interface.
37-
vm_service: 4.1.0
37+
vm_service: 4.2.0
3838
web_socket_channel: ^1.0.0
3939
webkit_inspection_protocol: ^0.7.3
4040

0 commit comments

Comments
 (0)