Skip to content

Commit

Permalink
Merge pull request #50 from annagrin/annagrin/fix_wipscope
Browse files Browse the repository at this point in the history
Use correct field when reading WipScope
  • Loading branch information
grouma authored Mar 3, 2020
2 parents ec1a64a + 71bcd3c commit 80d3fb6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# webkit_inspection_protocol.dart

## 0.5.0+1
- fixed a bug in reading type of `WipScope`

## 0.5.0
- removed the bin/multiplex.dart binary to the example/ directory
- remove dependencies on `package:args`, package:shelf`, and `package:shelf_web_socket`
Expand Down
2 changes: 1 addition & 1 deletion lib/src/debugger.dart
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class WipScope {
WipScope(this._map);

// "catch", "closure", "global", "local", "with"
String get scope => _map['scope'] as String;
String get scope => _map['type'] as String;

/// Object representing the scope. For global and with scopes it represents
/// the actual object; for the rest of the scopes, it is artificial transient
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: webkit_inspection_protocol
version: 0.5.0
version: 0.5.0+1
description: A client for the Chrome DevTools Protocol (previously called the Webkit Inspection Protocol).

homepage: https://github.com/google/webkit_inspection_protocol.dart
Expand Down

0 comments on commit 80d3fb6

Please sign in to comment.