Merge pull request #42 from jakemac53/fix-remote-object-value
change the RemoteObject.value return type to Object
diff --git a/analysis_options.yaml b/analysis_options.yaml
index 2e6cdca..2477cd0 100644
--- a/analysis_options.yaml
+++ b/analysis_options.yaml
@@ -1 +1,3 @@
analyzer:
+ errors:
+ deprecated_member_use_from_same_package: ignore
diff --git a/changelog.md b/changelog.md
index a4ca4b3..3fffa01 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,8 @@
# webkit_inspection_protocol.dart
+## 0.4.0
+- Change the `RemoteObject.value` return type to `Object`.
+
## 0.3.6
- Expose the `target` domain and additional `runtime` domain calls
diff --git a/lib/src/runtime.dart b/lib/src/runtime.dart
index 52be94b..bc74da5 100644
--- a/lib/src/runtime.dart
+++ b/lib/src/runtime.dart
@@ -207,7 +207,7 @@
/// Remote object value in case of primitive values or JSON values (if it was
/// requested). (optional)
- String get value => _map['value'];
+ Object get value => _map['value'];
/// String representation of the object. (optional)
String get description => _map['description'];
diff --git a/pubspec.yaml b/pubspec.yaml
index 1e7b1ca..4e4c52f 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: webkit_inspection_protocol
-version: 0.3.6
+version: 0.4.0
description: A client for the Webkit Inspection Protocol (WIP).
homepage: https://github.com/google/webkit_inspection_protocol.dart