Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enhance scan to showHidden keys #184

Merged
merged 1 commit into from
Jun 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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