favacli 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,14 +23,12 @@ class EntriesListCommand extends BaseListOutputCommand {
|
|
|
23
23
|
],
|
|
24
24
|
}); }
|
|
25
25
|
getList() {
|
|
26
|
-
let entries;
|
|
27
26
|
if (this.withTokens) {
|
|
28
|
-
|
|
27
|
+
return this.twoFaLib.vault.listEntriesMetas(true);
|
|
29
28
|
}
|
|
30
29
|
else {
|
|
31
|
-
|
|
30
|
+
return this.twoFaLib.vault.listEntriesMetas(false);
|
|
32
31
|
}
|
|
33
|
-
return entries;
|
|
34
32
|
}
|
|
35
33
|
}
|
|
36
34
|
export default EntriesListCommand;
|
|
@@ -28,14 +28,12 @@ class EntriesSearchCommand extends BaseListOutputCommand {
|
|
|
28
28
|
],
|
|
29
29
|
}); }
|
|
30
30
|
getList() {
|
|
31
|
-
let filteredEntries;
|
|
32
31
|
if (this.withTokens) {
|
|
33
|
-
|
|
32
|
+
return this.twoFaLib.vault.searchEntriesMetas(this.query, true);
|
|
34
33
|
}
|
|
35
34
|
else {
|
|
36
|
-
|
|
35
|
+
return this.twoFaLib.vault.searchEntriesMetas(this.query, false);
|
|
37
36
|
}
|
|
38
|
-
return filteredEntries;
|
|
39
37
|
}
|
|
40
38
|
}
|
|
41
39
|
export default EntriesSearchCommand;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "favacli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"bufferutil": "^4.0.8",
|
|
11
11
|
"clipanion": "^4.0.0-rc.4",
|
|
12
12
|
"env-paths": "^3.0.0",
|
|
13
|
-
"favalib": "^0.0.
|
|
13
|
+
"favalib": "^0.0.4",
|
|
14
14
|
"keytar": "^7.9.0",
|
|
15
15
|
"node-loader": "^2.0.0",
|
|
16
16
|
"ts-loader": "^9.5.1",
|