Skip to content

Commit

Permalink
Merge pull request #184 from atsign-foundation/show_hidden_keys
Browse files Browse the repository at this point in the history
feat: enhance scan to showHidden keys
  • Loading branch information
sitaram-kalluri authored Jun 27, 2022
2 parents 3d2193a + fad51d9 commit c11a12f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions at_lookup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 3.0.26
- Update at_commons version 3.0.18 to display hidden keys in scan
## 3.0.25
- Update at_commons version 3.0.17 for AtException hierarchy
## 3.0.24
Expand Down
8 changes: 6 additions & 2 deletions at_lookup/lib/src/at_lookup_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,15 @@ class AtLookupImpl implements AtLookUp {

@override
Future<List<String>> scan(
{String? regex, String? sharedBy, bool auth = true}) async {
{String? regex,
String? sharedBy,
bool auth = true,
bool showHiddenKeys = false}) async {
var builder = ScanVerbBuilder()
..sharedBy = sharedBy
..regex = regex
..auth = auth;
..auth = auth
..showHiddenKeys = showHiddenKeys;
var scanResult = await executeVerb(builder);
if (scanResult.isNotEmpty) {
scanResult = scanResult.replaceFirst('data:', '');
Expand Down
4 changes: 2 additions & 2 deletions at_lookup/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: at_lookup
description: A Dart library that contains the core commands that can be used with a secondary server (scan, update, lookup, llookup, plookup, etc.)
version: 3.0.25
version: 3.0.26
repository: https://github.com/atsign-foundation/at_libraries
homepage: https://atsign.dev

Expand All @@ -12,7 +12,7 @@ dependencies:
crypton: ^2.0.1
crypto: ^3.0.1
at_utils: ^3.0.10
at_commons: ^3.0.17
at_commons: ^3.0.18
mutex: ^3.0.0
mocktail: ^0.3.0

Expand Down

0 comments on commit c11a12f

Please sign in to comment.