diff --git a/lib/src/discovery.dart b/lib/src/discovery.dart index 2dcf68a..b36dc6a 100644 --- a/lib/src/discovery.dart +++ b/lib/src/discovery.dart @@ -28,7 +28,7 @@ ResolvedBonsoirService bonsoirServiceFromFoundService( return ResolvedBonsoirService( name: resolvedService.serviceName, type: resolvedService.type, - ip: resolvedService.address, + host: resolvedService.address, port: resolvedService.port, attributes: Map.fromEntries(resolvedService.txt .map((e) => MapEntry(e.split("=").first, e.split("=").last)))); diff --git a/pubspec.yaml b/pubspec.yaml index 089e626..75c6253 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,7 +13,7 @@ dependencies: sdk: flutter dbus: ^0.7.1 meta: ^1.3.0 - bonsoir_platform_interface: ^2.0.0 + bonsoir_platform_interface: ^4.0.0