faces-cli 1.6.8 → 1.6.9
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.
|
@@ -17,7 +17,7 @@ export default class CompileStats extends BaseCommand {
|
|
|
17
17
|
this.error(`Error (${err.statusCode}): ${err.message}`);
|
|
18
18
|
throw err;
|
|
19
19
|
}
|
|
20
|
-
// Rename
|
|
20
|
+
// Rename fields for clarity
|
|
21
21
|
const resp = data;
|
|
22
22
|
if (Array.isArray(resp.faces)) {
|
|
23
23
|
for (const f of resp.faces) {
|
|
@@ -25,6 +25,15 @@ export default class CompileStats extends BaseCommand {
|
|
|
25
25
|
f.alias = f.face_id;
|
|
26
26
|
delete f.face_id;
|
|
27
27
|
}
|
|
28
|
+
if (f.tokens_in_graph !== undefined) {
|
|
29
|
+
f.tokens_compiled_current = f.tokens_in_graph;
|
|
30
|
+
delete f.tokens_in_graph;
|
|
31
|
+
}
|
|
32
|
+
if (f.tokens_charged_alltime !== undefined) {
|
|
33
|
+
f.tokens_compiled_alltime = f.tokens_charged_alltime;
|
|
34
|
+
delete f.tokens_charged_alltime;
|
|
35
|
+
}
|
|
36
|
+
delete f.tokens_charged_period;
|
|
28
37
|
}
|
|
29
38
|
}
|
|
30
39
|
if (!this.jsonEnabled())
|
package/oclif.manifest.json
CHANGED